XFileSharing Pro - 404 error with new frontend server

Posts: 4
Joined: May 10, 2010 11:27 am

404 error with new frontend server

#1 Postby xfsuser » Jun 10, 2010 12:45 am

Here's what I'm trying to do: move a front end XFS website to another server. There are no files on this server--it only feeds users to the fileservers, which are set up on other computers.

So I copied the old htdocs and cgi-bin directories and also copied the databases to the new server.

The site installs and loads. Obviously the license for the domain is different--it will be ok once I update the DNS servers.

The new server displays all the files on all the fileservers. The only problem is that you can't download a file from the new server! You get a 404 error.

I have copied the cgi-bin and htdocs .htaccess files to the correct directory. The .htaccess file is not working well because the download1 subroutine in index.cgi is not being triggered before the 404 error.

This is with two different servers.

Can anyone help? Has anyone tried to move a working xfs server to a new host?


Posts: 521
Joined: Dec 19, 2009 5:12 pm

#2 Postby PowerChaos » Jun 10, 2010 12:53 am

you got a button called update files

the thing you can do to get thsi working is a fresh install on your new server

then put the information in it , and do a file check

so all files get a copy to your new mysql server (not sure if you get new links to )

problem is (if you checked mysql) that the links are stored in the database

the links itself goes to the right server , but as they are local (to get the script) and it is on a differend domain name , then it will refuse to work (cant find domain name or so )

so this is what you can do

*leave everything on old server
*make a fresh install on new server
*check file to db
*your site should work perfect after that
*get rid of your old server after the tests are succesfull

Greetings From PowerChaos

Site Admin
Posts: 1833
Joined: Mar 22, 2006 12:32 pm

#3 Postby admin » Jun 10, 2010 2:02 pm

Did you updated config files with new paths?

Return to “XFileSharing Pro”