Slyke
May 25th, 2009, 04:22 AM
This is sort of an Apache problem, but it's to do with a PHP script, so here goes.
I'm developing an application for myspace, using an iFrame.
A parameter is passed to my script:
index.php?something=http%3A%2F%2Fwww.myspace.com%2F
Edit:
The "&# 37;" Shouldn't be in there, I don't know why it's showing up when I post? It doesn't when I edit this post. It should be a "%" instead.
This, for some reason causes a forbidden message:
Forbidden
You don't have permission to access /index.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I'm using a reseller account at hostgator to host my files. Every domain that I'm hosting causes this error when I try to navigate to it with another URL in the query string, as a data piece, but it doesn't do this for other domains.
A URL must be passed to the script cause it's how myspace contacts my script in the iFrame.
Would anyone know any reason why it's doing this? I've never touched any PHP or Apache setting in WHM or cPanel.
Any URL passed in the query string causes this message.
index.php?something=www.myspace.com%2F Works
index.php?something=http%3A%2F%2Fwww.myspace.com%2F Fails.
It does this even with an empty index.php file. I have no htaccess files or anything else that could cause this either. It does it across multiple domains, but only ones that I'm hosting?
I'm developing an application for myspace, using an iFrame.
A parameter is passed to my script:
index.php?something=http%3A%2F%2Fwww.myspace.com%2F
Edit:
The "&# 37;" Shouldn't be in there, I don't know why it's showing up when I post? It doesn't when I edit this post. It should be a "%" instead.
This, for some reason causes a forbidden message:
Forbidden
You don't have permission to access /index.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I'm using a reseller account at hostgator to host my files. Every domain that I'm hosting causes this error when I try to navigate to it with another URL in the query string, as a data piece, but it doesn't do this for other domains.
A URL must be passed to the script cause it's how myspace contacts my script in the iFrame.
Would anyone know any reason why it's doing this? I've never touched any PHP or Apache setting in WHM or cPanel.
Any URL passed in the query string causes this message.
index.php?something=www.myspace.com%2F Works
index.php?something=http%3A%2F%2Fwww.myspace.com%2F Fails.
It does this even with an empty index.php file. I have no htaccess files or anything else that could cause this either. It does it across multiple domains, but only ones that I'm hosting?