httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject Re: [users@httpd] mod_rewrite rule
Date Wed, 05 Nov 2008 01:21:39 GMT
On Tue, Nov 4, 2008 at 4:16 PM, Seb <spluque@gmail.com> wrote:
> Hi,
>
> I'm having trouble specifying a seemingly very simple rewrite rule in
> .htaccess, where I simply want to redirect from say
> http://some.host.com/path to http://some.host.com/Path, and any
> subdirectories of course.  I thought this would do it:
>
> RewriteRule  ^path(.*)$  /Path$1  [last]
>
> but it doesn't.  Any help would be appreciated.


What does it do?  Can you enable the RewriteLog?  Do you have
RewriteEngine on? Are your htaccess files being read (AllowOverride
none)

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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