View Single Post
 
Old Jul 01, 2001, 04:41 AM
johnca johnca is offline
New Member
 
Member Since: Jul 2001
Posts: 1
I got this error message, which looks to me like it wants my cgi directory to be 777 (yes, it's CGI-Executables on Mac OS X, the 'cgi' is the result of a ScriptAlias directive in Apache's httpd.conf file) to be 777. But that's a security risk, right? Any help gratefully accepted.

CGI ERROR
==========================================
Error Message : unable to open: /Library/WebServer/CGI-Executables/ojaccess.db.
Reason: Permission denied
Script Location : /Library/WebServer/CGI-Executables/oj.cgi
Perl Version : 5.006
Setup File : default.cfg

Form Variables
-------------------------------------------
auth : newpass
password : test
pw : test
userid : johnca
username : johnca
verify : test

Environment Variables
-------------------------------------------
CONTENT_LENGTH : 54
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /Library/WebServer/Documents
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/xbm, image/png, text/html, text/plain, */*
HTTP_ACCEPT_LANGUAGE: en
HTTP_HOST : 192.168.0.9
HTTP_REFERER : http://192.168.0.9/cgi/oj.cgi
HTTP_USER_AGENT : iCab/2.5.1 (Macintosh; I; PPC)
PATH : /bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec:/System/Library/CoreServices
QUERY_STRING :
REMOTE_ADDR : 192.168.0.9
REMOTE_PORT : 51165
REQUEST_METHOD : POST
REQUEST_URI : /cgi/oj.cgi
SCRIPT_FILENAME : /Library/WebServer/CGI-Executables/oj.cgi
SCRIPT_NAME : /cgi/oj.cgi
SERVER_ADDR : 192.168.0.13
SERVER_ADMIN : admin@ourpla.net
SERVER_NAME : 127.0.0.1
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SIGNATURE : Apache/1.3.14 Server at 127.0.0.1 Port 80

SERVER_SOFTWARE : Apache/1.3.14 (Darwin)

Thanks for this!
Angelique67