St-evo Posted February 19, 2009 Share Posted February 19, 2009 Hi all, most likely the wrong place for this, but I'll go ahead anyway. At work we have used a proxy site script (hacked but all credit still left on) to simply take you to a site of your choice (instead of putting in the URL we use buttons). We currently list 10 sites which need to be on our IP to access these sites (when someone wants to access them from home they log onto the intranet and use it their), we are having trouble with one of them where none of the search functions work within the site. We believe its a clash with their scripts but they say its 100% our side but alas I dont believe so as the script works on the other 9 sites perfectly. <li id="address_bar"><label>Infotrac <input id="address_box" type="hidden" name="<?php echo $GLOBALS['_config']['url_var_name'] ?>" value="<?php //echo isset($GLOBALS['_url']) ? htmlspecialchars($GLOBALS['_url']) : '' ?>Address removed due to user details" onfocus="this.select()" /></label> <input id="go" type="submit" value="Go" /></li> Sorry, have to remove the url as it contains the details for the login. Is there any other way to sort this out? Or replace the code? Any suggestions would be welcomed as Im at loose ends. Problems: - When you goto the site no search buttons work - If you do get to search it brings up a 500 error Link to comment https://forums.phpfreaks.com/topic/145885-solved-proxy-problems/ Share on other sites More sharing options...
St-evo Posted February 19, 2009 Author Share Posted February 19, 2009 Sorry for the double post - couldnt find a edit button, I have been looking into this more, it does seem like a major problem our side. When a user attempts to search it attempts to find a file on the server and not the site File does not exist: /srv/www/vproxy.ssl/new/commonmenu.do, referer: https://<company url removed>.uk/new/index.php?q=uggc%3A%2F%2Fsvaq.tnyrtebhc.pbz%2Fzrah%2Fpbzzbazrah.qb%3FhfreTebhcAnzr%3Dine_wvfp&hl=271 Is there anyway to make sure the php proxy is ALWAYS pointing at the site and not the server itself? Link to comment https://forums.phpfreaks.com/topic/145885-solved-proxy-problems/#findComment-765973 Share on other sites More sharing options...
St-evo Posted March 4, 2009 Author Share Posted March 4, 2009 Turns out that the site which we were pointing to, as added security, changed all the tag's to server instead of root so it went to our server instead of theirs Link to comment https://forums.phpfreaks.com/topic/145885-solved-proxy-problems/#findComment-776243 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.