Portal has vanished

Current Version: 2.0.2
Released: 2013-10-27
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
JD2K
Active Member
Posts: 9
Joined: 8. February 2012 10:27
phpBB.com User: D2K

Portal has vanished

Post 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?
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Portal has vanished

Post by Marc »

Make sure your .htaccess is edited as instructed by install.xml.

Topic author
JD2K
Active Member
Posts: 9
Joined: 8. February 2012 10:27
phpBB.com User: D2K

Re: Portal has vanished

Post 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>

Topic author
JD2K
Active Member
Posts: 9
Joined: 8. February 2012 10:27
phpBB.com User: D2K

Re: Portal has vanished

Post 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?
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Portal has vanished

Post 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.

Topic author
JD2K
Active Member
Posts: 9
Joined: 8. February 2012 10:27
phpBB.com User: D2K

Re: Portal has vanished

Post by JD2K »

I just tried:

Code: Select all

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

Topic author
JD2K
Active Member
Posts: 9
Joined: 8. February 2012 10:27
phpBB.com User: D2K

Re: Portal has vanished

Post 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 :)
Locked

Return to “Board3 Portal 2.0.x - English Support”