Forum Moderators: phranque
I checked Apache's (2.0.53) .conf file to see if the module was on:
LoadModule rewrite_module modules/mod_rewrite.so It was only commented out with the #. I deleted that and restarted Apache.
I threw in the .htaccess with some rewrites that were working just fine on a remote LAMP machine of mine, but for some reason it won't run on my WIN32 box... I have a feeling it's ignoring the .conf but I just don't know what to do.
Anyone?
If it is in .htaccess you might have to make sure you have Allowoverride [httpd.apache.org] enabled for that directory and that your per-directory files are named correctly.
I'm not a pro at messing around under the hood with Apache.
Wouldn't turning on the rewrite_module enable rewrites for the entire server?
This is what I have in the .htaccess:
RewriteEngine OnRewriteRule ^([A-Za-z_]*)$ $1.php
RewriteRule ^connexion_er_system$ connexion_er_system.php?er=1
ErrorDocument 404 pq2/404.php
If that's not the case, the AllowOveride documentation is a bit confusing to me. Does the AllowOveride go into the .htaccess or the .conf or what?
htaccess fails to work, could something be wrong? [webmasterworld.com]
apache set up problem? mod rewrite [webmasterworld.com]