httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Cahagne <>
Subject suEXEC and Alias with 1.3: bug or feature ?
Date Tue, 17 Oct 2000 20:59:50 GMT

I'd like to know if it's possible to use suEXEC with the Alias feature 
of Apache 1.3 (1.3.14 as of now).
I checked Apache source code (mainly suexec.c) but I am not an expert 
neither so I'd like a confirmation whether it's possible or not.

Here's the setup we've been running for 3 years now (and regularly 
updated with 1.2.x then 1.3.x):
Apache is compiled with suEXEC enabled to run CGI scripts with the user 
id it belongs to.
The server runs under user nobody.

If I setup an alias in Apache httpd.conf as :

Alias /foo /home/users/foo/www

Every page called from is loaded from /home/users/foo/www.

But every CGI script called from will run under user 
nobody, not under user foo.
This is strange because the same script called from 
will run under user foo as expected (suEXEC running fine).
There does not seem to any reverse Alias thing.

I searched for a similar thing on Apache's mailing-list, and 
the bug reports but didn't find anything.
I already asked this in comp.infosystems.www.servers.unix but got no 
answer from an Apache developer:
I preferred to talk about this here before submitting a "bug" report.


View raw message