Re: FROM httpd.conf TO .htaccess

From: Date: Thu, 17 Apr 2008 14:54:46 +0000
Subject: Re: FROM httpd.conf TO .htaccess
Groups: php.general 
Request: Send a blank email to php-general+get-273181@lists.php.net to get a copy of this message
---- "Alberto García Gómez" <alberto@ipimtzcm.rimed.cu> wrote: > 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 Where's your PHP code that you are having an issue with? Sure, some of us use apache, but this is a PHP list afterall. What happened when you just pasted the above lines into .htaccess?

« previous php.general (#273181) next »