>>>>> "G" == Gary Lawrence Murphy <[EMAIL PROTECTED]> writes:
G> My httpd-perl seems to work on its own, but I can't figure out
G> why it won't step in for any *.pl files outside of the /perl
G> directory.
I thought I'd answered my own question: The configuration of what
gets handed to httpd-perl is the regular expressions in httpd.conf:
<IfDefine PERLPROXIED>
RewriteEngine on
RewriteRule ^proxy:.* - [F]
RewriteRule ^(.*\/perl\/.*)$ http://%{HTTP_HOST}:8200$1 [P]
RewriteRule ^(.*\/cgi-perl\/.*)$ http://%{HTTP_HOST}:8200$1 [P]
</IfDefine>
I added the following expressions:
RewriteRule ^(.*\/metadot\/.*)$ http://%{HTTP_HOST}:8200$1 [P]
RewriteRule ^(.*\/.*\.pl)$ http://%{HTTP_HOST}:8200$1 [P]
RewriteRule ^(.*\/.*\.pl?.*)$ http://%{HTTP_HOST}:8200$1 [P]
and now I get proper handling of all the perl scripts scattered across
our intranet machine _but_ the server now fails to handle _any_
text/html pages!! I can serve perl, txt or any other kind of content
including shtml, but all .html or .htm files cause a SegFault in the
httpd and return no data.
Is there something wrong with my regexps?
I also tried running httpd -X under strace, but there's no real clue
there as to what is failing, and httpd -X does not appear to run under
gdb --- none of the logs give any clues either. How might I go about
debugging this?
BTW, I only ask here because it appears to be a problem peculiar to
the Mandrake "Advanced" server kit.
--
Gary Lawrence Murphy <[EMAIL PROTECTED]>: office voice/fax: 01 519 4222723
T(C)Inc Business Innovations through Open Source http://www.teledyn.com
KernelWiki Community Linux Docs: http://kernelbook.sourceforge.net/wiki