Afficher un message
Vieux 14/02/2005, 05h37   #2
André Malo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Rewriting /foo to /~user/foo

* Michael F Gordon <mfg@ee.ed.ac.uk> wrote:

> Server: Apache on Solaris
>
> We have a user who wants to run a low-traffic WIKI from their home
> directory. I've set up a virtual host wiki.domain.name with
> DocumentRoot set to /home/user/public_html/wiki to hide the /~user/
> part, but this makes the server run the scripts as the web server user
> rather than the user whose directory the scripts are in. I thought
> about using mod_rewrite to put /~user/wiki back - accessing the scripts
> with this URL gets them run as the user as expected - but I can't see
> any way to get the server to reinterpret the result of a rewrite.
> Adding [R] to the rule to make it send a redirect works but exposes
> /~user/wiki again.


[PT].

nd
  Réponse avec citation
 
Page generated in 0,05653 seconds with 9 queries