![]() |
FAQ/Help |
Calendar |
Search |
#1
|
|||
|
|||
I've just recently (well, yesterday) learned how to install cgi scripts. Some of them are very easy, but others aren't. I'm having trouble with the open journal installation. I've followed all of the instructions, but it's still not working. i get the following error:
CGI ERROR ========================================== Error Message : unable to open directory in auth_cleanup: /home/httpd/cgi-bin/oj/ojauth. Reason: No such file or directory Script Location : /home/sites/site9/web/cgi-bin/oj.cgi Perl Version : 5.00503 Setup File : default.cfg Form Variables ------------------------------------------- pw : userid : Environment Variables ------------------------------------------- DOCUMENT_ROOT : /home/sites/site9/web GATEWAY_INTERFACE : CGI/1.1 HTTP_ACCEPT : */* HTTP_ACCEPT_ENCODING: gzip, deflate HTTP_ACCEPT_LANGUAGE: en-us HTTP_CONNECTION : Keep-Alive HTTP_HOST : candice.csidns.com HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.5; MSNIA; Windows 98) PATH : /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin PATH_INFO : /cgi-bin/oj.cgi PATH_TRANSLATED : /home/sites/site9/web/cgi-bin/oj.cgi QUERY_STRING : REDIRECT_SCRIPT_URI : http://candice.csidns.com/cgi-bin/oj.cgi REDIRECT_SCRIPT_URL : /cgi-bin/oj.cgi REDIRECT_STATUS : 200 REDIRECT_UNIQUE_ID : O2arONCbRYUAABikltA REDIRECT_URL : /cgi-bin/oj.cgi REMOTE_ADDR : 63.22.8.166 REMOTE_PORT : 2012 REQUEST_METHOD : GET REQUEST_URI : /cgi-bin/oj.cgi SCRIPT_FILENAME : /usr/cgiwrap/cgiwrap SCRIPT_NAME : /cgi-bin/oj.cgi SCRIPT_URI : http://candice.csidns.com/cgi-bin/oj.cgi SCRIPT_URL : /cgi-bin/oj.cgi SERVER_ADMIN : admin SERVER_NAME : candice.csidns.com SERVER_PORT : 80 SERVER_PROTOCOL : HTTP/1.1 SERVER_SIGNATURE : SERVER_SOFTWARE : Apache/1.3.6 (Unix) mod_perl/1.21 mod_ssl/2.2.8 OpenSSL/0.9.2b UNIQUE_ID : O2arONCbRYUAABikltA I have no Idea what is wrong. I've changed things that I knew to change, but on others I have no idea. Example: # Path to your Web site's main HTML directory (where the oj subdirectory is; # no trailing slash): $mydir = "/home/httpd/html"; # Complete path to your cgi-bin directory (no trailing slash): $progdir = "/home/httpd/cgi-bin/oj"; what is to go as the location? I know I may sound stupid, but I really have no idea. i think that my be why it's not working, or at least just a reason. Anyway, if you could help then I'd much appreciate it. Thanks, Candice |
#2
|
||||
|
||||
Okay, to answer your last question first, your paths should look something like: $mydir = "/home/sites/site9/web"; $progdir = "/home/sites/site9/web/cgi-bin/"; As to your first question, it's a matter of creating a subdirectory in your cgi-bin directory called ojauth. After you create this directory, set permissions on it (you can do this through your FTP program) to "777" (CHMOD 777 ojauth). (Your Web server should be configured correctly to prevent viewing of this directory from a Web browser, so 777 should be okay.) Hope this helps, John
__________________
Don't throw away your shot. |
Reply |
|
![]() |
||||
Thread | Forum | |||
confused... deeply confused... | Psychotherapy | |||
confused | Depression | |||
still confused??? | Bipolar | |||
new and confused... | New Member Introductions |