More Virtual Promote ... Gazette · Webmaster & SEO Tools · Scumware.com · Free Website Templates

SEF

Search Engine Forums
Helping to make the Web - Since 1998
Virtual Promote Member Spotlight
Start your own PPC

Hammer your way to the top of the PPC World with The Hyperseek Jackhammer (jcokos)

Login Password Forget your password?    Trouble Logging In?
.
Forums Index Active Topics New Topics My Topics Search My Profile Register Inbox   Rules & TOS
.
 
Forum Index · Search Engine Forums · Building, Hosting & Maintaining Your Website · Graphic Design - Basic HTML, CSS & Usability · Problem with homepage
 
Add to hotlist
Reply to this thread Create a New Topic in this forum
Mark This Forum Read
Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend  
Moderator(s): g1smd
Previous Topic Next Topic
Member Message

ceeyahd1
Joined: Feb 06, 2004
# Posts: 71

View the profile for ceeyahd1 Send ceeyahd1 a private message

Posted: 08/09/2006 06:15 pm
Edit Message Delete Message Reply to this message

Hi All, I am back for expert advice. I was in the process of updating my website but as usual I did something stupid and attempted to restore everything back to the way it was, the problem I am having is when I enter my address either by www.site address or http//:site address I get an error message and the only way I can go to my homepage is to end it with index.html. I have checked my other website to see what I have done wrong but I see no difference. What did I do wrong?

Thaks for your help.



dudibob
Joined: Oct 13, 2005
# Posts: 1413

View the profile for dudibob Send dudibob a private message

Posted: 08/10/2006 07:28 am
Edit Message Delete Message Reply to this message

ok, so if you type in www.domain.com you get an error page but if you type in www.domain.com/index.html it works!? it sounds to me like you've somehow managed to get rid of a setting on a server that tells it if anyone types in www.domain.com it'll serve a certain page, such as index.html

are you on Apache or Windows hosting?



g1smd
Moderator
Joined: Jul 28, 2002
# Posts: 10089

View the profile for g1smd Send g1smd a private message

Posted: 08/10/2006 01:37 pm
Edit Message Delete Message Reply to this message

Look for the DirectoryIndex directive located either in the httpd.conf or in the .htaccess file.

Make sure that you do have the filename that you use for the default index page name listed in that directive.



Curt
Joined: Eons Ago
# Posts: 3674

View the profile for Curt Send Curt a private message

Posted: 08/13/2006 08:50 pm
Edit Message Delete Message Reply to this message

Do you have use of your own server? If so, have you edited any files in the “/path/to/Apache2/conf” (where “/path/to” would be the higher up directories) directory?

Did you edit the “DirectoryIndex” directive in httpd.conf?

If so, you could change it to this:

DirectoryIndex index.html index.html.var index.shtml index.htm index.pl index.cgi


That way it will treat each one of those variations as the default home page. As for “index.html.var”, don't ask me about that one as it was set up that way by default when I installed apache on my computer.

-------
g1smd, question: Is “DirectoryIndex” also a valid directive within “.htaccess” file?



kaulbr
Joined: Mar 15, 2006
# Posts: 275

View the profile for kaulbr Send kaulbr a private message

Posted: 08/14/2006 01:09 pm
Edit Message Delete Message Reply to this message

I once worked with a server where the index page would only show automatically if it was saved with a ".htm" extension and not a ".html" extension. Just a possible suggestion but I'm sure it's not that simple.



Curt
Joined: Eons Ago
# Posts: 3674

View the profile for Curt Send Curt a private message

Posted: 08/26/2006 09:15 pm
Edit Message Delete Message Reply to this message

Are the various directives/commands found in httpd.conf also valid for the “.htaccess” file?
g1smd said:

Look for the DirectoryIndex directive located either in the httpd.conf or in the .htaccess file.




g1smd
Moderator
Joined: Jul 28, 2002
# Posts: 10089

View the profile for g1smd Send g1smd a private message

Posted: 08/27/2006 02:08 am
Edit Message Delete Message Reply to this message

The stuff in .htaccess applies to the folder it is in.

The stuff in httpd.conf is global for the site, (or sites if there is more than one on the server).



Curt
Joined: Eons Ago
# Posts: 3674

View the profile for Curt Send Curt a private message

Posted: 08/31/2006 03:26 am
Edit Message Delete Message Reply to this message

So basically many of the directives that work in httpd.conf will also work in .htaccess for the single site for which it controls, right?



g1smd
Moderator
Joined: Jul 28, 2002
# Posts: 10089

View the profile for g1smd Send g1smd a private message

Posted: 08/31/2006 04:52 pm
Edit Message Delete Message Reply to this message

Many will. Check the Apache documentation at http://apache.org/ for the exact details.


 
Forum Index · Search Engine Forums · Building, Hosting & Maintaining Your Website · Graphic Design - Basic HTML, CSS & Usability · Problem with homepage
Who's Online?
Reflects user activity within the last 5 minutes
Previous Topic Next Topic
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread



Related Forum Topics
  1. Banner centering problem, the html checks out,but (In: Graphic Design - Basic HTML, CSS & Usability)
  2. please check out my personal homepage [MOVED] *site-reviews* (In: Market Analysis - Your Rankings & Statistics)
  3. Such URL creates a problem in submission.? (In: General Search Engine Optimization)
  4. Please help me regarding this problem??? (In: General Search Engine Optimization)



© 1995 - 2006  ·  iWeb, Inc  ·  DBA JimWorld Productions