Re: cgi-bin works with IP but not domain name
On Mon, 08 Nov 2010 06:13:26 -0500, Zachary Uram wrote:
> Some more info. I looked at my access.log for oggthebase.org.
>
> When I went to http://www.oggthebase.org/cgi-bin/awstats.pl it
> generated:
>
> [Mon Nov 08 10:56:52 2010] [error] [client 72.0.209.165] File does not
> exist: /var/www/oggthebase.org/cgi-bin
>
> So it is going to /var/www/oggthebase.org/cgi-bin
>
> I do *not* want to have a special cgi-bin for each vhost. I only want it
> to use the system's /usr/lib/cgi-bin
>
> How can I make this happen?
I prefer keeping a different/isolated "/cgi-bin" for each apache vhost,
is kind a security measure and to avoid messing up things (users and
perms).
For shared addon services (phpmyadmin, awstats/webalizer...) I still keep
all the stuff inside "/var/www/".
Greetings,
--
Camaleón
Reply to: