how to set server option in php4 to read index files

Support for IntegraMOD 141

Moderator: Integra Moderator

how to set server option in php4 to read index files

PostAuthor: Juppertje » Mon Oct 01, 2007 4:57 am

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?
Last edited by Juppertje on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Juppertje
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Sat May 20, 2006 1:12 pm
Cash on hand: 0.00

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

PostAuthor: Juppertje » Tue Oct 09, 2007 3:00 pm

So Nobody knows how to fine tune php on a debian linux server for integramod <img>
Last edited by Juppertje on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Juppertje
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Sat May 20, 2006 1:12 pm
Cash on hand: 0.00

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

PostAuthor: CaNNon » Tue Oct 09, 2007 7:15 pm

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.
Last edited by CaNNon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 12:15 pm
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Majestic-12 [Bot]