XFileSharing Pro - Error - htdocs URL accessibility: ERROR (should see XFS on..

Message
Author
GMC
Posts: 172
Joined: Aug 15, 2009 4:48 am

Error - htdocs URL accessibility: ERROR (should see XFS on..

#1 Postby GMC » Aug 25, 2009 7:16 am

Trying to add a second server

Its a new server I got today - Debian Dedicated

I am been working on this all day, and am down to the last hurdle

I get this

Code: Select all

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)
Funny thing is when I press the should see XFS on this link - I DO see XFS - lol

Any one got any info for me

Cheers

GMC

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Aug 25, 2009 10:31 am

That's weird, but you can comment these lines in index.cgi to disable this check:

Code: Select all

my $res = $ua->get("$f->{srv_htdocs_url}/index.html");
   push @tests, $res->content eq 'XFS' ? 'htdocs URL accessibility: OK' : "htdocs URL accessibility: ERROR (should see XFS on <a href='$f->{srv_htdocs_url}/index.html' target=_blank>link</a>)";

GMC
Posts: 172
Joined: Aug 15, 2009 4:48 am

#3 Postby GMC » Aug 25, 2009 10:41 am

PilgrimX182 wrote:That's weird, but you can comment these lines in index.cgi to disable this check:

Code: Select all

my $res = $ua->get("$f->{srv_htdocs_url}/index.html");
   push @tests, $res->content eq 'XFS' ? 'htdocs URL accessibility: OK' : "htdocs URL accessibility: ERROR (should see XFS on <a href='$f->{srv_htdocs_url}/index.html' target=_blank>link</a>)";
Thanks for the fast response - I'll try that now!!

G