Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A wierd/unusual problem with DirectoryIndex... or is it?

Status
Not open for further replies.

planix

Technical User
Dec 3, 2002
22
Hi,

I have Apache 2.0.52 (win32) PHP 4.3.10 mod_perl 1.99 running on Windows 2000.

No problems and it seems to be working well.

I have DirectoryIndex set up as
DirectoryIndex index.html index.php index.htm index.html.var

and this worked well until the other day. I could simply enter the directory address for the server and the index.php file would be picked up automatically.

Just the other day that stopped working. Now I need to explicitly reference index.php for it to be activated.

This only happens at the root directory level.

No changes were made to any config files and I don't even think I stopped the server in between times, though I may have.

Can anyone tell me what might have happened and where I can look for more information as to how to fix this? I would be happy to post the httpd.conf but I'll wait and see if anyone can think of an obvious question for me to check first.

cheers

Alistair
 
Hi,

I was getting a message that said "File / not found. Please check ... etc". But, I just tried after reading your message and got on just fine.

This is really puzzling because I haven't made any changes to httpd and I haven't re-started the server for a couple of days.

It seems like it might be some intermittent thing. If you have heard of anything like this I'd appreciate knowing about it.

Thanks for checking.

Alistair
 
planix,

Nothing that I can think of, but it's probably a good idea to check the Apache logs, especially if you noted the exact date and time that the problem occurred.

Wishdiak
A+, Network+, Security+, MCSA: Security 2003
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top