TehEnforce / phurl

Automatically exported from code.google.com/p/phurl
0 stars 0 forks source link

Not redirecting - hosting provider issue? #119

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Short URL can be created
2. Enter short URL into browser
3. Not re-directed but rather left at the phurl URL shortner page.

What is the expected output? What do you see instead?
Redirected to new URL but left on my host web site

What version of the product are you using? On what operating system?
v2.4.2

Please provide any additional information below.
My website is hosted in Europe on 1&1. Could the Linux/Apache/PHP settings at 
1&1 be preventing the URL shortening from working? Some 'mod_rewrite' wizardry 
being the problem?

Original issue reported on code.google.com by londong...@gmail.com on 9 Jul 2011 at 5:28

GoogleCodeExporter commented 8 years ago
Change in the .htaccess the line:

   RewriteRule ^([a-zA-Z0-9_-]+)$ redirect.php?alias=$1 [L]

To:

   RewriteRule ^([a-zA-Z0-9_-]+)$ name_of_your_directory/redirect.php?alias=$1 [L]

Original comment by part...@rhein-sieg-einkaufen.de on 24 Jul 2011 at 2:16

GoogleCodeExporter commented 8 years ago
Remove 'RewriteBase /' in .htaccess file.

This issue will be fixed in v3.

Original comment by he...@phurlproject.org on 15 Dec 2011 at 12:44

GoogleCodeExporter commented 8 years ago

Original comment by he...@phurlproject.org on 29 May 2012 at 11:30