WA Function not Supported in Hong Kong Servers?
Hi:
For the second time, I’m trying to host one of my Websites in a Hong Kong Server, but we’re again finding difficulties in making it work well. The problem has to do with the following error:
----------------------------------------------------
Not Found
The requested URL /home/nanhai01/public_html/-stuattend_Results .php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
________________________________________
Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at nanhai01.salaroche.com Port 80
-----------------------------------------------------------
Please note that the pages that generate that error are all using an Insert, Update, or Delete WA behavior.
A technician at OnemoreWebhosting in HK seems to have located the problem. It seems that a WA line of code is redirecting the Browser to a wrong URL. The line of code the technician says is causing the problem looks like this one:
---------------------------------------------------------------------
if (function_exists("rel2abs")) $WA_redirectURL =
$WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";
-------------------------------------------------------------------------
I looked for that line of code and found it in most of my pages, but the ones producing the error message seem to be only those pages using an Insert, Update, or Delete WA behavior.
The HK technician says that in commenting (disabling) that line of code the problem is solved, but my concern is that, even if the HK technician disables every instance of such code, the problem will be reproduced every time I modify and upload a page to their server. Should I disable that function in all my pages to keep that problem from happening every time I modify and upload a similar page to the HK server? And what are the consequences of disabling such function?
Any suggestions?
Your attention to this matter will be highly appreciated.