Having googl'd and read various faqs, cookbooks...
Site worked OK under CGI, but slowly -- on an old machine.
I have converted to mod_perl only using the Apache::Registry. Application uses CGI::App and HTML::Template.
Site runs faster now, but warnings disappeared from all logs. [errors] show up, but not warnings.
Any ideas on what I'm doing wrong?
Thanks, Eric.
httpd.conf ----------
LogLevel warn PerlModule Apache::Registry ...
<VirtualHost _default_:443>
DocumentRoot /var/www/pick6/
ServerName www.yadda.com
ServerAdmin [EMAIL PROTECTED]
ErrorLog logs/error_log
TransferLog logs/access_log
ErrorLog /var/www/logs/pick6.error_log
CustomLog /var/www/logs/pick6.access_log common
Alias /perl/ /var/www/pick6/cgi-bin/
ServerAlias yadda.com *.yadda.com
SSLEngine on
SSLCertificateFile /etc/ssl/server.crt
SSLCertificateKeyFile /etc/ssl/private/server.key
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
Have you looked in the main error log (as opposed to /var/www/logs/pick6.error_log) for the warnings? I couldn't find my warns for a long time until I finally thought to check there. Errors (anything that causes an internal server error to display in the browser) show up in the per-host log, but the warn level STDERR all ignores the ErrorLog directive and goes to the main log. This may be what's happening to you.
I don't know how to fix it (if anyone else on here does, please let me know as well as Eric :), but in the meantime I just keep both error logs open. A pain, but bearable (at least for me).
Jacob Fugal