[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Help with Script Error Badly Needed



When trying to execute a script I get the following error:

------
Execution of (/web/cgi-bin/upgrade.cgi) is not permitted for the following
reason:


Script file not found.

## I of course checked to see if the file "upgrade.cgi" was present and it
was in "/home/sites/site4/web/cgi-bin"
## [root cgi-bin]# ls -la upgrade.cgi
## -rwxr-xr-x   1 admin    site4        1885 Apr  9 14:34 upgrade.cgi
----------------------------------------------------------------------------
----


Local Information and Documentation:

Contact Name: Administrator
Contact EMail: admin

Server Data:

Server Administrator/Contact: admin
Server Name: www.prndev.org
Server Port: 80
Server Protocol: HTTP/1.1

Request Data:

User Agent/Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Request Method: GET
Remote Address: 216.164.6.43
Remote Port: 1440
Query String: page=level1_2_3.htm&accesslevel=5
Extra Path Info: /cgi-bin/upgrade.cgi
Referring Page: http://www.prndev.org/


## End of error message.
------

Next I checked my httpd.conf file for this virtual site, here is the section
that deal with this virtual site:

## From httpd.conf

NameVirtualHost 64.70.255.132
<VirtualHost 64.70.255.132>
ServerName www.prndev.org
ServerAdmin admin
DocumentRoot /home/sites/site4/web
ScriptAlias /cgi-bin/ /web/cgi-bin/
<Directory /web/cgi-bin/>
Options ExecCGI
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^64.70.255.132(:80)?$
RewriteCond %{HTTP_HOST}                !^www.prndev.org(:80)?$
RewriteRule ^/(.*)                      http://www.prndev.org/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site4/users/$1/web/$3
# AddHandler chiliasp .asp
# AddHandler chiliasp .asa
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
-------

Any ideas?  Do I have my path wrong in the ScriptAlias directive?

Thanks,  John ...