Page 1 of 1

Portal has vanished

Posted: 10. February 2012 20:29
by JD2K
I have PHPbb installed under /forum directory, the portal was working great. I decided to redirect so the website works without /forum at the end: www[dot]d2kgaming[dot]net but since then the portal has vanished. Any ideas?

Re: Portal has vanished

Posted: 10. February 2012 21:11
by Marc
Make sure your .htaccess is edited as instructed by install.xml.

Re: Portal has vanished

Posted: 11. February 2012 02:49
by JD2K
.htaccess file has changed.

Where should I add this? because when I add it after "common.php' website gets an error:

Code: Select all

<![CDATA[DirectoryIndex portal.php index.php index.html index.htm]]>
This is the .htaccess file as of now:

Code: Select all

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




#
# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are for example using PHP via Apache CGI.
#
#<IfModule mod_rewrite.c>
#RewriteEngine on
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#</IfModule>
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>

Re: Portal has vanished

Posted: 11. February 2012 08:16
by JD2K
update: Portal works if I type it in manually : d2kgaming[dot]net/portal.php

I had my website redirected from d2kgaming[dot]net/forum to d2kgaming[dot]net, portal directory is under /forum

Is this a simple .htaccess redirect issue?

Re: Portal has vanished

Posted: 11. February 2012 13:00
by Marc

Code: Select all

DirectoryIndex index.php portal.php index.html index.htm
That's your problem. portal.php needs to be in front of index.php.

Re: Portal has vanished

Posted: 11. February 2012 23:08
by JD2K
I just tried:

Code: Select all

DirectoryIndex portal.php index.php index.html index.htm
Still no luck.

Re: Portal has vanished

Posted: 12. February 2012 01:45
by JD2K
Problem fixed, .htaccess file that I needed to change was in the /forum directory which looked like this:

Code: Select all

DirectoryIndex index.php
I changed it to

Code: Select all

DirectoryIndex portal.php index.php
Problem fixed.

Thanks MARC :)