Here is a weird thing. Maybe I just didn't understand how it's supposed to work but it seems a little weird to me.
As I explained in the previous statement, I used scriptalias so that the virtual host would have it's own cgi-bin directory.
To perform more tests, I instaled the application on the default web server in the default cgi-bin directory with a second application folder under a different name.
Now when I open my browser to http://defaultSite/cgi-bin
it works
when I open my browser to http://virtualhost/cgi-bin
I also works but it's executing the script from the default cgi-bin NOT from the virtualhost cgi-bin
what the hell...???!
Main Topics
Browse All Topics





by: samriPosted on 2003-09-24 at 04:51:56ID: 9419892
Does the scripts work if you were to view it from the internal host?
IMHO, the error normally there because the script tend to print extre stuff before "Content-type: text/html". Please could you try running the script (neomail.pl) from command line, and examine the first few lines. And remember even if there is a blank line (it would failed).
next thing to check if the fisrt line; check if #!/bin/perl or #!/usr/bin/perl (or whatever), and check against your system and see the perl is there, as in the scripts.
* I hope you could understand my english. :)