XFileSharing Pro - File server tests turn an error on htdocs

Posts: 38
Joined: Aug 05, 2009 7:04 am

File server tests turn an error on htdocs

#1 Postby technoind » Jan 18, 2010 4:44 pm

File Server tests:
api.cgi: OK
temp dir exist: OK
temp dir mkdir: OK
temp dir rmdir: OK
tmp dir exist: OK
tmp dir mkdir: OK
tmp dir rmdir: OK
upload dir exist: OK
upload dir mkdir: OK
upload dir rmdir: OK
htdocs dir exist: OK
htdocs dir mkdir: OK
htdocs dir symlink: OK
htdocs dir symlink del: OK
htdocs dir rmdir: OK
config read: OK
config write: OK
fs.cgi: OK
upload.cgi: OK
htdocs URL accessibility: ERROR (should see XFS on link)

What could be wrong this time?


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

#2 Postby PowerChaos » Jan 18, 2010 5:09 pm

eum , i guess that it cant find the www folder
i think it goes directly to the cgi-bin folder and so it is not able to find the htdocs/www folder where a few files are located

check your folder permision and check if you can acces http://yourdomain.com/testfile.php/html

with testfile i mean , create a simple file and upload it to your www dir , and then try to acces it from your browser

if that doesnt works then there is something wrong with your permisions or with the redirection of cgi

if it works , then the script will normal works to

Greets From PowerChaos

Posts: 38
Joined: Aug 05, 2009 7:04 am

#3 Postby technoind » Jan 18, 2010 5:48 pm

The file cannot be found. I am not sure how the configuration is done. What folder permissions should I check ? thanks

can I contact you any way?

I have serveral other issues at the moment. On one of my isp's i cannot get to play any files form my secondary file server.
- first file server streams at normal speed on one ISP , my other ISP doesnt stream it at all.. just buffering.

It is all some firewall configuration issue.. I have 1Gbit links on both file servers. Speed should be smooth at all times.


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

#4 Postby PowerChaos » Jan 19, 2010 5:26 pm

you got 2 folders

htdocs and cgi-bin

all files in cgi-bin need permision 755 or higher (logs need 777 to be written)

all files in htdocs needs 644 or higher (666 is enouf as write permision)

if the file can not be found , try to manual acces your website with this url

http://yourwebsite.com/cgi-bin/cron.pl (upload that file to your server or upload a other file to check)

if that works , then the folder works

if that says , file not found , then your cgi-bin alias is wrong

then it means your cgi-bin is taken from apache standard dir and not as a virtual allias

and to get that working you need to place all your files in the apache cgi-bin

or you need to configure it that it takes a virtual dir

i got probems with it before , so i putted a trial of cpanel on it and now it works perfect (trial is freeware for 15 days :P )

because the trial is used for on domain name is it not needed to expand the trial or to buy a full version (no mysql is used ) so the trial is good for getting a basic setup and to get everything running

if you want to contact me , send me a email at webmaster (@) powerchaos.com

Greets From PowerChaos

Return to “XFileSharing Pro”