Please my friend, can you be more specifyc...I mean how the code will look.

Thanks and Regards.

----- Original Message ----- From: "Eric Covener" <[EMAIL PROTECTED]>
To: <users@httpd.apache.org>
Sent: Monday, July 28, 2008 7:40 PM
Subject: [***SPAM*** Score/Req: 18.0/5.0] Re: [EMAIL PROTECTED] .htaccess Redirection


On Mon, Jul 28, 2008 at 5:52 PM, Alberto García Gómez
<[EMAIL PROTECTED]> wrote:
I had this conf in my httpd.conf, in the VirtualDirectory of one website:

RewriteEngine On
RewriteLogLevel 9
RewriteRule ^/.*\.html$ /index.php?$1 [L]
RewriteRule ^/.*\.htm$ /index.php?$1 [L]

And I need to create a .htaccess file to work identical. I had try but
nothing work :-(

Add an appropriate RewriteBase
Strip off "^/.*" from your rules
Figure out if you want to rewrite to "/index.php" or "index.php" (of
if this goes in documentroot, just drop the /)

--
Eric Covener
[EMAIL PROTECTED]

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to