Apache Redirect within public_html (~username)

Scott Edwards supadupa at gmail.com
Fri Apr 30 10:42:37 MDT 2010


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

With rewritebase.  try junk in the .htaccess to make sure it throws a
500.  This simple test will ensure your .htaccess is even being used.

1.3 http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html#RewriteBase
2.x http://httpd.apache.org/docs/trunk/mod/mod_rewrite.html#rewritebase

If you do not get a 500 as a result of junk in your .htaccess, see
http://httpd.apache.org/docs/trunk/mod/directive-dict.html#Override to
use an allowoverride which permits specific directives in .htaccess


Scott.


More information about the PLUG mailing list