This is a multi-part message in MIME format.
--------------030001090908050501090906
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Sorry for the delay in replying - been a BITCH of a week! Let's try
responses in green:

Philip M. Gollucci wrote:

>>and mod_perl CGI:
>>
>>
>>>#!/usr/bin/perl
>>>print "Content-type: text/plain\r\n\r\n";
>>>print "mod_perl (1) rules!\n";
>>>
>>>

>Is that the path to the SAME perl you compiled mod_perl with. Also, I didn't notice it earlier, but
>you probably want mod_perl-1.29 instead of 1.25.
>(Perl Environment from Apache::Status will tell you)
>
>

Yes, it is the same Perl I compiled. Yes, I want mod_perl-1.29, but I
want to get what I have WORKING, then I'll go thru the updates...

>PerlRequire /usr/local/apache/perl/startup.pl
>PerlModule Apache::Registry
>Alias /perl/ /usr/local/apache/perl/
>
> SetHandler perl-script
> PerlHandler Apache::Registry
> Options +ExecCGI
> Allow from all
> PerlSendHeader On
>

>
>Take everything out of your httpd.conf config relating to mod_perl and start with the above.
>Then add in the /modperl/ location. Then add in the mod_cgi (/cgi-bin/).
>
>

Done.

>Double check and make sure you don't have mod_cgi competing for the /perl/ location via a stray ScriptAlias
>or Location, etc...
>
>

There was a conflict, but it is now removed.

>Whats in the startup.pl ?
>
>

NOT MUCH!!

#/usr/bin/perl
# startup.pl
1;

>Also, up your httpd's LogLevel to 'debug'
>
>

It already was.

>Paste your access_log, error_log after trying this.
>
>

Access.log:
192.168.2.202 - - [20/Jul/2006:22:45:08 -0700] "GET /perl/mod_perl1.pl
HTTP/1.1"
200 -
192.168.2.202 - - [20/Jul/2006:22:45:31 -0700] "GET /perl/mod_perl3.pl
HTTP/1.1"
200 -
192.168.2.202 - - [20/Jul/2006:22:45:39 -0700] "GET /perl/mod_perl1.pl
HTTP/1.1"
200 -
192.168.2.202 - - [20/Jul/2006:22:45:43 -0700] "GET /perl/mod_perl2.pl
HTTP/1.1"
200 50
192.168.2.202 - - [20/Jul/2006:22:45:46 -0700] "GET /perl/mod_perl3.pl
HTTP/1.1"
200 -
192.168.2.202 - - [20/Jul/2006:22:45:47 -0700] "GET /perl/mod_perl3.pl
HTTP/1.1"
200 -

Error.log:

[Thu Jul 20 22:45:20 2006] [notice] SIGHUP received. Attempting to restart
[Thu Jul 20 22:45:20 2006] [info] mod_unique_id: using ip addr 68.166.55.106
[Thu Jul 20 22:45:21 2006] [notice] Apache/1.3.17 (Unix) mod_ssl/2.8.0
OpenSSL/0
..9.6m PHP/4.3.10 mod_perl/1.25 configured -- resuming normal operations
[Thu Jul 20 22:45:21 2006] [info] Server built: Jul 14 2006 02:13:18

>[Sorry, I mis-read the first post I though mod_cgi was not working.]
>
>

No problem. I appreciate the help.

>------------------------------------------------------------------------
>Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
>Consultant / http://p6m7g8.net/Resume/resume.shtml
>Senior Software Engineer - TicketMaster - http://ticketmaster.com
>1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F
>
>"In all that I've done wrong I know I must have done something right to
>deserve a hug every morning and butterfly kisses at night."
>
>
>



--------------030001090908050501090906
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit








Sorry for the delay in replying - been a BITCH of a week!  Let's try
responses in green:



Philip M. Gollucci wrote:



and mod_perl CGI:


#!/usr/bin/perl
print "Content-type: text/plain\r\n\r\n";
print "mod_perl (1) rules!\n";



Is that the path to the SAME perl you compiled mod_perl with.  Also, I didn't notice it earlier, but
you probably want mod_perl-1.29 instead of 1.25.
(Perl Environment from Apache::Status will tell you)


Yes, it is the same Perl I compiled. Yes, I want
mod_perl-1.29, but I want to get what I have WORKING, then I'll go thru
the updates...




PerlRequire /usr/local/apache/perl/startup.pl
PerlModule Apache::Registry
Alias /perl/ /usr/local/apache/perl/
<Location /perl/>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
Allow from all
PerlSendHeader On
</Location>

Take everything out of your httpd.conf config relating to mod_perl and start with the above.
Then add in the /modperl/ location. Then add in the mod_cgi (/cgi-bin/).


Done.



Double check and make sure you don't have mod_cgi competing for the /perl/ location via a stray ScriptAlias
or Location, etc...


There was a conflict, but it is now removed.



Whats in the startup.pl ?


NOT MUCH!!



#/usr/bin/perl

#       startup.pl

1;




Also, up your httpd's LogLevel to 'debug'


It already was.



Paste your access_log, error_log after trying this.


Access.log:

192.168.2.202 - - [20/Jul/2006:22:45:08 -0700] "GET /perl/mod_perl1.pl
HTTP/1.1"

200 -

192.168.2.202 - - [20/Jul/2006:22:45:31 -0700] "GET /perl/mod_perl3.pl
HTTP/1.1"

200 -

192.168.2.202 - - [20/Jul/2006:22:45:39 -0700] "GET /perl/mod_perl1.pl
HTTP/1.1"

200 -

192.168.2.202 - - [20/Jul/2006:22:45:43 -0700] "GET /perl/mod_perl2.pl
HTTP/1.1"

200 50

192.168.2.202 - - [20/Jul/2006:22:45:46 -0700] "GET /perl/mod_perl3.pl
HTTP/1.1"

200 -

192.168.2.202 - - [20/Jul/2006:22:45:47 -0700] "GET /perl/mod_perl3.pl
HTTP/1.1"

200 -



Error.log:



[Thu Jul 20 22:45:20 2006] [notice] SIGHUP received.  Attempting to
restart

[Thu Jul 20 22:45:20 2006] [info] mod_unique_id: using ip addr
68.166.55.106

[Thu Jul 20 22:45:21 2006] [notice] Apache/1.3.17 (Unix) mod_ssl/2.8.0
OpenSSL/0

..9.6m PHP/4.3.10 mod_perl/1.25 configured -- resuming normal operations

[Thu Jul 20 22:45:21 2006] [info] Server built: Jul 14 2006 02:13:18




[Sorry, I mis-read the first post I though mod_cgi was not working.]


<smile> No problem. I appreciate the help.



------------------------------------------------------------------------
Philip M. Gollucci (gollucci@p6m7g8.com">pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."








--------------030001090908050501090906--