hi~
Who can help me ?
I set the FILEMAN like this:
mode A:
%config = (
root_dir => '/data1/hypermart.net/cgi',
logfile => '/data1/hypermart.net/test/fileman.log',
password_dir => '/data1/hypermart.net/test',
root_url => 'http://cgi.hypermart.net',
script_url => 'http://test.hypermart.net/fileman.cgi',
icondir_url => 'http://test.hypermart.net',
use_flock => 1,
allowed_space => 500000000,
max_upload => 2000,
show_size => 1,
show_date => 1,
show_perm => 1,
show_icon => 1,
show_pass => 1,
version => '1.0'
);
ID of the "cgi" and "test" is the same server,
but i can't edit all files in the '/data1/hypermart.net/cgi'
,WHY?
Always show me
CGI ERROR
==========================================
Error Message : Can't open dir: '/data1/hypermart.net/cgi'
Reason: Permission denied
Script Location : /data1/hypermart.net/test/fileman.cgi
Perl Version : 5.00503
IF I change the %config to like this:
mode B:
%config = (
root_dir => '/data1/hypermart.net/test',
logfile => '/data1/hypermart.net/test/fileman.log',
password_dir => '/data1/hypermart.net/test',
root_url => 'http://test.hypermart.net',
script_url => 'http://test.hypermart.net/fileman.cgi',
icondir_url => 'http://test.hypermart.net',
use_flock => 1,
allowed_space => 500000000,
max_upload => 2000,
show_size => 1,
show_date => 1,
show_perm => 1,
show_icon => 1,
show_pass => 1,
version => '1.0'
);
It work ok!
My problem is:
How to let it can work like i set mode A:
Who can help me to modify the FILEMAN.cgi can work at
mode A:
PS:My english is not good enough,so...sorry
Who can help me ?
I set the FILEMAN like this:
mode A:
%config = (
root_dir => '/data1/hypermart.net/cgi',
logfile => '/data1/hypermart.net/test/fileman.log',
password_dir => '/data1/hypermart.net/test',
root_url => 'http://cgi.hypermart.net',
script_url => 'http://test.hypermart.net/fileman.cgi',
icondir_url => 'http://test.hypermart.net',
use_flock => 1,
allowed_space => 500000000,
max_upload => 2000,
show_size => 1,
show_date => 1,
show_perm => 1,
show_icon => 1,
show_pass => 1,
version => '1.0'
);
ID of the "cgi" and "test" is the same server,
but i can't edit all files in the '/data1/hypermart.net/cgi'
,WHY?
Always show me
CGI ERROR
==========================================
Error Message : Can't open dir: '/data1/hypermart.net/cgi'
Reason: Permission denied
Script Location : /data1/hypermart.net/test/fileman.cgi
Perl Version : 5.00503
IF I change the %config to like this:
mode B:
%config = (
root_dir => '/data1/hypermart.net/test',
logfile => '/data1/hypermart.net/test/fileman.log',
password_dir => '/data1/hypermart.net/test',
root_url => 'http://test.hypermart.net',
script_url => 'http://test.hypermart.net/fileman.cgi',
icondir_url => 'http://test.hypermart.net',
use_flock => 1,
allowed_space => 500000000,
max_upload => 2000,
show_size => 1,
show_date => 1,
show_perm => 1,
show_icon => 1,
show_pass => 1,
version => '1.0'
);
It work ok!
My problem is:
How to let it can work like i set mode A:
Who can help me to modify the FILEMAN.cgi can work at
mode A:
PS:My english is not good enough,so...sorry