Lars Gullik Bjønnes wrote:
> | 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.
> 
> That must be caused by something else.

Ok, I added a index.php file to the help/directory. The browser now loads
the page when pointed to
     http://www.devel.lyx.org/~leeming/www-user/help/

It ignores help/.htaccess totally.

[EMAIL PROTECTED]:www-user->ls -al help
total 6
drwxrwxr-x    2 leeming  leeming      1024 Mar 23 13:00 .
drwxrwxr-x   14 leeming  leeming      1024 Mar 23 12:32 ..
-rw-rw-r--    1 leeming  leeming        73 Mar 23 11:31 .htaccess
-rw-rw-r--    1 leeming  leeming        93 Mar 23 12:54 end.php
-rw-rw-r--    1 leeming  leeming       975 Mar 23 12:59 index.php
-rw-rw-r--    1 leeming  leeming       533 Mar 23 12:54 start.php

[EMAIL PROTECTED]:www-user->cat help/.htaccess
redirectmatch permanent (.*) http://www.texnik.de/

(Syntax identical to that described here:
 http://www.webmasterworld.com/forum92/439.htm)

Is RedirectMatch an allowable command in .htaccess? Hmmm. It appears so
    http://httpd.apache.org/docs-2.1/en/mod/mod_alias.html#redirectmatch

Any ideas?

-- 
Angus

Reply via email to