Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Redirection Loop
demonatashadow
post Jul 4 2007, 12:31 AM
Post #1


Super Member
*********

Group: [HOSTED]
Posts: 260
Joined: 18-March 07
From: Tokyo, Japan
Member No.: 40,247



Ok, now when I try to add a redirection it says the following:

Redirecting / to http://animeshadows.com/phpBB3 will cause a redirection loop because '/'
which is located at /home/hickado/public_html/
is above 'http://animeshadows.com/phpBB3'
which is located at /home/hickado/public_html/phpBB3

whats up with that? I tried everything to fix this problem.
Go to the top of the page
 
+Quote Post
Tetraca
post Jul 4 2007, 01:21 AM
Post #2


Privileged Member
*********

Group: Members
Posts: 628
Joined: 20-May 06
Member No.: 23,968



This is quite strange. I redirect from ~/public_html to ~/public_html/folder all the time with no problems. If you want, here is an .htaccess file of mine that I use to redirect to a higher directory without a single problem:
CODE
RedirectMatch permanent ^/$ http://infrosoft.phatcode.net/phpwebsite

Just replace my site with your site. Hopefully that will work well.
Go to the top of the page
 
+Quote Post
rvalkass
post Jul 4 2007, 05:51 AM
Post #3


apt-get moo
Group Icon

Group: [MODERATOR]
Posts: 2,153
Joined: 28-May 05
From: Devon, England
Member No.: 7,593
Spam Patrol



I think what it is actually attempting is the following:
  • Take any requests to any pages in / -- this includes your forum directory
  • Forward those requests to the forum directory
  • As the forum directory is in / we need to forward them to the forum directory
It then repeats the last 2 steps for ever, as it is constantly forwarding itself to a page that needs forwarding again. Try setting the forwarding to go from /index.htm to /phpBB3/index.php. Regardless of whether index.htm exists, anyone who types your address in will automatically look for it, and get forwarded.

If that doesn't work, Tetraca's idea is also perfectly valid, just a different way of doing things.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Help : Site Redirection For Page Ranks(1)
  2. Problem With Redirection(4)
  3. Redirection Full Url(14)


 



- Lo-Fi Version Time is now: 12th October 2008 - 07:24 AM