RE: problem, pulling my dam hair out
This is not working for me. Any chance you can mail your config? Also, is your mod_perl a DSO or bult statically. I have done this on at least 100 other servers in my time. What am I missing this time? Thanks, Chuck -Original Message- From: tom poe [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 3:29 PM To: Chuck Carson; [EMAIL PROTECTED] Subject: Re: problem, pulling my dam hair out On Thursday 29 November 2001 14:37, Chuck Carson wrote: > I have the following config: > > apache 1.3.22 with perl 1.26 built statically > > I want to use perl to dynamically generate html pages, so I have .pl > files under DOCUMENT_ROOT. > > I have this config: > > Alias /perl /usr/local/apache/cgi-bin > > SetHandler perl-script > PerlHandler Apache::Registry > Options +ExecCGI > > > SetHandler perl-script > PerlHandler Apache::Registry > Options ExecCGI > > > Whenever I try and get a perl script from a web browser, it pops up a > dialog asking to save the damn file. I have tried Netscape 4.79 on NT > and Unix as well as IE 5.5. I have configured a server in this manner > probably 100 times, I cannot find what I a missing this particuliar > time. > > > Anyone have any ideas? > > Thanks, > Chuck Hi, Chuck: For starters, is the line above correct: > Alias /perl /usr/local/apache/cgi-bin or should you use: Alias /perl/ /usr/local/apache/cgi-bin/ The other thing you might check in that area, is a line that says something like: AddHandler cgi-script .pl .cgi I'm running SuSE7.1, and Apache1.3.14 with a documentRoot of /usr/local/httpd/htdocs/ hth tom
RE: problem, pulling my dam hair out
Where would this go? In the Directory section of the Files section? -Chuck -Original Message- From: Knox, Laurie A, NPONS [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 3:17 PM To: Chuck Carson; [EMAIL PROTECTED] Subject: RE: problem, pulling my dam hair out The only difference I can see with your setup is the following additional line: AddHandler perl-script .pl HTH, Laurie Laurie Knox AT&T - NETAC [EMAIL PROTECTED] -Original Message- From: Chuck Carson [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 5:38 PM To: [EMAIL PROTECTED] Subject: problem, pulling my dam hair out I have the following config: apache 1.3.22 with perl 1.26 built statically I want to use perl to dynamically generate html pages, so I have .pl files under DOCUMENT_ROOT. I have this config: Alias /perl /usr/local/apache/cgi-bin SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI Whenever I try and get a perl script from a web browser, it pops up a dialog asking to save the damn file. I have tried Netscape 4.79 on NT and Unix as well as IE 5.5. I have configured a server in this manner probably 100 times, I cannot find what I a missing this particuliar time. Anyone have any ideas? Thanks, Chuck Chuck Carson Systems Administrator [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 858.202.4188 Office 858.442.0827 Mobile 858.623.0460 Fax
problem, pulling my dam hair out
I have the following config: apache 1.3.22 with perl 1.26 built statically I want to use perl to dynamically generate html pages, so I have .pl files under DOCUMENT_ROOT. I have this config: Alias /perl /usr/local/apache/cgi-bin SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI Whenever I try and get a perl script from a web browser, it pops up a dialog asking to save the damn file. I have tried Netscape 4.79 on NT and Unix as well as IE 5.5. I have configured a server in this manner probably 100 times, I cannot find what I a missing this particuliar time. Anyone have any ideas? Thanks, Chuck Chuck Carson Systems Administrator [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 858.202.4188 Office 858.442.0827 Mobile 858.623.0460 Fax
Re: Child keeps seg faulting
I have no problems on Linux, my exact same build procedure gives me this error on Solaris 2.7. What is the recommended combo for Solaris 2.7? I am currently using this: apache 1.3.19 mod_perl 1.25 php 4.04pl1 perl 5.6 When I build the server w/o mod_perl, it works fine, although I did not throw any extensive php code at it. I need mod_perl either as a DSO or built statically. I am also going to use the weblogic DSO as well, so I must have shared mem enabled. Thanks for any suggestions, Chuck - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 27, 2001 12:59 AM Subject: Re: Child keeps seg faulting > > > Hi! > > I have had similar problems with Linux. I have tried with different > combinations: > * perl versions 5.005_3, 5.6.0, 5.6.1, ActivePerl 5.6.0 > * apache versions from 1.3.9 - 1.3.19 > * with and without dso > * never with php > > The combination that seems to work now for us is apache_1.3.14, > mod_perl-1.24_01, mod_ssl-2.7.1-1.3.14, openssl-0.9.6, ApacheJServ-1.1.2 > and 5.005_03 built for i386-linux. All are compiled statically in RedHat > 6.2 with updates. > > Now I have two candidates for the possible cause: > * the order in which the modules are loaded > * autoindex (I use Apache::AutoIndex 0.08) > > To test with the module order, I put ClearModuleList in the top of the > httpd.conf and then add with 'AddModule' all the modules (by running > 'httpd -l'). Make sure that the mod_perl is the last module to be > loaded. Now (all?) the earlier segfaults are gone. Maybe the installation > loads the modules in a different order? Maybe ClearModuleList clears > things? ;-) > > To test the autoindex, I have used Apache::AutoIndex. When using it > (without the earlier ClearModuleList thing!) I got child segfaults, but > commenting the module helped to get dirlist working. I don't think there > is something wrong with the Apache::AutoIndex. I just think that it may > have something to do with the earlier module loading order. Maybe > Apache::AutoIndex cannot get initialized because the wrong order? > > Anyway, there seem to be quite a lot discussion about this and one of the > most interesting url was: > http://groups.google.com/groups?hl=en&lr=lang_en&safe=off&ic=1&th=2f313f40da 3371e1&seekm=3A8D2990.ECF363B9%40zrz.TU-Berlin.de > (from groups.google.com with 'segmentation AddModule mod_perl' you can > find others) > > Best luck! > > -- > > Kari Nurmela, > [EMAIL PROTECTED], (02) 333 8847 / (0400) 786 547 >