httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rea...@newsguy.com
Subject [users@httpd] Re: Serve /var/www and public_html
Date Fri, 09 Jun 2006 18:46:28 GMT
"David Salisbury" <salisbury@globe.gov> writes:

>> Will a default setup allow me to fire cgi in these places:
>>
>> /var/www/localhost/cgi-bin
>> /var/www/localhost/htdocs (and all subdir)
>> ~/public_html (and all subdir)
>>
>> It appears not to here.
>>
>
> If you want cgi execution in /var/www/localhost/cgi-bin
> then why do you have
>
> <Directory "/var/www/localhost/cgi-bin/">
>    AllowOverride None
>    Options None
>    Order allow,deny
>    Allow from all
> </Directory>
>
> ????!

Apparently the setting of ScritpAlias to /cgi-bin/ still allows cgi to
fire there and I can run cgi there.  That was never mentioned as a
problem in this thread.  Far as I know what you quote above is stock
in the installed httpd.conf.

> Oh.. and what's in these:     Include /etc/apache2/vhosts.d/*.conf   ?
> Have you checked?

It turns out that was the rub.  It was not apparent to me that a
virtual host was even involved.  That default document appears to be
about using *:80 addressing scheme which I am not.

But the Directory statement in it is where things are now done.  

> Sorry but I wont be able to debug this for you with snippets, nor do
> I really want to pour over someone else's conf file :( as that
> sucks.  But it looks like you just need to rtfm and look carefully
> at what you're doing.

Sorry but as I'm sure you realize and as is always the case on usenet,
no one has asked you to debug or pour over anything.  Posts are put up
and people can respond if they like.  Inserting personal anecdotes
about what you think `sucks' isn't really the point.

Another common banality is RTFM from people who already understand
what is in the FM.  I have poured over large pieces of it and still
didn't get the fact that we are now using virtual host to mean the
main server running when we fire up apache.

I've found it is often true that what I read in the manual at some
previous time and didn't really get, suddenly takes on new or
different meaning from just a comment someone makes in usenet from
practicle experience.


---------------------------------------------------------------------
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