Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th December 2009, 14:41
rmeyer137 rmeyer137 is offline
Junior Member
 
Join Date: Dec 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Website not defaulting to index.php

I had an odd issue today. I'm using ISPConfig 3 on Ubuntu 9.10.

One of my domains is configure with modPHP with the Auto subdomain set to www.

The site was working fine a few days ago then all of a sudden it stopped working, bringing up the generic 404 error page.

When I checked the site it was still on the disk. I could even ftp to it. I deleted the site then recreated it. Now I need to have an index.htm redirect to the index.php to view the site.

I believe the issue may have been caused by Ubuntu updates, but I can't be sure of that.

How can I get the index.php be the default page when going to the domain?

Thanks
Rick
Reply With Quote
Sponsored Links
  #2  
Old 10th December 2009, 13:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,385 Times in 4,231 Posts
Default

Just delete the index.htm or index.html file in this site, this makes index.php the default index.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 10th December 2009, 15:08
rmeyer137 rmeyer137 is offline
Junior Member
 
Join Date: Dec 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did notice that behavior when I first uploaded the site. How ever that's not the case now. It doesn't default to the index.php when the others are removed. That's why I'm confused.

Rick
Reply With Quote
  #4  
Old 10th December 2009, 15:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,385 Times in 4,231 Posts
Default

Maybe you uploaded a .htaccess file that overrides the default behaviour. Check your wesbite directory for .htaccess files and if they specify a different index.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 10th December 2009, 16:44
rmeyer137 rmeyer137 is offline
Junior Member
 
Join Date: Dec 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The .htaccess file has nothing in it. I think this is the default for .htaccess

Same problem..
Reply With Quote
  #6  
Old 10th December 2009, 22:24
BorderAmigos BorderAmigos is offline
Senior Member
 
Join Date: Apr 2008
Location: San Diego & Tijuana
Posts: 302
Thanks: 26
Thanked 33 Times in 31 Posts
Send a message via MSN to BorderAmigos Send a message via Yahoo to BorderAmigos
Default

Is there an .htaccess file in a higher level directory?
__________________
System6Hosting.com, ISPConfig 3, Debian.
Reply With Quote
  #7  
Old 10th December 2009, 23:21
rmeyer137 rmeyer137 is offline
Junior Member
 
Join Date: Dec 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hi,

No. Something else must be going on. Because, now it's working again and I swear that I didn't change anything on the site. Before anyone asks, yes I checked with two different browsers when I had the issue. Yea - I know you don't believe me - however, I'm a software developer and I know (better than most) that changing things with out notice can lead to bad things.

So, I'm chalking this up to an upgrade. Yes the automatic update for Ubuntu 9.10 is still running on the server. So, maybe it has something to do with that.

Thanks for the replies!
Rick
Reply With Quote
Reply

Bookmarks

Tags
ispconfig 3, mod-php, php

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
MyDNS problem and Iptables problem Gimly General 4 13th August 2009 15:59
Cannot access seconddomain website bobwdn Installation/Configuration 9 12th February 2009 19:02
How to remove index.php in seo friendly link:www.mydomain/index.php/seo-friendly-link Mole Installation/Configuration 4 9th January 2009 09:09
cannot receive emails after made website online llamy General 20 27th December 2007 01:14
set up 301 redirect from old website to new website showe1966 Server Operation 1 22nd September 2007 12:30


All times are GMT +2. The time now is 22:02.


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