[users@httpd] Re: Serve /var/www and public_html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"David Salisbury" <salisbury@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux