Free Software Server Environment : ModRewrite

HomePage :: Categories :: PageIndex :: RecentChanges


Search this site: FSSE.INFO is produced by "osde8info" :

Revision [506]

Most recent edit made on 2008-05-06 06:34:38 by FsseInfo

Additions:


Deletions:




Revision [505]

Edited on 2008-05-06 06:29:32 by FsseInfo

Additions:

mod_rewrite

mod rewrite logging
apache 2.2 has mod rewrite logging
RewriteLogLevel
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.
RewriteLogLevel 5

RewriteLog
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





Revision [489]

Edited on 2008-05-01 17:50:48 by FsseInfo

Additions:
mod_rewrite
Once mod_rewrite is enabled and if AllowOveride is on then you can use .htaccess files in each subdirectory to overide the default global settings and thereby enable local mod_rewrite directives




Revision [360]

Edited on 2007-03-01 12:02:42 by FsseInfo

Additions:

REFERRERS
ApacheModules
ModRewrite




Revision [255]

Edited on 2006-11-24 09:33:38 by FsseInfo

Additions:

mod_rewrite

See HtAccess


Deletions:

mod_rewrite





Revision [52]

Edited on 2006-06-21 07:09:38 by FsseInfo

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
AllowOverride None

to
AllowOverride All

Order allow,deny
Allow from all
</Directory>

save the file and then
# service httpd restart




Revision [49]

The oldest known version of this page was edited on 2006-06-21 07:04:09 by FsseInfo

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
AllowOverride None

to
AllowOverride All


Order allow,deny
Allow from all

</Directory>

save the file and then
# service httpd restart
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0385 seconds