Jump to content

Network Solutions php/mysql site changing URL path causing 401 errors?


Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.