When I installed my script at home, all the functions worked superbly. I was excited for two reasons:
1. finally I could password protect my directories;
2. finally I could "FTP" to my website from work.
Well, the first worked like a charm. Then when I got to work, I could not connect. I am suspecting that the reson is that our PCs at work are all behind a proxy server. I can however, set passwords to directories from work.
The error message I receive when attempting to edit or CHMOD various files is:
CGI ERROR
==========================================
Error Message : Unable to change permissions for 'links.cfg' to '777'. Reason: Operation not permitted
Script Location : /home/emmgee/.//public_html/fileman/fileman.cgi
Perl Version : 5.00404
Configuration
-------------------------------------------
allowed_space : 9999
icondir_url : /icons
logfile : /home/emmgee/public_html/fileman/fileman.log
max_upload : 9999
password_dir : /home/emmgee/public_html/fileman/pass
root_dir : /home/emmgee/public_html
root_url : http://genweb.net/~emmgee
script_url : http://genweb.net/~emmgee/fileman/fileman.cgi
show_date : 1
show_icon : 1
show_pass : 1
show_perm : 1
show_size : 1
use_flock : 1
version : 1.0
Form Variables
-------------------------------------------
action : permissions
name : links.cfg
newperm : 777
wd : cgi-bin2/admin
Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /home/httpd/genweb.net
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_LANGUAGE: en
HTTP_HOST : genweb.net
HTTP_PROXY_CONNECTION: Keep-Alive
HTTP_REFERER : http://genweb.net/~emmgee/fileman/fileman.cgi
HTTP_USER_AGENT : Mozilla/4.04 [en] (WinNT; U ;Nav) via proxy gateway CERN-HTTPD/3.0 libwww/2.17
PATH : /sbin:/usr/sbin:/bin:/usr/bin
QUERY_STRING : action=permissions&name=links.cfg&newperm=777&wd=cgi-bin2/admin
REMOTE_ADDR : 159.37.7.57
REMOTE_HOST : trill.wellsfargo.com
REMOTE_PORT : 3796
REQUEST_METHOD : GET
REQUEST_URI : /%7Eemmgee/fileman/fileman.cgi?action=permissions&name=links.cfg&newperm=777&wd=cgi-bin2/admin
SCRIPT_FILENAME : /home/emmgee/.//public_html/fileman/fileman.cgi
SCRIPT_NAME : /~emmgee/fileman/fileman.cgi
SERVER_ADMIN : webmaster@genweb.net
SERVER_NAME : genweb.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.3 (Unix)
And when I attempt to edit a file:
CGI ERROR
==========================================
Error Message : Can't open: '/home/emmgee/public_html/cgi-bin2/admin/links.cfg'.
Reason: Permission denied
Script Location : /home/emmgee/.//public_html/fileman/fileman.cgi
Perl Version : 5.00404
Any suggestions? Any help is greatly appreciated!!! Thanks!
------------------
Thanks!
Michael
1. finally I could password protect my directories;
2. finally I could "FTP" to my website from work.
Well, the first worked like a charm. Then when I got to work, I could not connect. I am suspecting that the reson is that our PCs at work are all behind a proxy server. I can however, set passwords to directories from work.
The error message I receive when attempting to edit or CHMOD various files is:
CGI ERROR
==========================================
Error Message : Unable to change permissions for 'links.cfg' to '777'. Reason: Operation not permitted
Script Location : /home/emmgee/.//public_html/fileman/fileman.cgi
Perl Version : 5.00404
Configuration
-------------------------------------------
allowed_space : 9999
icondir_url : /icons
logfile : /home/emmgee/public_html/fileman/fileman.log
max_upload : 9999
password_dir : /home/emmgee/public_html/fileman/pass
root_dir : /home/emmgee/public_html
root_url : http://genweb.net/~emmgee
script_url : http://genweb.net/~emmgee/fileman/fileman.cgi
show_date : 1
show_icon : 1
show_pass : 1
show_perm : 1
show_size : 1
use_flock : 1
version : 1.0
Form Variables
-------------------------------------------
action : permissions
name : links.cfg
newperm : 777
wd : cgi-bin2/admin
Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /home/httpd/genweb.net
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_LANGUAGE: en
HTTP_HOST : genweb.net
HTTP_PROXY_CONNECTION: Keep-Alive
HTTP_REFERER : http://genweb.net/~emmgee/fileman/fileman.cgi
HTTP_USER_AGENT : Mozilla/4.04 [en] (WinNT; U ;Nav) via proxy gateway CERN-HTTPD/3.0 libwww/2.17
PATH : /sbin:/usr/sbin:/bin:/usr/bin
QUERY_STRING : action=permissions&name=links.cfg&newperm=777&wd=cgi-bin2/admin
REMOTE_ADDR : 159.37.7.57
REMOTE_HOST : trill.wellsfargo.com
REMOTE_PORT : 3796
REQUEST_METHOD : GET
REQUEST_URI : /%7Eemmgee/fileman/fileman.cgi?action=permissions&name=links.cfg&newperm=777&wd=cgi-bin2/admin
SCRIPT_FILENAME : /home/emmgee/.//public_html/fileman/fileman.cgi
SCRIPT_NAME : /~emmgee/fileman/fileman.cgi
SERVER_ADMIN : webmaster@genweb.net
SERVER_NAME : genweb.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.3 (Unix)
And when I attempt to edit a file:
CGI ERROR
==========================================
Error Message : Can't open: '/home/emmgee/public_html/cgi-bin2/admin/links.cfg'.
Reason: Permission denied
Script Location : /home/emmgee/.//public_html/fileman/fileman.cgi
Perl Version : 5.00404
Any suggestions? Any help is greatly appreciated!!! Thanks!
------------------
Thanks!
Michael