httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James.B.M...@Hitchcock.ORG (James B. Muir)
Subject Re: [users@httpd] Alternate cgi-bin
Date Tue, 22 Apr 2003 12:11:22 GMT
How about adding a virtual host directive to httpd.conf, such as:

<VirtualHost www.myhost.com>

<Directory /usr/local/apache/htdocs-ncsdtest/cgi-bin>
        Options +ExecCGI
</Directory>

</VirtualHost>

You'll also probably want to add other directives to the virtual host.
-James

--- You wrote:
I have the public_html version working and the standard apache location working, but cannot
get a virtual host cgi-bin working.  Still keeps looking in /usr/local/apache/cgi-bin instead
of virtual site.  Must be missing something simple.

<IfModule mod_userdir.c>
    UserDir public_html
</IfModule>

<Directory /home/*/public_html/cgi-bin>
        Options +ExecCGI
</Directory>

<Directory /usr/local/apache/htdocs-ncsdtest/cgi-bin>
        Options +ExecCGI
</Directory>

<Directory /usr/local/apache/cgi-bin>
        Options +ExecCGI
</Directory>

Thanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Duane L. Morris

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
--- end of quote ---


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message