httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Seb <splu...@gmail.com>
Subject [users@httpd] Re: mod_rewrite rule
Date Tue, 04 Nov 2008 21:35:36 GMT
On Tue, 04 Nov 2008 15:16:47 -0600,
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]

Should've been clearer.  I meant the requested URI is
http://some.host.com/~user/path, and the desired redirection should be
to http://some.host.com/~user/Path.  The .htaccess resides in the user
public directory, of course.


-- 
Seb


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