Additions:
Deletions:
Additions:
mod_rewrite
mod rewrite logging
apache 2.2 has mod rewrite logging
The
RewriteLogLevel directive sets the verbosity level of the rewriting logfile.
The default level 0 means no logging, while 9 or more means that practically all actions are logged.
The
RewriteLog directive sets the name of the file to which the server logs any rewriting actions it performs.
If the name does not begin with a slash ('/') then it is assumed to be relative to the Server Root.
The directive should occur only once per server config.
RewriteLog "/var/log/apache/logs/rewrite.log"
Deletions:
mod_rewrite
Additions:
Additions:
Additions:
Deletions:
mod_rewrite
Additions:
Assuming mod_rewrite is loaded and enabled then you need to change the global default "
AllowOveride" setting in order for Apache
Deletions:
Assuming mod_rewrite is loaded and enabled then you need to change the deafult "
AllowOveride" setting in order for Apache
# vi /etc/httpd/conf/httpd.conf
and find the section beginning
<Directory "/var/www/html">
Options Indexes FollowSymLinks
change
to
Order allow,deny
Allow from all
</Directory>
save the file and then
mod_rewrite
Assuming mod_rewrite is loaded and enabled then you need to change the deafult "
AllowOveride" setting in order for Apache
to take notice of any .htaccess directives in the default /var/www/html website
# vi /etc/httpd/conf/httpd.conf
and find the section beginning
<Directory "/var/www/html">
Options Indexes FollowSymLinks
change
to
Order allow,deny
Allow from all
</Directory>
save the file and then