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

Re: [cobalt-users] Can't run CGI's



On Wed, 23 May 2001, Max   wrote:

> I can't seem to be running CGI's on my RAQ3.
> 
> I have enableded CGI Scripts. However, I can't run any *.cgi scripts.
> 
> I took a look at my httpd.conf file and it looks like below:
> 
> ----------------------------------------
> <VirtualHost xx.xx.xx.xx>
> ServerName www.xxxx.com
> ServerAdmin admin
> DocumentRoot /home/sites/site1/web
> ServerAlias xxx.com
> RewriteEngine on
> RewriteCond %{HTTP_HOST}                !^xxx.xxxx.xxx.xxx(:80)?$
> RewriteCond %{HTTP_HOST}                !^www.xxxx.com(:80)?$
> RewriteRule ^/(.*)                      http://www.xxxx.com/$1 [L,R]
> RewriteOptions inherit
> AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site1/users/$1/web/$3
> AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site1/users/$1/web/$3
> AddHandler cgi-wrapper .cgi
> AddHandler cgi-wrapper .pl
> AddHandler server-parsed .shtml
> AddType    text/html     .shtml
> </VirtualHost>
> 
> ---------------------------------------
> 
> I guess I don't know the difference between cgi-scripts and cgi-wrapper!
> 
> So, how can I run cgi-scripts?
> 

The question is what you're getting.

A 500 Internal Server Error? 

A message from CGIWrap security?

if it's the second one then your problem is listed there in the very same
page!

- shimi.