Lars Gullik Bjønnes wrote:
> | Lars, could you adjust the Apache config file so that a request for
> |     http://www.lyx.org/help/*
> | sends the requester to
> |     http://www.texnik.de/
> 
> I would prefere not to.
> Can it be resolved with .htaccess or a redirect.php file?
> 
> | I guess that this would do the trick:
> | RedirectMatch permanent http://www.lyx.org/help/.*
> | http://www.texnik.de/
> 
> try to put this in a .htaccess file.

http://httpd.apache.org/docs/howto/htaccess.html#when

suggests that .htaccess files are a bad idea for this. Anyway,

Adding a directory public_html/www-user/help () and adding a file .htaccess
containing the above command and then trying to access it through:
    http://www.devel.lyx.org/~leeming/www-user/help/
results in
    You don't have permission to access /~leeming/www-user/help/ on this
server.

-- 
Angus

Reply via email to