Problem with mod_ssl and mod_perl on Windows
Hi, I was trying to setup Apache (with mod_perl and mod_ssl) on Windows ME, and I had a weird problem. Before the problem, let me talk about more about some details. I have installed Apache from http://perl.apache.org/dist/win32-bin/. I installed the perl 5.6 version, which is perl-win32-bin.exe. THis file contains Perl 5.6 and Apache 1.3.27. It also contains mod_perl and mod_ssl. After installation I did not use the perl that the package came with. I used my ActivePerl (which is 5.6), because I already installed lots of packages there and there is no difference anyway. In my previous installation of Perl (activeperl) I had mod_perl installed, however that mod_perl was not for eapi, so I removed it and installed the one for eapi from the canadian web site. I installed mod_perl-eapi.ppd. http://theoryx5.uwinnipeg.ca/ppmpackages/ So anyway, I had mod_perl setup for perl and apache. I configured my apache so that it listens both on 443 for secure connections and 80 too. Now, let me talk about how I use mod_perl for my site. I use AuthCookieURL for authentication and authorization. What I do is essentially, get the user's name and password in a page and then authorize the user for the other pages. This works fine, until I used mod_ssl for secure connections. When I tested the apache, it works just fine for port 80. However, it doesn't work very well, on port 443. The second request to the https port crashes Apache. Now as far I as I understood the second request crashes the child process. I am not sure about the internals of Apache. What happens is that, the first request is always fine, only the second request crashes the server. The child process dies, Apache parent process creates the child process again and then everything works fine again until the next 2 requests, except of course I have to press Ok to shutdown the Apache's error box. That is the error does prevent me using Apache for secure connections. Anyway, I spent quite some time on it, and I tracked down the problem to the following. There are two problems, and let me describe how I solved the first one and how I couldn't solve the second one. The first one was that, when the user first requests a page, he/she has to login. In this phase, the AuthCookieURL module shows the custom login page. This happens by a redirection, using custom_message or something like that. I forgot its name now. Anyway, this method as you know receives a return value (in this case it is FORBIDDEN) and a messsage or a relative url. Normally it is a relative url, like /public/login.pl. This is the default way I use this module, and it normally works fine. However, in https requests the second request causes Apache crash, unless I change this method so that it actually returns the output as string. That is instead of a redirection to login.pl, I send the login page in the second argument using the custom_error method. If I make this change, Apache doesn't crash anymore. Ok, now the next step is fixing the authorization phase. Assuming that the user already supplied the correct user/password, he/she can enter to the site. However once he/she enters, the user can not make two subsequent requests without crashing the Apache. I tracked down this problem to the return value of the authorize method of AuthCookieURL. If this method returns OK, which means that the user can enter, it crashes, if the method returns DECLINED, it doesn't crash, but it certainly doesn't show anything either, cause it says Forbidden , you don't have access message. I couldn't fix this problem. It just seems that there is no way around this. What I found in the ssl.log is that, basically OpenSSL crashes with I/O errors. It says like expected to read 5 bytes The error somehow indicate to me that, maybe I added the modules in the wrong way. I have changed them, but again, it didn't work. That is I added mod_perl last, mod_ssl last and so on, but the net result was the same. Overall, the problem seem to be somewhat related with the phases. If anybody can help me to fix the problem, I would be thankful. Thanks __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com
mod_perl on windows
Hi. my $erver: Apache/1.3.22 (Win32) PHP/4.0.6 mod_perl/1.26_01-dev perl v5.6.1 Consider this sample script: use Apache::Request;use strict;use warnings; my $r=Apache-request;my $apr = Apache::Request-new($r);$r-send_http_header('text/html'); The first time i run the script the error is: " Can't locate loadable object for module Apache::Request in @INC " Any trials after that would give: " Can't locate object method "new" via package "Apache::Request" " I sawsome other guy in the list had a similar program but in his case installing the libapreq pragma solved his problem.My problem is that the pragma seems already installed using ppm (!)but can't be installed using perl -MCPAN -e shell because it needs me to build mod_perl first.. However I've installed theBINARY mod_perl version using the ppm method described in the mod_perl cookbook listing 1.2 so the second method fails. I'm a little confused right now. Should i try to find another way to build mod_perl using the sources or is there maybe a trick or something i've missed that would help me bypass this problem and use the modules? (Apache::Cookie fails to load too) Any help would be appreciated. Thanks in advance.
Re: mod_perl on windows
On Fri, 22 Mar 2002, [EMAIL PROTECTED] wrote: Hi. my $erver: Apache/1.3.22 (Win32) PHP/4.0.6 mod_perl/1.26_01-dev perl v5.6.1 Consider this sample script: use Apache::Request; use strict; use warnings; my $r=Apache-request; my $apr = Apache::Request-new($r); $r-send_http_header('text/html'); The first time i run the script the error is: Can't locate loadable object for module Apache::Request in @INC Any trials after that would give: Can't locate object method new via package Apache::Request I saw some other guy in the list had a similar program but in his case installing the libapreq pragma solved his problem.My problem is that the pragma seems already installed using ppm (!) but can't be installed using perl -MCPAN -e shell because it needs me to build mod_perl first.. However I've installed the BINARY mod_perl version using the ppm method described in the mod_perl cookbook listing 1.2 so the second method fails. Did you install the libapreq ppm package from ActiveState's repository, or from the repository at http://theoryx5.uwinnipeg.ca/ppmpackages/? If it was from Activestate's, maybe try the latter. best regards, randy kobes
Re: mod_perl on windows
Great! It worked now thanks! I only had to install --force libapreq and it worked. - Original Message - From: Randy Kobes [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, March 23, 2002 12:35 AM Subject: Re: mod_perl on windows On Fri, 22 Mar 2002, [EMAIL PROTECTED] wrote: Hi. my $erver: Apache/1.3.22 (Win32) PHP/4.0.6 mod_perl/1.26_01-dev perl v5.6.1 Consider this sample script: use Apache::Request; use strict; use warnings; my $r=Apache-request; my $apr = Apache::Request-new($r); $r-send_http_header('text/html'); The first time i run the script the error is: Can't locate loadable object for module Apache::Request in @INC Any trials after that would give: Can't locate object method new via package Apache::Request I saw some other guy in the list had a similar program but in his case installing the libapreq pragma solved his problem.My problem is that the pragma seems already installed using ppm (!) but can't be installed using perl -MCPAN -e shell because it needs me to build mod_perl first.. However I've installed the BINARY mod_perl version using the ppm method described in the mod_perl cookbook listing 1.2 so the second method fails. Did you install the libapreq ppm package from ActiveState's repository, or from the repository at http://theoryx5.uwinnipeg.ca/ppmpackages/? If it was from Activestate's, maybe try the latter. best regards, randy kobes
Looking for answers using mod_perl and windows nt.
I am using Windows NT, running apache with mod_perl. The problem that I am having is that I am dynamiclly filling in the options of a select box from a database. now when a user selects a value, I expect that value to be on the URL, but it is not. I am currently saving the selected value to a hidden field, which does show up on the URL. Anyone know the reason why. I did come up with a work around but have now clue as to why it works. here is a bit of the javascript that creates the select box and the html: function populateComboBoxes() { var sDisplayValue = new Array([+ $cmbClientKeyText +]); var sInternalValue = new Array([+ $cmbClientKeyValue +]); var arr = new Array(sDisplayValue.length + 1); arr[0] = option value=''( None Selected )/option; for (var i=1; i sDisplayValue.length + 1; i++) { arr[i] = OPTION value=' + sInternalValue[i - 1] +' + sDisplayValue[i - 1] + /OPTION; } divUpdate.innerHTML = SELECT name='cmbClientKey' id='cmbClientKey' + arr.join() + /SELECT; } this gets populated from the javascript above and is displayed to the user div name='divUpdate' id='divUpdate' class='divUpdate' style=display:block !--select name=cmbClientKey id=cmbClientKey /select-- /div this one is not populated from above and does not get displayed to the user, if this is removed then cmbClientKey on the URL line is blank. div style=display:none select name=cmbClientKey id=cmbClientKey option value= ( None Selected ) /option /select /div cmbClientKey is needed in order of other combo boxes data to be displayed correctly. any ideals as to why this is happening.
Re: Looking for answers using mod_perl and windows nt.
Boyd, David wrote: I am using Windows NT, running apache with mod_perl. The problem that I am having is that I am dynamiclly filling in the options of a select box from a database. now when a user selects a value, I expect that value to be on the URL, but it is not. I am currently saving the selected value to a hidden field, which does show up on the URL. Anyone know the reason why. I'm not sure I understand your question, David. If you're saying that you would expect the result of pressing a submit button in a form to be that request is sent like 'http://some.host/file.pl?combo=value', then you need to ensure that the form in your HTML is set to GET rather than POST style encoding. But that's not really a mod_perl issue...
RE: Looking for answers using mod_perl and windows nt.
lets see if I can clearify my statement. first I am new to mod_perl. Now, my form is using post. I am using some debug messages that will output, in html format, the contents of $fdat. So, when I select next page, after making a selection from the combo box, i expected to see something like the following: fdat{cmbClientKey} = something I do not get this unless I have the items I posted in the previous message. ... -Original Message- From: Jeremy Howard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 10:18 AM To: Boyd, David; [EMAIL PROTECTED] Subject: Re: Looking for answers using mod_perl and windows nt. Boyd, David wrote: I am using Windows NT, running apache with mod_perl. The problem that I am having is that I am dynamiclly filling in the options of a select box from a database. now when a user selects a value, I expect that value to be on the URL, but it is not. I am currently saving the selected value to a hidden field, which does show up on the URL. Anyone know the reason why. I'm not sure I understand your question, David. If you're saying that you would expect the result of pressing a submit button in a form to be that request is sent like 'http://some.host/file.pl?combo=value', then you need to ensure that the form in your HTML is set to GET rather than POST style encoding. But that's not really a mod_perl issue...
RE: Looking for answers using mod_perl and windows nt.
I think I might have this figured out. in my combobox, I had the following: select name=cmbProgramKey id=cmbProgramKey onChange=cmbProgramKey_OnChange(this.value) option value= ( None Selected ) /option [$ while( $rProgramArray ) $] option value=[+ $$rProgramArray[0] +][+ $$rProgramArray[1] +]/option [- $rProgramArray = $sthProgram-fetchrow_arrayref(); -] [$ endwhile $] /select Now when I remove the first option value: option value= ( None Selected ) /option and end up with select name=cmbProgramKey id=cmbProgramKey onChange=cmbProgramKey_OnChange(this.value) [$ while( $rProgramArray ) $] option value=[+ $$rProgramArray[0] +][+ $$rProgramArray[1] +]/option [- $rProgramArray = $sthProgram-fetchrow_arrayref(); -] [$ endwhile $] /select things seem to work. Now the question is why? -Original Message- From: Boyd, David [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 10:21 AM To: 'Jeremy Howard'; Boyd, David; [EMAIL PROTECTED] Subject: RE: Looking for answers using mod_perl and windows nt. lets see if I can clearify my statement. first I am new to mod_perl. Now, my form is using post. I am using some debug messages that will output, in html format, the contents of $fdat. So, when I select next page, after making a selection from the combo box, i expected to see something like the following: fdat{cmbClientKey} = something I do not get this unless I have the items I posted in the previous message. ... -Original Message- From: Jeremy Howard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 10:18 AM To: Boyd, David; [EMAIL PROTECTED] Subject: Re: Looking for answers using mod_perl and windows nt. Boyd, David wrote: I am using Windows NT, running apache with mod_perl. The problem that I am having is that I am dynamiclly filling in the options of a select box from a database. now when a user selects a value, I expect that value to be on the URL, but it is not. I am currently saving the selected value to a hidden field, which does show up on the URL. Anyone know the reason why. I'm not sure I understand your question, David. If you're saying that you would expect the result of pressing a submit button in a form to be that request is sent like 'http://some.host/file.pl?combo=value', then you need to ensure that the form in your HTML is set to GET rather than POST style encoding. But that's not really a mod_perl issue...
RE: Looking for answers using mod_perl and windows nt.
I take it back, what seems to be happing is that the first item in the select box is identified as selected. If I select a different item in the list, the first one is always selected. This gets stranger by the minute. ... -Original Message- From: Boyd, David [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 12:32 PM To: 'Jeremy Howard'; [EMAIL PROTECTED] Subject: RE: Looking for answers using mod_perl and windows nt. I think I might have this figured out. in my combobox, I had the following: select name=cmbProgramKey id=cmbProgramKey onChange=cmbProgramKey_OnChange(this.value) option value= ( None Selected ) /option [$ while( $rProgramArray ) $] option value=[+ $$rProgramArray[0] +][+ $$rProgramArray[1] +]/option [- $rProgramArray = $sthProgram-fetchrow_arrayref(); -] [$ endwhile $] /select Now when I remove the first option value: option value= ( None Selected ) /option and end up with select name=cmbProgramKey id=cmbProgramKey onChange=cmbProgramKey_OnChange(this.value) [$ while( $rProgramArray ) $] option value=[+ $$rProgramArray[0] +][+ $$rProgramArray[1] +]/option [- $rProgramArray = $sthProgram-fetchrow_arrayref(); -] [$ endwhile $] /select things seem to work. Now the question is why? -Original Message- From: Boyd, David [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 10:21 AM To: 'Jeremy Howard'; Boyd, David; [EMAIL PROTECTED] Subject: RE: Looking for answers using mod_perl and windows nt. lets see if I can clearify my statement. first I am new to mod_perl. Now, my form is using post. I am using some debug messages that will output, in html format, the contents of $fdat. So, when I select next page, after making a selection from the combo box, i expected to see something like the following: fdat{cmbClientKey} = something I do not get this unless I have the items I posted in the previous message. ... -Original Message- From: Jeremy Howard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 10:18 AM To: Boyd, David; [EMAIL PROTECTED] Subject: Re: Looking for answers using mod_perl and windows nt. Boyd, David wrote: I am using Windows NT, running apache with mod_perl. The problem that I am having is that I am dynamiclly filling in the options of a select box from a database. now when a user selects a value, I expect that value to be on the URL, but it is not. I am currently saving the selected value to a hidden field, which does show up on the URL. Anyone know the reason why. I'm not sure I understand your question, David. If you're saying that you would expect the result of pressing a submit button in a form to be that request is sent like 'http://some.host/file.pl?combo=value', then you need to ensure that the form in your HTML is set to GET rather than POST style encoding. But that's not really a mod_perl issue...
RE: Running Mod_Perl on Windows
In general, questions on installation, etc are best directed to the mod_perl list ([EMAIL PROTECTED]) after searching through the other resources available to you from http://perl.apache.org especially http://perl.apache.org/guide and http://perl.apache.org/#maillists using a binary distribution for mod_perl on win32 seems to be the solution of choice: http://perl.apache.org/distributions.html but if you need to compile from source, check out INSTALL.win32 in the mod_perl distribution HTH --Geoff -Original Message-From: Antoine E. Hall [mailto:[EMAIL PROTECTED]]Sent: Friday, June 08, 2001 2:14 AMTo: [EMAIL PROTECTED]Subject: Running Mod_Perl on Windows Geoff, I got your information off of the take23.org website. I am trying to configure Mod_Perl to run under Apache. I installed the ActiveState Perl Build 626 and I Installed Apache 1.3.20. I also downloaded Mod_Perl 1.25, but I cannot figure out how to configure my httpd.conf file for Apache. When I try to make a reference to PerlHandler or PerlRequire, I get an error saying something like, I didn't load a module. Any idea what I may be doing wrong? Thanks, Antoine
RE: Anyone tried mod_perl in Windows?
I tried the binary installation, which needed a specific version of perl installed in a specific place. Worked okay, but was a pain in the ass. I know you can install the XML::DOM into Activestate through PPM - not sure about GD -Original Message- From: jihawfoo [SMTP:[EMAIL PROTECTED]] Sent: Monday, September 11, 2000 10:30 PM To: modperl Cc: jihawfoo Subject:Anyone tried mod_perl in Windows? Hi all, I'm one of the newbies into Perl who's still entrenched in Windows (NT). As part of my new job portfolio, I am required to write Perl scripts to support our system. I have to set up a web interface with Perl scripts to dynamically generate web pages. I know of a binary distribution for Windows Apache with mod_perl, but I am hesitant to do the installation because I read that ActiveWare's Perl is not supported (which Perl compiler is used instead?) and I need the following modules: -GD (with JPEG support) -XML::DOM Can any gurus out there please advise me if the binary dist. of windows apache + mod_perl will enable me to install these modules? And if so, can it be installed without using a VC++ compiler (I do not have one)? Thanks for your help guys! regards, Ji-Haw, Foo Network Engineer (AP) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 12, 2000 10:29 AM To: Foo, Ji Haw Subject: WELCOME to [EMAIL PROTECTED] Hi! This is the ezmlm program. I'm managing the [EMAIL PROTECTED] mailing list. Acknowledgment: I have added the address [EMAIL PROTECTED] to the modperl mailing list. Welcome to [EMAIL PROTECTED]! Please save this message so that you know the address you are subscribed under, in case you later want to unsubscribe or change your subscription address. --- Administrative commands for the modperl list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: [EMAIL PROTECTED] To remove your address from the list, send a message to: [EMAIL PROTECTED] Send mail to the following for info and FAQ for this list: [EMAIL PROTECTED] [EMAIL PROTECTED] Similar addresses exist for the digest list: [EMAIL PROTECTED] [EMAIL PROTECTED] To get messages 123 through 145 (a maximum of 100 per request), mail: [EMAIL PROTECTED] To get an index with subject and author for messages 123-456 , mail: [EMAIL PROTECTED] They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: [EMAIL PROTECTED] The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example "[EMAIL PROTECTED]", just add a hyphen and your address (with '=' instead of '@') after the command word: [EMAIL PROTECTED] To stop subscription for this address, mail: [EMAIL PROTECTED] In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at [EMAIL PROTECTED] Please be patient, my owner is a lot slower than I am ;-) --- Enclosed is a copy of the request I received. Return-Path: [EMAIL PROTECTED] Received: (qmail 28649 invoked from network); 12 Sep 2000 02:29:25 - Received: from portal1.visa.com (198.80.42.2) by locus.apache.org with SMTP; 12 Sep 2000 02:29:25 - Received: by portal1.visa.com id TAA19405 (InterLock SMTP Gateway 4.2 for [EMAIL PROTECTED]); Mon, 11 Sep 2000 19:29:26 -0700 Received: by portal1.visa.com (Protected-side Proxy Mail Agent-1); Mon, 11 Sep 2000 19:29:26 -0700 Message-Id: [EMAIL PROTECTED] From: "Foo, Ji Haw" [EMAIL PROTECTED] To: "'[EMAIL PROTECTED] '" [EMAIL PROTECTED] Subject: RE: confirm subscribe to [EMAIL PROTECTED] Date: Mon, 11 Sep 2000 19:22:47 -0700 Mime-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N regards, Ji-Haw, Foo Network Engineer (AP) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 12, 2000 10:28 AM To: Foo, Ji Haw Subject: confirm subscribe to [EMAIL PROTECTED] Hi! This is the ezmlm program. I'm managing the [EMAIL PROTECTED] mailing list. To confirm that you would like [EMAIL PROTECTED] added to the modperl mailing list, please send an empty reply to this address: [EMAIL PROTECTED] Usually, this happens when you just hit the "reply" button. If this does not work, simply copy the address and paste it into the "To:" field of a new message
RE: Anyone tried mod_perl in Windows?
The specific locations that the precompiled binary is there to help the novice users like me get the the server up and running quickly. I think you can make the changes either at the Windows environment setting or at httpd.conf. regards, Ji-Haw, Foo Network Engineer (AP) -Original Message- From: bill chmura [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 13, 2000 3:07 AM To: Foo, Ji Haw; [EMAIL PROTECTED] Subject: RE: Anyone tried mod_perl in Windows? I tried the binary installation, which needed a specific version of perl installed in a specific place. Worked okay, but was a pain in the ass. I know you can install the XML::DOM into Activestate through PPM - not sure about GD -Original Message- From: jihawfoo [SMTP:[EMAIL PROTECTED]] Sent: Monday, September 11, 2000 10:30 PM To: modperl Cc: jihawfoo Subject:Anyone tried mod_perl in Windows? Hi all, I'm one of the newbies into Perl who's still entrenched in Windows (NT). As part of my new job portfolio, I am required to write Perl scripts to support our system. I have to set up a web interface with Perl scripts to dynamically generate web pages. I know of a binary distribution for Windows Apache with mod_perl, but I am hesitant to do the installation because I read that ActiveWare's Perl is not supported (which Perl compiler is used instead?) and I need the following modules: -GD (with JPEG support) -XML::DOM Can any gurus out there please advise me if the binary dist. of windows apache + mod_perl will enable me to install these modules? And if so, can it be installed without using a VC++ compiler (I do not have one)? Thanks for your help guys! regards, Ji-Haw, Foo Network Engineer (AP) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 12, 2000 10:29 AM To: Foo, Ji Haw Subject: WELCOME to [EMAIL PROTECTED] Hi! This is the ezmlm program. I'm managing the [EMAIL PROTECTED] mailing list. Acknowledgment: I have added the address [EMAIL PROTECTED] to the modperl mailing list. Welcome to [EMAIL PROTECTED]! Please save this message so that you know the address you are subscribed under, in case you later want to unsubscribe or change your subscription address. --- Administrative commands for the modperl list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: [EMAIL PROTECTED] To remove your address from the list, send a message to: [EMAIL PROTECTED] Send mail to the following for info and FAQ for this list: [EMAIL PROTECTED] [EMAIL PROTECTED] Similar addresses exist for the digest list: [EMAIL PROTECTED] [EMAIL PROTECTED] To get messages 123 through 145 (a maximum of 100 per request), mail: [EMAIL PROTECTED] To get an index with subject and author for messages 123-456 , mail: [EMAIL PROTECTED] They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: [EMAIL PROTECTED] The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example "[EMAIL PROTECTED]", just add a hyphen and your address (with '=' instead of '@') after the command word: [EMAIL PROTECTED] To stop subscription for this address, mail: [EMAIL PROTECTED] In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at [EMAIL PROTECTED] Please be patient, my owner is a lot slower than I am ;-) --- Enclosed is a copy of the request I received. Return-Path: [EMAIL PROTECTED] Received: (qmail 28649 invoked from network); 12 Sep 2000 02:29:25 - Received: from portal1.visa.com (198.80.42.2) by locus.apache.org with SMTP; 12 Sep 2000 02:29:25 - Received: by portal1.visa.com id TAA19405 (InterLock SMTP Gateway 4.2 for [EMAIL PROTECTED]); Mon, 11 Sep 2000 19:29:26 -0700 Received: by portal1.visa.com (Protected-side Proxy Mail Agent-1); Mon, 11 Sep 2000 19:29:26 -0700 Message-Id: [EMAIL PROTECTED] From: "Foo, Ji Haw" [EMAIL PROTECTED] To: "'[EMAIL PROTECTED] '" [EMAIL PROTECTED] Subject: RE: confirm subscribe to [EMAIL PROTECTED] Date: Mon, 11 Sep 2000 19:22:47 -0700 Mime-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N regards, Ji-Haw, Foo Network Engineer (AP) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 12, 2000 10:28 AM To
Compiling mod_perl on Windows NT
Hi, I've just been building Perl 5.6.0 / mod_perl 1.23 / Apache 1.3.12 on Windows NT and found something which may be of some use. The Apache installation does not seem to copy the headers and library files from the build directory into the install directory (which it DOES on Unix), so to build mod_perl you need to keep that Apache build build directory handy. I found that manually copying apache_1.3.12\src\include apache_1.3.12\src\os\win32\*.h apache_1.3.12\src\CoreR\ApacheCore.lib into the install directory and then pointing the DevStudio include/library paths at these locations in the install directory works fine, thus removing the need to keep the build directory floating about. This presumably means that I can now ditch the build directory and still be able to build mod_perl 1.24 when it comes using only my Apache install directory. - Steve Hay