httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alberto García Gómez <albe...@ipimtzcm.rimed.cu>
Subject [users@httpd] FROM httpd.conf TO .htaccess
Date Wed, 16 Apr 2008 06:09:43 GMT
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


Mime
View raw message