mod_rewrite compile error
Posted: 28. May 2004 10:11
Hi,
How do I activate mod_rewrite on Apache? I'm having problems with URL rewrites in .htaccess file. I keep getting Internal Server Error (500) while trying to access any page. The Apache (v2.0.49) error.log file says:
which corresponds with the RewriteRule in .htaccess:
To get there I uncommented
The regular expression should be fine, as it's a part of CPG-Nuke code. How do I work this out?
The server I'm running is the XAMPP v1.42 configuration.
Help?
How do I activate mod_rewrite on Apache? I'm having problems with URL rewrites in .htaccess file. I keep getting Internal Server Error (500) while trying to access any page. The Apache (v2.0.49) error.log file says:
[alert] [client 127.0.0.1] C:/Webs/xampp/htdocs/cpg-nuke_cvs/html/.htaccess: RewriteRule: cannot compile regular expression '^([a-zA-Z0-9_=+-\\%]*)\\.html'
which corresponds with the RewriteRule in .htaccess:
- Code: Select all
RewriteRule ^([a-zA-Z0-9_=+-\%]*)\.html index.php?name=$1
To get there I uncommented
- Code: Select all
LoadModule rewrite_module modules/mod_rewrite.so
[alert] [client 127.0.0.1] C:/Webs/xampp/htdocs/cpg-nuke_cvs/html/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration
The regular expression should be fine, as it's a part of CPG-Nuke code. How do I work this out?
The server I'm running is the XAMPP v1.42 configuration.
Help?