httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [users@httpd] Serve /var/www and public_html
Date Thu, 08 Jun 2006 06:39:51 GMT
Running Gentoo linux

What I am trying to do is probably pretty common but I am having some
confusion getting it working.

My aim is to run a lan wide site at /var/www and use 
/home/MYUSER/public_html for experimenting with getting some cgi stuff

It seems I can get one or the other to work with full execution of cgi
but not both.  I'm not sure what the main factor is but I kind of
think it might be setting the ScriptAlias.

I want to be able to execute cgi anywhere under /var/www/localhost/
and anywhere under /home/MYUSER/public_html.

That is, to have apache know about /var/www/localhost/cgi-bin/
but still run cgi at /home/MYUSER/public_html/exp/some.cgi and

In the various setups I've created and tried one of two things has

1) apache doesn't know about /var/www/localhost/cgi-bin and fails to
   find it at
But I have full use of


2) is findable and cgi under it and
   execute just fine

   But is just displayed as a

How can I get both things to work as I'd like? 

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