Apache Redirect within public_html (~username)

Michael Torrie torriem at gmail.com
Fri Apr 30 10:35:02 MDT 2010


On 04/30/2010 10:32 AM, William Attwood wrote:
> RewriteEngine On
> RewriteCond %{HTTP_HOST} ^domain.com
> RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
> 
> 
> that's one sample, another:
> RewriteRule ^pagename.html /newpagename.html [R=301,L]

How would the rule look within the context of ~torriem?  Do I just have
to make the pattern include ~torriem/pagename.html?



More information about the PLUG mailing list