Sysadmin Tips
  • Home
    • Clients
    • Servers
    • Active Directory
    • Home and Media
    • Simple How Tos
    • Clients
    • Servers
  • Mac OS X
    • Cloud
    • Web and Network
    • Mobile Devices
    • Reviews and Tutorials
    • Programming
    • Android apps
    • Cars
    • Cycling
    • Contact
    • Useful Tools
    • WOL Online Tool
    • WOL Desktop Tool
    • Fuel Converter
    • Fuel Calculator
    • Custom Text Button
Sysadmin Tips

Check your Joomla site for vulnerabilities

OWASP Joomla! Security Scanner is a great security tool to check your Joomla! website for known vulnerabilities and other security issues and be one step ahead of hackers. This tool uses Perl so you need to have it installed on your machine. Most of Linux distributions have it preinstalled.

  • Download Joomscan from sourceforge.net (recommended for latest version) or here.
  • Extract files and upload to your Linux box.
  • Navigate to joomscan-latest
  • run ./joomscan.pl update to update local vulnerabilities database
  • run ./joomscan.pl -u www.yoursite.com -ot
    This will run vulnerabilities scan and save report in joomscan-latest/report folder
  • For other options and commands run ./joomscan.pl

Read more: Check your Joomla site for vulnerabilities

Replace directory using mod_rewrite redirect in .htaccess

Apache

Following rule will replace old-directory with new-directory in your website's URL. Add this to .htaccess file.


Options +FollowSymLinks
RewriteEngine On
RewriteRule ^old-directory(.*)$ http://www.yourdomain.com/new-directory$1 [l,r=301,nc]

Syntax:

rewriterule - defines rewrite rule
^ - start matching
(.*) - match and remember everything
$ - end matching
$1 - append original URL part captured in (.*)
l - last rule (only omit in linked rules)
r=301 - redirect using 301 response (permanent redirect)
[nc] - non case sensitive

Read more: Replace directory using mod_rewrite redirect in .htaccess

Add www to all URL's on Apach website (.htaccess mod_rewrite)

Following rewrite rule will add www to all URL's on your website in case a visitor didn't type www or followed a link without www. Add this to your .htaccess file:


Options +FollowSymLinks
RewriteEngine On
rewritecond %{HTTP_HOST} ^yourdomain.com$ [nc]
rewriterule ^(.*)$ http://www.yourdomain.com/$1 [l,r=301,nc]

Read more: Add www to all URL's on Apach website (.htaccess mod_rewrite)

HTML paragraph double spacing in Internet Explorer

Spacing between lines separated by Paragraph tag <p></p> is much wider in Internet Explorer (comparing to Firefox, Chrome or Safari).

Resolved by adding following code to .css file:


p {
     margin:  0 0 1em 0;
     padding:  0;
}

 

Read more: HTML paragraph double spacing in Internet Explorer

  1. Google Maps API v3 - Polygons not appear in Internet Explorer
  2. Website goes dark on mouse click in IE
  3. Joomla - Increase search box limit
  4. Edit or remove "Powered by Phoca Guestbook" back-link
  5. Disable and redirect Joomla "User Profile" page
  6. Remove plain text passwords from Joomla registration emails
  7. Modify or remove "Powered by Kunena Forum" credit links
  8. Joomla - JUser: :_load: Unable to load user with ID: 62
  9. Redirect "component/content/?view=featured" to your home page
  10. Joomla - add separator between articles on front page

Page 16 of 25

  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
Privacy Policy