mod_rewrite set-up and debugging linux ubuntu apache2 |
|
|
|
Written by Zack MIlls
|
Thursday, 05 November 2009 10:42 |
You need to first find where "mod_rewrite.so" is using
find -name "mod_rewrite.so"
You will get a path now you can use the path you got to add a line in your "httpd.conf" and make sure this line exists and is un-commented by removing any leading "#"
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
If you do not get any errors and can use this line in your ".htaccess" file you one of your websites.
## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
#
# mod_rewrite in use
RewriteEngine On
|
Last Updated on Thursday, 05 November 2009 10:50 |