httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sagara Wijetunga <>
Subject [users@httpd] Secure Apache VirtualHost and suEXEC Support
Date Tue, 22 Jul 2003 08:53:18 GMT
Secure Apache VirtualHost and suEXEC Support

I need to implement a Secure Apache Virtual Hosts on a
single server running Linux 2.4 and Apache 2. This
further requires for me to provide CGI facility with
database support.

Since Apache’s normal mode of operation with CGI
support is not safe in a multi-user environment, I
have considered Apache with suEXEC support.

I read the suEXEC Support documentation
( and I
have following queries with suEXEC Support:

1.	Is there a way to specify the Virtual Host Root and
its DocumentRoot separately for a particular Virtual
Virtual Host Root1: /var/websites/
Its DocumentRoot: /var/websites/

Virtual Host Root2: /var/websites/
Its DocumentRoot: /var/websites/

2.	Is it possible to keep the cgi-bin directory for a
particular Virtual Host under its Virtual Host Root,
but NOT under its DocumentRoot?
Virtual Host Root:  /var/websites/
Its DocumentRoot: /var/websites/
Its Cgi-bin Root:   

3.	Is it possible to restrict the scope for CGI
scripts to read resources (eg. Files) ONLY from any
directory under its Virtual Host Root, but NOT above
its Virtual Host Root? 

An early reply is very much appreciated. 

Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message