You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Alberto García Gómez <al...@ipimtzcm.rimed.cu> on 2008/04/16 08:09:43 UTC

[users@httpd] FROM httpd.conf TO .htaccess

Fellows, I need to change this configuration from my httpd.conf file to an 
.htacces file so my scripts can work in any apache without having acces (or 
change) the server httpd.conf

Here's the piece of the httpd.conf

RewriteEngine On

RewriteLogLevel 9

RewriteLog logs/server.com-rewrite_log

RewriteRule ^/(.*\.html)$ /index.php?$1 [L]

RewriteRule ^/(.*\.htm)$ /index.php?$1 [L]



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org