michaelalemu / phurl

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

Short URL not redirected, but goes back to the phurl script #155

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

phurl is installed on my webserver in:
mydomain.com/phurl/

When I generate a short URL, e.g. "http://mydomain.com/phurl/c", it redirects 
to the correct long URL.

Now, I have another (short) domain "http://abcd.to", hosted with a third party 
registrar, which is forwarded to "http://mydomain.com/phurl/".

When I define in config.php 'SITE_URL', 'http://abcd.to', the resulting short 
URL does *not* redirect to the correct long URL, but just back to 
"http://mydomain.com/phurl/", and shows the phurl script again.

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

2.4.2, Linux

Please provide any additional information below.

Original issue reported on code.google.com by elgo...@mediteran.biz on 20 May 2015 at 2:38

GoogleCodeExporter commented 8 years ago
Edited last sentence:

When I define in config.php 'SITE_URL', 'http://abcd.to', the resulting short 
URL "http://abcd.to/c" does not redirect to the correct long URL, but just back 
to "http://mydomain.com/phurl/"

Original comment by elgo...@mediteran.biz on 20 May 2015 at 2:42