FROM httpd.conf TO .htaccess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 access (or 
change) the server httpd.conf file

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]

What I need to do is put this redirection in the .htaccess file instead the httpd.conf file

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux