davevdm Posted April 9, 2007 Share Posted April 9, 2007 I have a WebERP installation (it's an php/mysql-based accounting package). It's been working perfectly for months, until this morning. There appears to be a problem with the URL references being returned from the server. Here's what I mean... hopefully this isn't a red herring. The main login page comes up normally. After I log in, there's a $_SERVER['PHP_SELF'] call that reloads the page, after validating the username/password in the DB and setting some $_SESSION variables. Normally, if my index.php page is http://www.myserver.com/myapp/index.php I will see the same URL returned after a successful login. Now, after processing the login, the URL is being parsed as: http://www.myserver.com/~12093.912391/htdocs/myapp/index.php, and I get a 401 error with the message that the page cannot be found. If I manually type the correct url, the Session variables are set and I can access the system. No one other than myself has access to the scripts (at least no one else is authorized). And I haven't touched anything. I can only conclude that something in the Network Solutions server setup has changed, or something has been hacked. I think the latter is pretty unlikely, because I uploaded a backup of the site and had the same results. This backup works perfectly on my local unix box, so I know it's not my script. Any ideas? Thanks, Dave Quote Link to comment https://forums.phpfreaks.com/topic/46318-network-solutions-phpmysql-site-changing-url-path-causing-401-errors/ 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.