I installed fileman Single user version for a friend on their virtual server.
I set show_pass to 0
the url www.alandalus-school.edu/cgi-bin/fileman/fileman.cgi
the script is chmod 755
The paths are giving me trouble though:
The virtual server provider says that cgi scripts run in the virtual environment, so paths should look like /usr/local/etc/httpd/cgi-bin/fileman/fileman.cgi
but when I type pwd, iget:
/usr/home/andalus/usr/local/etc/httpd/cgi-bin/fileman/fileman.cgi
This ofcourse applies to all paths
The document root is ..as above../httpd/htdocs/
Here is the configs:
%config = (
root_dir => "/usr/home/andalus/usr/local/etc/httpd/htdocs",
logfile => "/usr/home/andalus/usr/local/etc/httpd/cgi-bin/fileman
/fileman.log",
password_dir => "/usr/home/andalus/usr/local/etc/httpd/cgi-bin/fileman
/pass",
root_url => "http://www.alandalus-school.edu",
script_url => "http://www.alandalus-school.edu/cgi-bin/fileman/filem
an.cgi",
icondir_url => 'http://www.alandalus-school.edu/images/icons',
use_flock => 1,
allowed_space => 150000,
max_upload => 75,
show_size => 1,
show_date => 1,
show_perm => 1,
show_icon => 1,
show_pass => 0,
);
I also tryed with the virtual paths
No luck at all. It just gives me Internal Server Error.
I tried to run the script from the command line, but it asks for "name=vale"
I just typed ^D
and it printed the html come OK!!!! (when using paths in config above)
It gave errors when using virtual paths (which is what the Vserver vendors say we must use)
Its all very confusing, and I don't understand what is going on!
Why is it working from command line but not browser with the paths wrongly addressed (ie actual rather han virtual)
Any aswers please
I set show_pass to 0
the url www.alandalus-school.edu/cgi-bin/fileman/fileman.cgi
the script is chmod 755
The paths are giving me trouble though:
The virtual server provider says that cgi scripts run in the virtual environment, so paths should look like /usr/local/etc/httpd/cgi-bin/fileman/fileman.cgi
but when I type pwd, iget:
/usr/home/andalus/usr/local/etc/httpd/cgi-bin/fileman/fileman.cgi
This ofcourse applies to all paths
The document root is ..as above../httpd/htdocs/
Here is the configs:
%config = (
root_dir => "/usr/home/andalus/usr/local/etc/httpd/htdocs",
logfile => "/usr/home/andalus/usr/local/etc/httpd/cgi-bin/fileman
/fileman.log",
password_dir => "/usr/home/andalus/usr/local/etc/httpd/cgi-bin/fileman
/pass",
root_url => "http://www.alandalus-school.edu",
script_url => "http://www.alandalus-school.edu/cgi-bin/fileman/filem
an.cgi",
icondir_url => 'http://www.alandalus-school.edu/images/icons',
use_flock => 1,
allowed_space => 150000,
max_upload => 75,
show_size => 1,
show_date => 1,
show_perm => 1,
show_icon => 1,
show_pass => 0,
);
I also tryed with the virtual paths
No luck at all. It just gives me Internal Server Error.
I tried to run the script from the command line, but it asks for "name=vale"
I just typed ^D
and it printed the html come OK!!!! (when using paths in config above)
It gave errors when using virtual paths (which is what the Vserver vendors say we must use)
Its all very confusing, and I don't understand what is going on!
Why is it working from command line but not browser with the paths wrongly addressed (ie actual rather han virtual)
Any aswers please