|
|
|
|
||||||
| comp.info.servers.unix Web servers for UNIX platforms. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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. Any ideas? Michael Gordon -- Quidquid latine dictum sit, altum viditur. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
* 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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
=?ISO-8859-1?Q?Andr=E9?= Malo <auch-ich-m@g-kein-spam.com> writes:
>[PT]. Thanks. Now that I know what this flag does, the description of it in the mod_rewrite manual makes a bit more sense. Am I right in thinking that in this case it ensures that mod_user sees something it can rewrite rather than whatever it sees without [PT]? What does it see without [PT] anyway? Michael -- Quidquid latine dictum sit, altum viditur. |
|
![]() |
| Outils de la discussion | |
|
|