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

[cobalt-developers] (raq4) Error from cgiwrap.



Hi. I wrote this 'free webmail' script, I'm installing it on a Raq4.

The script supports multiple domains, so I want people to access it from
their sites like this:

www.anysite.com/webmail-cgi/

I installed the files on /home/webmail/webmail-cgi, so I put this on srm.conf:

Alias   /webmail-cgi/   /home/webmail/webmail-cgi/

And I also put this at the end of access.conf:

<Directory /home/webmail>
AllowOverride All        
Options All              
</Directory>             

I can access all the .html and .php files on the directory, but when I try
to run a .pl file, I get an error 500. If I use cgiwrapd to watch the
debuger output, I get this:

--
Initializing Logging
Redirecting STDERR to STDOUT

Cobalt RaQ virtual site CGI wrapper

Setting SIGXCPU to default behaviour

Environment Variables:
     QUERY_STRING: ''
      SCRIPT_NAME: '/cgiwrapDir/cgiwrapd'
        PATH_INFO: '/webmail-cgi/fecha.pl'
  PATH_TRANSLATED: '/home/webmail/webmail-cgi/fecha.pl'
      REMOTE_USER: '<NULL>'
      REMOTE_HOST: '<NULL>'
      REMOTE_ADDR: '24.232.1.224'

Trying to extract user from PATH_INFO.
Retrieved User Name:  ''
--

And that's all. no error.

Any ideas? did I forget to set something on the apache config files?

Thanks for your help.. bye.

Ariel.