Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th September 2007, 00:56
Sp4ceDust Sp4ceDust is offline
Junior Member
 
Join Date: Sep 2007
Posts: 3
Thanks: 2
Thanked 0 Times in 0 Posts
Default Accessing default page with Apache2

Heyo,

I'm pretty new to all this stuff. Had a functional website setup with all the default Apache2 settings last night. I've successfully redirected the default site directory and solved some problems regarding permissions, but the page no longer automatically loads Index.html, but rather displays a list. You can see this at...
ecko.endofinternet.org

I'm sure its an easy fix, but I've searched around to no avail. and my brain hurts =\.

Thanks in advance!

-Benjamin
Reply With Quote
Sponsored Links
  #2  
Old 29th September 2007, 11:31
chuckl chuckl is offline
Senior Member
 
Join Date: May 2007
Location: Uxbridge, Middlesex, UK
Posts: 166
Thanks: 1
Thanked 20 Times in 20 Posts
Default

Are you perhaps missing a DirctoryIndex declaration in the Apache config for the site?

DirectoryIndex index.html index.htm Default.htm default.htm
Reply With Quote
The Following User Says Thank You to chuckl For This Useful Post:
Sp4ceDust (30th September 2007)
  #3  
Old 29th September 2007, 19:03
Sp4ceDust Sp4ceDust is offline
Junior Member
 
Join Date: Sep 2007
Posts: 3
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Entirely possible! Where would that config file be located?
Reply With Quote
  #4  
Old 29th September 2007, 20:39
chuckl chuckl is offline
Senior Member
 
Join Date: May 2007
Location: Uxbridge, Middlesex, UK
Posts: 166
Thanks: 1
Thanked 20 Times in 20 Posts
Default

Wherever the config info is for the website you have set up that you were describing. i.e. in the Apache config files - /etc/apache2/apache2.conf or httpd.conf.

There will be a series of entries for www.mydomain.com grouped together, and one should be similar to the line I mentioned.
Reply With Quote
The Following User Says Thank You to chuckl For This Useful Post:
Sp4ceDust (30th September 2007)
  #5  
Old 30th September 2007, 02:03
Sp4ceDust Sp4ceDust is offline
Junior Member
 
Join Date: Sep 2007
Posts: 3
Thanks: 2
Thanked 0 Times in 0 Posts
Default

There was no declaration for DirectoryIndex in the file you specified, adding one solved the problem! Does changing the directory for the site remove that declaration from the conf. file?

Anyhoo, MANY thanks for the advice/solution!
Reply With Quote
  #6  
Old 30th September 2007, 19:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: LŁneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by Sp4ceDust
Does changing the directory for the site remove that declaration from the conf. file?
Not if you modify your Apache configuration manually. But maybe you use some kind of control panel that does this?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd + MySQL virtual users, can't connect geekman HOWTO-Related Questions 28 27th September 2010 18:03
Default Mail scan settings for new users timehost Installation/Configuration 3 26th October 2007 12:05
Exim MTA dazblade Server Operation 4 16th July 2007 18:42
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs pontifex HOWTO-Related Questions 2 26th October 2005 17:54


All times are GMT +2. The time now is 16:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.