Showing posts with label apache security. Show all posts
Showing posts with label apache security. Show all posts

Friday, January 12, 2018

Apache : Redirect Root URL to Subfolder

Solution : RewriteEngine on RewriteCond %{REQUEST_URI} ^/$ RewriteRule (.*) /mysubfolder/ [R=301] RewriteEngine on is used to specify to Apache that this site will use Rewrite rules to transform the URL RewriteCond is the match part of the pattern. If the URL matches this pattern then RewriteRule will be applied. This particular pattern is checking if the requested URL path is equal to /. RewriteRule...

Thursday, February 24, 2011

ModSecurity - Centos 5.X

ModSecurity is an open source web application firewall (WAF) engine for Apache that is developed by Trustwave's SpiderLabs. It has a robust event-based programming language which provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis. With over 10,000 deployments world-wide, ModSecurity is the most widely deployed...