----- Original Message -----
From: Bryn Joynes
Hi,
I'm learning Perl and making some CGI scripts using perl. The scripts run fine in a shell but when I run them under lynx I get a HTTP/1.1 403 Forbidden. I'm using SuSE6.3 and I have read that SuSE now only uses mod_perl and disables CGI scripting I believe.
Can someone please help me to enable CGI scripting so I can carry on learning perl and CGI? Also I would be very interested in knowing a little more about this mod_perl, so a reference to a web site would be helpful please. I have tried to read the manuals and have looked at some configuration files, but thought I would ask before I screwed it up. I do have a tendency to do that on times.
Thanks in advance...
Bryn Joynes N4VM EM65LO
Check the permission on the script first, it would be "world" executable and readable (read not required for binary CGI scripts). (something like 755 should work). If that checks out, you have to tell apache what directories can have cgi execute premissions (for security reasons), if you put it in '/usr/local/httpd(apache??)/cgi-bin' that should work by default. If you want to put a cgi-bin directory under your home directory so your normal user account can have access to cgi scripts, you must reconfigure 'httpd.conf' (then restart apache `bin/apachectl restart`. It is kinda of complex and I don't know if I could explain it properly (I don't really understand it to well), but if you head over to http://www.apache.org and read the "Apache Web Server FAQ" they do have a section in the FAQ regarding this and they would be able to explain it clearer and more thoughly then I could. Jack -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/