[PLUG] httpd.conf question

Bryan Murdock bmurdock at gmail.com
Sat Nov 13 00:54:52 UTC 2004


I'm pretty much a n00b when it comes to configuring apache.  I just
want to run a little web server on my linux machine here at work to
run some perl cgi stuff.  This is on a brand new Fedora Core 3
install.  Right now I can drop the script.cgi into /var/www/cgi-bin
and access it with this:

http://hostname/cgi-bin/script.cgi

That's fine and great, but it would be nice if someone could just type:

http://hostname

I've tried tweaking a couple things and nothing is getting me any
closer to that.  I renamed the script to index.cgi and tried just
going to http://hostname/cgi-bin to see if that was getting me closer,
but that didn't work.  Then I saw this <VirtualHost *> definition and
I added index.cgi to the DirectoryIndex directive in there.  Still no
dice.  I'm pretty much at a loss here, and can't justify spending too
much more of HP's time on this :-)  Can anyone help me out?

Thanks,

Bryan



More information about the PLUG mailing list