Portal Link Redirection

Current Version: 2.1.0
Released: 2015-10-26
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.

Portal Link Redirection

Postby Xx_iDon_xX » 8. May 2015 07:33

Your Portal Version: 2.1.0-RC2
Your phpBB Type: other phpBB Distribution
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: http://clan-tac.com

PHP Version: 5.6.8

What have you done before the problem was there?
Nothing

What have you already tryed to solve the problem?
Nothing

Description and Message
I want to be able to redirect or when i type clan-tac.com that it would go straight into the portal, so when that people visit my site clan-tac.com it will go straught into the portal instead of the index/forums. how would i make that happen? like instead when i click on the portal link on my page, and instead of being http://clan-tac.com/app.php/portal it would be http://clan-tac.com without having the app.php/portal. any help would be appreciated
Xx_iDon_xX
Active Member
Active Member
 
Posts: 22
Joined: 3. August 2009 20:36
Location: Tampa,FL
phpBB.com User: Xx_iDon_xX

Re: Portal Link Redirection

Postby Kirk » 8. May 2015 16:19

Hi
Open: root/.htaccess
add at the end of the file this:
Code: Select all
DirectoryIndex app.php/portal index.php index.html index.htm

Go to ACP/Server settings set at Enable URL Rewriting: yes.
Gruß Udo
User avatar
Kirk
Portal Professional
Portal Professional
 
Posts: 1317
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: Portal Link Redirection

Postby Xx_iDon_xX » 8. May 2015 16:28

Kirk wrote:Hi
Open: root/.htaccess
add at the end of the file this:
Code: Select all
DirectoryIndex app.php/portal index.php index.html index.htm

Go to ACP/Server settings set at Enable URL Rewriting: yes.



Hi, thanks for your reply. i did that and everything is fine, but now when i click on the Portal link/image i get this error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

also i noticed when i hover over the portal link/image it says http://www.clan-tac.com/portal

thats when i get the error. any suggestions? thanks.
Xx_iDon_xX
Active Member
Active Member
 
Posts: 22
Joined: 3. August 2009 20:36
Location: Tampa,FL
phpBB.com User: Xx_iDon_xX

Re: Portal Link Redirection

Postby Kirk » 8. May 2015 20:05

Support question in a web space provider for whether the server URL rewriting
Gruß Udo
User avatar
Kirk
Portal Professional
Portal Professional
 
Posts: 1317
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: Portal Link Redirection

Postby Xx_iDon_xX » 8. May 2015 20:20

Kirk wrote:Support question in a web space provider for whether the server URL rewriting



i dont understand, sorry. explain better please?
Xx_iDon_xX
Active Member
Active Member
 
Posts: 22
Joined: 3. August 2009 20:36
Location: Tampa,FL
phpBB.com User: Xx_iDon_xX

Re: Portal Link Redirection

Postby Marc » 8. May 2015 23:12

Please check with your hosting provider if they support URL rewriting and/or how you can enable it for your website. This error will only pop up if URL rewriting isn't working on your server side right now.
User avatar
Marc
Site Admin
Site Admin
 
Posts: 2486
Joined: 17. July 2008 21:08
Location: Clausthal-Zellerfeld / München
phpBB.de User: marc1706
phpBB.com User: Marc

Re: Portal Link Redirection

Postby ruffle » 2. July 2015 10:22

I have the same problem (the landing page being the Forum Index instead of the Board3 Portal page).

I've changed .htaccess like so:

Code: Select all
DirectoryIndex app.php/portal index.php index.html index.htm


(I also put the same DirectoryIndex line in my Virtualhost section). I checked the rewrite module is enabled with apache2ctl -M and turned on "Enable URL Rewriting" in the ACP->Server Settings.

Now the landing page is the Board2 Portal which is good but the "Portal" link in the breadcrumbs bit at the top of the forum links to <mysiteaddress>/portal which isn't as that generates a 404 /portal not found error.

There's obviously something else I need to do... any suggestions?
ruffle
Active Member
Active Member
 
Posts: 2
Joined: 2. July 2015 09:13

Re: Portal Link Redirection

Postby Kirk » 2. July 2015 17:09

Turned off "Enable URL Rewriting" in the ACP->Server Settings and try if it works.
Gruß Udo
User avatar
Kirk
Portal Professional
Portal Professional
 
Posts: 1317
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: Portal Link Redirection

Postby ruffle » 3. July 2015 08:27

Yes. That seems to do the trick.

Thanks.
ruffle
Active Member
Active Member
 
Posts: 2
Joined: 2. July 2015 09:13

Re: Portal Link Redirection

Postby pokyto » 1. September 2015 16:27

Hi

i have almost the same issue

i get this error with URL Rewriting" in the ACP->Server Settings Enable or Disable ...
Code: Select all
No route found for "GET /portal.php"


i edited as required the .htaccess file with
Code: Select all
DirectoryIndex app.php/portal index.php index.html index.htm


and the mod_rewrite module is loaded on my hosting server

fun fact ... i get this error with firefox but not with chrome

any idea?
User avatar
pokyto
Translator
Translator
 
Posts: 20
Joined: 1. August 2011 11:52
Location: Nancy / FRANCE
phpBB.com User: pokyto

Re: Portal Link Redirection

Postby Kirk » 1. September 2015 17:39

Hi
Do you still have an extra forwarding in .htaccess?
Gruß Udo
User avatar
Kirk
Portal Professional
Portal Professional
 
Posts: 1317
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: Portal Link Redirection

Postby pokyto » 1. September 2015 20:19

Hi

Kirk wrote:Hi
Do you still have an extra forwarding in .htaccess?


I don't know!!!
Here is the content of my .htaccess file

Code: Select all
<IfModule mod_rewrite.c>
RewriteEngine on

#
# 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.
#
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

#
# The following 3 lines will rewrite URLs passed through the front controller
# to not require app.php in the actual URL. In other words, a controller is
# by default accessed at /app.php/my/controller, but can also be accessed at
# /my/controller
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ app.php [QSA,L]

#
# If symbolic links are not already being followed,
# uncomment the line below.
# http://anothersysadmin.wordpress.com/2008/06/10/mod_rewrite-forbidden-403-with-apache-228/
#
#Options +FollowSymLinks
</IfModule>

# With Apache 2.4 the "Order, Deny" syntax has been deprecated and moved from
# module mod_authz_host to a new module called mod_access_compat (which may be
# disabled) and a new "Require" syntax has been introduced to mod_authz_host.
# We could just conditionally provide both versions, but unfortunately Apache
# does not explicitly tell us its version if the module mod_version is not
# available. In this case, we check for the availability of module
# mod_authz_core (which should be on 2.4 or higher only) as a best guess.
<IfModule mod_version.c>
   <IfVersion < 2.4>
      <Files "config.php">
         Order Allow,Deny
         Deny from All
      </Files>
      <Files "common.php">
         Order Allow,Deny
         Deny from All
      </Files>
   </IfVersion>
   <IfVersion >= 2.4>
      <Files "config.php">
         Require all denied
      </Files>
      <Files "common.php">
         Require all denied
      </Files>
   </IfVersion>
</IfModule>
<IfModule !mod_version.c>
   <IfModule !mod_authz_core.c>
      <Files "config.php">
         Order Allow,Deny
         Deny from All
      </Files>
      <Files "common.php">
         Order Allow,Deny
         Deny from All
      </Files>
   </IfModule>
   <IfModule mod_authz_core.c>
      <Files "config.php">
         Require all denied
      </Files>
      <Files "common.php">
         Require all denied
      </Files>
   </IfModule>
</IfModule>

DirectoryIndex app.php/portal index.php index.html index.htm
User avatar
pokyto
Translator
Translator
 
Posts: 20
Joined: 1. August 2011 11:52
Location: Nancy / FRANCE
phpBB.com User: pokyto

Re: Portal Link Redirection

Postby Kirk » 2. September 2015 17:26

The .htaccess is OK, I do not know to what it is.
Gruß Udo
User avatar
Kirk
Portal Professional
Portal Professional
 
Posts: 1317
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: Portal Link Redirection

Postby pokyto » 2. September 2015 20:14

ach! damn!
User avatar
pokyto
Translator
Translator
 
Posts: 20
Joined: 1. August 2011 11:52
Location: Nancy / FRANCE
phpBB.com User: pokyto

Re: Portal Link Redirection

Postby pokyto » 4. September 2015 17:19

Hi folks

i still have this frakin error just with firefox regardless of the settings ... it works fine with IE and chrome

Any idea(s) ?

Regards
User avatar
pokyto
Translator
Translator
 
Posts: 20
Joined: 1. August 2011 11:52
Location: Nancy / FRANCE
phpBB.com User: pokyto

Next

Return to Board3 Portal 2.1.x - English Support

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests