a DirectoryIndex page load problem on upgrade (1 directory only)?

Iolaire

Registered
I've upgraded to the latest OS X release and merged my old and new httpd.conf files via bbedit but I'm having an issue with I think the DirectoryIndex, as the index page downloads rather than displays in Safari and IE - except it only happens on one folder.

my httpd.conf reads:
<IfModule mod_dir.c>
DirectoryIndex index.php index.htm index.html default.html default.htm default.htm
</IfModule>

When I try to load:
http://iolaire.mine.nu/current_site/
or http://iolaire.mine.nu/current_site/index.php it downloads the resulting page to disk. But when I load an duplicate of the index.php page:
http://iolaire.mine.nu/current_site/index%20copy.php
it loads just fine. As do all other php pages on my site. I even tried moving the same file to: http://iolaire.mine.nu/testing/index.php and it worked. So it seems to be related to the current_site folder????

An one have an idea of what I'm doing wrong?
Thank you,
ioliare

PS: I don't know if it matters by I'm on a router so I have iolaire.mine.nu mapped to my IP in a hosts file so I can look at my own computer.
 
and a final post, I emptied my cache on Safari and it now works. Maybe what happened was the httpd.conf was in error at first and then Safari retained a cache of the broken index page from before the httpd.conf was set correctly.
iolaire

----
ok yet another post, I've done many things, coping the files to new folders, renaming folders and the like and now it is working on IE but not Safari! It diffidently was not working IE earlier. My next step is to install Apache 2 and a new copy of PHP and see if it helps. (well maybe I'll just do PHP now)
thanks,
iolaire

-----
This is odd - if I rename the folder it loads ok, it seems to be just an issue when named current_site with the index.php page.

If anyone can help please do.
iolaire
 
Back
Top