Page 1 of 1

How do I make portal.php the default index page for my site?

Posted: 5. August 2010 11:30
by malignant
Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://www.westgamer.com/forum/

What have you done before the problem was there?
Worked fine as intended until recently.

What have you already tryed to solve the problem?
Searched the boards here but couldn't find anything specific to this situation.

Description and Message
Hi all,

Up until recently, my forums automatically opened up the portal.php page as default when accessing my site address at the board root directory. (www.westgamer.com/forum/)

For some reason, whenever I visit it now (something has happened to change this recently - but I have no idea what as I have made no alterations), the address above sends me straight to my board index at index.php

Can someone please give me some help in changing this back to opening my portal page as a default? What do I need to do?

Much appreciated.

Re: How do I make portal.php the default index page for my s

Posted: 5. August 2010 12:27
by Glueckmacher
Hi!

Open .htaccess.

Search

Code: Select all

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
Add after in a new line

Code: Select all

DirectoryIndex portal.php index.php index.html index.htm

Re: How do I make portal.php the default index page for my s

Posted: 5. August 2010 12:59
by malignant
That did the trick - thanks very much! :D

Re: How do I make portal.php the default index page for my s

Posted: 9. August 2010 12:05
by trotskyicepick
Didn't work for me, I had to create a phpBB3.conf file in /etc/apache2/conf.d/ and add the DirectoryIndex line as quoted.