403 Error when writing from php file to XML file

Status
Not open for further replies.

austrian2115

New Member
Messages
1
Reaction score
0
Points
0
I have a handler file (manageme.x10.mx/xml/handler.php) that is called by a XMLHttpRequest from manageme.x10.mx/web/userHome.html. The redirected url is in XMLHttpRequest params. What I want to happen is I want the handler file to open an XML file and save the update to that file. What is happening is I get a HTTP 302 for the GET call to the handler and then an attempted load of [12:15:49.732] GET http://x10powered.com/errors/403.shtml [HTTP/1.1 200 OK 249ms] which I believe is a HTTP 403 Access Denied result. As far as I've researched it, it sounds like x10hosting uses an Apache server and thus I need to create a .htaccess file at the root of my domain (manageme.x10.mx publichtml/). I wanted to know if I'm on the right track and if you had a sample .htaccess file I could use.

Thanks
Tyler
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Step 1 is make sure handler.php has proper permissions, 0644 (and the directory xml set to 0755 )
 
Status
Not open for further replies.
Top