Two problems on the new server.

General discussions related to php

Moderators: macek, egami, gesf

Post Reply
Jay

Post by Jay » Thu Oct 24, 2002 2:05 am

It's a bad idea to name multiple files index, the server (and you) will get confused as to which to serve and it'll follow a strict hierarchy. Change the names and only leave the index as index! Then get back to us!

DoppyNL

Post by DoppyNL » Fri Oct 25, 2002 1:59 am

In de Apache configuration there is a setting in wich you can set wich files should be returned as index when no file is specified.
There can me multiple files in there, something like this:

settings-name = index.html index.htm index.php

when no file is requested, apache will look for index.html, if it is not found it will look for index.htm and so on.
As Jay allready suggested, you should only place 1 index file in each folder. This to avoid problems when the setting is changed (without you knowing it).
You probably want to use index.html (for you're frame) and page.php (for the actual content?)

Greetz Daan

Post Reply

Who is online

Users browsing this forum: dinoroger and 6 guests