CGIs and SSL?

pll at lanminds.com pll at lanminds.com
Wed Feb 19 10:01:20 EST 2003


In a message dated: Tue, 18 Feb 2003 17:38:20 EST
Dan Coutu said:

>I'm guessing you already checked your web server configuration for the SSL 
>instance of the virtual host. If not, do.

Yeah, the site itself works fine.  I'm running slash, FAQ-O-Matic, 
and a number of CGIs I've written myself on the site just fine.
It's only the usemod-wiki program that won't work properly under SSL.

>Something I find to be very useful is to add (if it's not already there) 
>'require CGI::Carp' to the perl code. Then you can add carp('yourmessage') 
>calls wherever you like in order to see what is really going on. The 
>messages will show up in the web server's error log (typically 
>/var/log/httpd/error_log on many Linux systems.)

I think that's in there, but I'll go an check that again, thanks for 
reminding me!

>Additionally, if you wrap them in a statement like:
>
>	carp("Received name with value = " . $Name) if $Debug;
>
>Then you can enable/disable them with one easy edit by assigning $Debug the 
>value of either 0 or 1.

Not a bad idea!  Thanks!
-- 

Seeya,
Paul
--
Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE

	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

	 If you're not having fun, you're not doing it right!





More information about the gnhlug-discuss mailing list