mod_rewrite installed?
Posted: Fri Nov 30, 2007 11:34 pm
Edit: I am quite sure it's mod_rewrite not properly installed or loaded as I just tried some working .htaccess files and they are not working either...I'm going to reboot my system not just the server and see if that makes a difference...&^Q#%%$^
I have searched Google and treied the following:
First I checked the debian mods-enabled directory. Nothing there, so i install it using:
I follow that with the force-reload switch
Then I restart Apache.
I try again using this rewrite code:
proxy.php exists but proxy.html doesn't. When I enter:
I get a friggen 404.
The .htaccess file resides inside the 'uploads' directory as does the 'proxy.php' file.
How do I confirm whether mod_rewrite is working? It's available in the mods-enabled directory what more do I have to do...
I have searched Google and treied the following:
First I checked the debian mods-enabled directory. Nothing there, so i install it using:
Code: Select all
a2enmod rewriteThen I restart Apache.
I try again using this rewrite code:
Code: Select all
RewriteEngine on
RewriteRule proxy.html proxy.phpCode: Select all
http://192.168.1.103/myprog/uploads/proxy.htmlThe .htaccess file resides inside the 'uploads' directory as does the 'proxy.php' file.
How do I confirm whether mod_rewrite is working? It's available in the mods-enabled directory what more do I have to do...