Gossamer Forum
Home : Products : Others : Fileman :

Filemanager help

Quote Reply
Filemanager help
I have done everything (I think) as I have read in the help file and in the messages on this forum, but I still cannot get my fileman to run. I keep getting a server error 500.

Here's the section of my fileman.cgi that I needed to change:

#!/usr/bin/perl

%config = (
root_dir => "/web/sites/275/tcarroll/ www.canyonviewpto.f2s.com",
logfile => "/web/sites/275/tcarroll/ www.canyonviewpto.f2s.com/cgi-bin/fileman/fileman.log",
password_dir => "/web/sites/275/tcarroll/ www.canyonviewpto.f2s.com/cgi-bin/fileman/pass",
root_url => "http://www.canyonviewpto.f2s.com",
script_url => "http://www.canyonviewpto.f2s.com/cgi-bin/fileman/fileman.cgi",
icondir_url => 'http://www.canyonviewpto.f2s.com/icons',
use_flock => 1,
allowed_space => 20000,
max_upload => 1000,
show_size => 1,
show_date => 1,
show_perm => 1,
show_icon => 1,
show_pass => 1,
version => '1.0'
);

%icons = (
'gif jpg jpeg bmp' => 'image2.gif',
'txt' => 'quill.gif',
'cgi pl' => 'script.gif',
'zip gz tar' => 'zip.gif',
'htm html shtm shtml' => 'comp.blue.gif',
'wav au mid mod' => 'sound2.gif',
class => 'applet.gif'
folder => 'folder.gif',
parent => 'back.gif',
unknown => 'unknown.gif'
);

I have chmod all the directories as instructed and cannot for the life of me get it to work.

A couple of things I've noticed that are in conflict are as follows:

1 - Why do the first 6 config items have double quotes " at each end, but the last 11 have a single quote ' encompassing it? (I tried changing all to be the same with single and double with no luck)
2 - I use CuteFTP v2.0 to upload the cgi file to the site. When I send it up in ASCII mode it comes up about 1300 bytes shorter than the file on my local hard drive. However, if I upload it in binary mode it matches the same number of bytes. (I tried both way with no luck)

CHMOD values of my site:
www.canyonviewpto.f2s.com - drwxrwxrwx
www.canyonviewpto.f2s.com/cgi-bin - drwxr-xr-x
www.canyonviewpto.f2s.com/cgi-bin/files - drwxr-xr-x
www.canyonviewpto.f2s.com/cgi-bin/files/fileman.cgi - -rwxr-xr-x
www.canyonviewpto.f2s.com/cgi-bin/files/fileman.log - -rwxr-xr-x
www.canyonviewpto.f2s.com/cgi-bin/files/pass - drwxrwxrwx

I've worked with all the possibilities I can think of that could be causing this error, but to no avail it does not work.

I appreciate any help.

Thanks in advance,

Tom

Subject Author Views Date
Thread Filemanager help tcarroll 2961 Dec 7, 2000, 10:08 PM
Thread Re: Filemanager help
Jeremy.Kerr 2918 Dec 7, 2000, 10:31 PM
Thread Re: Filemanager help
tcarroll 2912 Dec 8, 2000, 1:15 PM
Post Re: Filemanager help
Jeremy.Kerr 2902 Dec 10, 2000, 8:27 AM