Your Portal Version: 2.1.0-RC1
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: Locally hosted
PHP Version: 5.5.9-1ubuntu4.5
MySQL Version: 5.5.40
What have you done before the problem was there?
Not applicable.
What have you already tryed to solve the problem?
Not applicable.
Description and Message
In a previous version of Board3 Portal for PHPBB 3.0.x, I was able to successfully modify portal.php to have my portal display as the main index page at "www.example.com", whereas my forum was located at "forum.example.com". Due to the release of PHPBB 3.1.2, I went ahead and upgraded my forum with fresh files, (including completely removing the old version of Board3 Portal). I'm attempting to get my setup the same again, however with the code structure now different in the new version of Board3 Portal, I'm not able to do this properly.
Essentially the idea is to have my portal appear as the main page at "www.example.com", while the forum is located at "forum.example.com". I'm assuming this would be done through app.php, however I cannot get it to point several of the paths to the correct directories if I set the PHPBB path from "./" to "./forum/". Any ideas on how I can accomplish this? Any assistance would be very much appreciated.
Note: The "example.com" domain was used here as an example due to my forum being developed on a local machine that cannot be accessed via URL at this time. Any issues with domain names I can correct later in my code.
Placing portal on example.com with forum on subdomain
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.
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.
Re: Placing portal on example.com with forum on subdomain
Hi
If you want the portal as the main index page must do the following:
Open: root/.htaccess
Insert at the end
If you want the portal as the main index page must do the following:
Open: root/.htaccess
Insert at the end
Code: Select all
DirectoryIndex app.php/portal index.php index.html index.htm
Gruß Udo
Re: Placing portal on example.com with forum on subdomain
When you mention the .htaccess file, are you referring to the one in PHPBB's root directory, or the main domain page located at "www.example.com"?
Re: Placing portal on example.com with forum on subdomain
Sorry for the delayed reply.
Unfortunately this didn't have any effect on my forum or the main website root.
Unfortunately this didn't have any effect on my forum or the main website root.
Re: Placing portal on example.com with forum on subdomain
Have you clear the cache? "ACP -> General" --> purge cache
Gruß Udo
-
- Sponsor
- Posts: 134
- Joined: 30. November 2009 16:11
- phpBB.de User: Scanialady
- phpBB.com User: Scanialady
- Contact:
Re: Placing portal on example.com with forum on subdomain
should that work from root domain to his subdomain (http://www.example.com to http://forum.example.com = subdomain) per .htaccess without forwarding?
I can not see how to install portal on another domain than your forum.
I can not see how to install portal on another domain than your forum.
sorry for my bad english - I'm german and google is my friend
Re: Placing portal on example.com with forum on subdomain
Yes. It hasn't made any changes at all.Kirk wrote:Have you clear the cache? "ACP -> General" --> purge cache
That is the problem I'm having. The portal, (and forum itself), treat subdomains as if they are a different domain, so it makes things a bit tricky.MyLady wrote:should that work from root domain to his subdomain (http://www.example.com to http://forum.example.com = subdomain) per .htaccess without forwarding?
I can not see how to install portal on another domain than your forum.