• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Lame php emergency

You have to make some edits to the apache config file I think; I don't know offhand the exact lines to edit though. Google probably knows.
 
First of all, wrong FRICKIN FORUM.

Second, find httpd.conf (you're running apache I assume, aren't you?) and add index.php to "DirectoryIndex" line. Remember, order is important.
 
Originally posted by: Goosemaster
The old index.html file was hiding in there..thanks:embarrassed;

If you put index.php before index.html or other file extensions in the list order, the server will serve the .php before anything else. Eliminates having to delete files or archive them somewhere else.
 
Originally posted by: Nik
Originally posted by: Goosemaster
The old index.html file was hiding in there..thanks:embarrassed;

If you put index.php before index.html or other file extensions in the list order, the server will serve the .php before anything else. Eliminates having to delete files or archive them somewhere else.

Aye. But how do you do this on the DIrectAdmin server control Panel is the question. oInce I didn;t know how, I jsut renamed the index.html file so it would grab the php one.
 
I'm not familiar with Direct Admin at all. cPanel has a file browser that lets you look through the directory structure like you're FTP'd into the server. It also allows you to upload, rename, copy, move, and edit files. If there's anything like that in DirectAdmin, use it. 🙂
 
you can put a .httpd or .apache (whatever it's called) into the root directory to set up additional apache directives, this is a perfect candidate.
 
Is the Apache webserver you're on allow the use of .htaccess file? If so, just use .htaccess to overwrite the default Apache settings.
 
Back
Top