Hi,
I have some problems with my htaccess file.
I use the mod_rewrite for my website, but my htaccess seems to create a internal server error.
I've add my htaccess file to the htaccess file who was in my "public_html" folder,
And here is my log
Could you help me ?
thank's a lot
/J
ps:i'm really sorry for my bad english.
I have some problems with my htaccess file.
I use the mod_rewrite for my website, but my htaccess seems to create a internal server error.
I've add my htaccess file to the htaccess file who was in my "public_html" folder,
Code:
RewriteEngine on
RewriteRule ^favicon\.ico$ favicon.ico [L]
RewriteRule ^search\.html$ index.php?module=search [L]
RewriteRule ^modules/(.*)$ index.php [L]
RewriteRule ^down/(.*)$ $0 [L]
RewriteRule ^thumbs\.php(.*)$ modules/upload/$0 [L]
RewriteRule ^libs/(.*)$ $0 [L]
RewriteRule ^img/(.*)$ $0 [L]
RewriteRule ^includes/(.*)$ $0 [L]
RewriteRule ^style\.css$ $0 [L]
RewriteRule ^([a-zA-Z]+)/?(/([a-zA-Z]+)(_([0-9a-zA-Z-|]+))?\.html?)?$ index.php?module=$1&action=$3&options=$5 [L]
RewriteRule ^.*$ index.php [L]
And here is my log
Code:
[Fri Sep 28 04:08:31 2007] [alert] [client 83.114.194.18] /home/soslinux/public_html/.htaccess: RewriteRule: cannot compile regular expression '^([a-zA-Z]+)/?(/([a-zA-Z]+)(_([0-9a-zA-Z-|]+))?\\.html?)?$'\n
Could you help me ?
thank's a lot
/J
ps:i'm really sorry for my bad english.
Last edited: