PDA

View Full Version : Redirecting problem...


bor
06-26-2003, 06:27 AM
Hello

i would like to redirect a (sub)domain to my forum that is hosted somewhere else. http://xxx.xxx.xxx.xxx/~vanpraat/forum/ would be the destination. But i get when i'm trying to set it.


Unable to add redirect



Details
The local url path or the destination url is invalid.



that's the error. The local directory is set rigth! because when i fill in another address like www.website.hasit.info it does work. But that www.website.hasit.info is very slow, i want to use my paid redirection, but i don't know what could be wrong?

loopforever
06-26-2003, 07:36 AM
The "~" is probably being considered an invalid character. Once Mark or John comes around, they'll probably note this and release a bug fix for the next release.

jdlitson
06-26-2003, 08:34 AM
Use this code for any redirect.
In you index or default page paste this code. Change the URL to your redirect and that's it. -Jason

<meta http-equiv=refresh content="0; url=http://www.your-redirect-goes-here">

DirectAdmin Support
06-26-2003, 09:20 AM
Ok, I've added it for 1.111 (today or tomorrow)

John

cyberneticos
09-30-2007, 03:18 PM
I realize this post is pretty old, but I am getting the same error redirecting to the follwing url:

http://www.flickr.com/photos/14284867@N04/sets/72157602207352572/

Any suggestions ?

jdlitson
09-30-2007, 06:34 PM
When DA has an error with a redirect; then edit the .htaccess file directly.

cyberneticos
10-01-2007, 02:25 AM
THat's a good solution for those of us who don't have a problem doing it.

but not a professional solution

I guess the error happens becuase of security filtering to avoid sql injections. So ignoring the url is not a secure option.

I was thinkning more along the lines of DA decoding the URL before processing it.

jlasman
10-01-2007, 12:08 PM
DA is decoding the URL and determining that it may contain an email address.

14284867@N04 can be a valid email address under certain circumstances.

Jeff

cyberneticos
10-01-2007, 03:12 PM
Ah ! I see. So the @ sign is the ascii character it doesn't like. Is there some kind of security risk if it would start accepting the @ sign ? Not sure why my client has an @sign, I'm guessing it's part of some hash or user name of some sort.

Not sure really.

jlasman
10-01-2007, 07:25 PM
Yes. It could result in injecting email addresses into improperly coded sites.

Jeff