in reply to CGI web server in Perl
Really, it shouldn't be that hard in Apache, on whatever platform you're running it on (*nix-slanted instructions are here).
You're probably missing something easily fixed, but which has to work right; it's hardly worth the effort to reinvent this wheel. CGI is a protocol that has to be implemented in a certain way to work right (e.g. the user input has to get to the right place). Although I'm pretty sure one could implement something like it in HTTP::Daemon, unless you're looking for a wacky project stick with the tried-and-true solution (one could, in the same sense, replicate the Empire State building in downtown London all by oneself).
Try putting something like this in your httpd.conf file; if it doesn't work, say what's not working (500 error? Just shows the source code?) and look at your webserver's error_log.
# might need to be /apache/cgi-bin -> points to a directory on your ha +rd drive Alias /cgi-bin c:\apache\cgi-bin <Location /cgi-bin> AllowOverride None Order allow,deny Allow from all Options +ExecCGI </Location>
HTH
Philosophy can be made out of anything. Or less -- Jerry A. Fodor
|
|---|