LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2004, 11:45 AM   #1
soliant
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
apache 1.3 config question; default document?


Hello,
I am trying to setup a default doc with apache 1.3 , the effect I want is if a user browses to my [website], for example , I can tell apache to look for the default doc, for example index.jsp, therefore avoiding typing [website]/index.jsp.

p.s. I have found nowhere in the httpd.conf file for this setting

Is this possible? Any help is appreciated.


 
Old 03-25-2004, 11:50 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Look for the line that says:

DirectoryIndex

And add it there, should look something like this:

<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.php index.cgi index.shtml index.jsp
</IfModule>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
changeing default document from index.html in apache thebover Linux - Software 3 03-30-2005 09:26 PM
Setting Apache Virtualhost Default Document? Seventh Linux - Software 1 03-21-2005 10:47 AM
RH9 Apache Virtual Host Default Document jswilson Linux - Newbie 2 01-29-2004 09:27 AM
Apache question regarding security and default document WolfShade Linux - Newbie 1 10-31-2003 01:37 PM
Apache doesn't allow non-document-root access in default setup jenna_h Mandriva 1 10-28-2003 07:07 PM


All times are GMT -5. The time now is 07:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration