jdock1 Posted July 23, 2010 Share Posted July 23, 2010 I have no problem using my script on another server, but now when I uploaded it to my other server, its telling me that the area is forbidden. The index file works, but when I crop the frame, it generates the iframe code, which is hosted on a php page. The php page is giving me the forbidden error. I tried all types of different permissions, but it still doesnt work. It is the exact same code as used on my other server. Please check this out for me, go to http://damnitpetitions.com/cut/index.php & enter a url, just use phpfreaks.com as an example. You will see in the box below it loads the page. Drag & drop your cursor to crop an iframe. Below that you will see a textarea with the generated code. Below that, you will see the iframe. It will say its forbidden. For example the generated code <iframe src="http://damnitpetitions.com/cut/out.php?url=http%3A//phpfreaks.com&height=400&width=600&left=12&top=33.600006103515625" style="height: 115px; width: 324px"></iframe> & the direct link http://damnitpetitions.com/cut/out.php?url=http%3A//phpfreaks.com&height=400&width=600&left=12&top=33.600006103515625 Now, go to the script on my other server, WITH THE SAME CODE http://174.121.237.117/cut/test.php use phpfreaks as an example again. Direct link, no forbidden error: http://174.121.237.117/cut/out.php?url=http%3A//phpfreaks.com&height=400&width=600&left=25&top=32.600006103515625 All the permissions are set the exact same on each server. For the IP, its a hostgator VPS. For the site that im having trouble with, its on a shared hostgator server. My only guess is that it could be some kind of different PHP configuration?? It just makes no sense to me, & I am getting really frustrated! Please help!! BTW - Use firefox for this script. I have not tested it in any other browser. Also, I am the developer of this shitty script. This is my code, so I know the ins & outs. Thanks!!! Quote Link to comment Share on other sites More sharing options...
jdock1 Posted July 23, 2010 Author Share Posted July 23, 2010 Nobody can figure this out? Im so pissed about this idk wtf is wrong theres absolutely no reason why it should be doing that ! Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted July 23, 2010 Share Posted July 23, 2010 I'm far from an expert in Apache admin, but from the looks of the error, I'd say the problem is with one of these modules blocking it for some reason. (Used Safari 5 for this, BTW.) Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at damnitpetitions.com Port 80 Quote Link to comment Share on other sites More sharing options...
jdock1 Posted July 23, 2010 Author Share Posted July 23, 2010 Whats blocking what? Yeah same here, im far from an expert in server tech Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.