Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Sep 12, 2008 2:48 pm 
Offline
Senior Newbie

Joined: Wed Sep 10, 2008 1:58 pm
Posts: 16
I set up a web site in Apache on my linode, and created html and cgi-bin directories for it. When I point my browser to it, I don't see the index.html file in the html directory, but rather the list of files in the parent directory.

How do I set up Apache so the browser will display the default index.html file in the html folder. Also, what do I have to do (if anything) to get cgi-scripts to execute from the cgi-bin directory.

If there's an existing tutorial about this, I'd love to hear about it.
Thanks!

- Chris M.


Top
   
 Post subject:
PostPosted: Fri Sep 12, 2008 7:49 pm 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
http://httpd.apache.org/docs/2.2/mod/mo ... ctoryindex

Note that you need to enable mod_dir, but I think it is by default in most distributions.

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.
-- seen on the net


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group