Page 1 of 1

how to set server option in php4 to read index files

PostPosted: Mon Oct 01, 2007 4:57 am
Author: Juppertje
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: [url]http://[/url]

PHP Version: php4
MySQL Version:


What was done before the problem appeared?
hd server crash


What was done to try to solve the problem?
new install and new Hd



De.scription and Message

Hello before we had the server crash we had no problem but now we have

example

when i type http://www.mysite.com/forum it redirect automaticily to http://www.mysite.com/forum/portal.php <img>

and when i go tp http://www.mysite.com/forum/portal i get a blank page i have to fill in http://www.mysite.com/forum/portal.php

So does anyone know how i have to fix this problem in php4? so that it automaticly read the index files?

Re: how to set server option in php4 to read index files

PostPosted: Tue Oct 09, 2007 3:00 pm
Author: Juppertje
So Nobody knows how to fine tune php on a debian linux server for integramod <img>

Re: how to set server option in php4 to read index files

PostPosted: Tue Oct 09, 2007 7:15 pm
Author: CaNNon
You didn't really post enough info. to me it looks like a blank html or htm file trying to run before php.

Assuming apache, and some kind of Xnix base you could use .htaccess

Try changing the default page, the order is followed as it's found in the statement!

default order:
DirectoryIndex home.html index.htm index.html index.php

so you would want to mod it and add it to the .htaccess file

DirectoryIndex index.php home.html index.htm index.html

That would make php files first the server looks for.