Running multiple copies of same site in ModPerl

2011-11-29 Thread Nishikant Kapoor
Hello List, I have been running a ModPerl site fine with following configuration. The problem started when I made a complete copy of the original site and tried to run the two in the same environment. For some reason, calling up the ORIG site (http://127.0.0.1/ORIG/) now calls the COPY site at

Re: Installing mod_perl on Windows 7

2011-11-29 Thread André Warnier
Desilets, Alain wrote: Thx again for the help. I tried what you suggested (after reading gAzZaLi's answer), but it still doesn't seem to help. I think it does, but read on. Here are the lines I have added to my httpd.conf file: LoadFile "C:/Perl/bin/perl512.dll" LoadModule

Re: Installing mod_perl on Windows 7

2011-11-29 Thread gAzZaLi
Looks like you're all set and running mod_perl 2. In mod_perl 2, $ENV{GATEWAY_INTERFACE} is not special. It was only special in mod_perl 1, in that it said CGI-Perl/1.1 under mod_perl 1 rather than CGI/1.1. To see if you're running under mod_perl 2, check $ENV{MOD_PERL}. You see that it's se

RE: Installing mod_perl on Windows 7

2011-11-29 Thread Desilets, Alain
Thx again for the help. I tried what you suggested (after reading gAzZaLi's answer), but it still doesn't seem to help. Here are the lines I have added to my httpd.conf file: LoadFile "C:/Perl/bin/perl512.dll" LoadModule perl_module modules/mod_perl.so And a bi

Re: Installing mod_perl on Windows 7

2011-11-29 Thread André Warnier
Desilets, Alain wrote: OK, so I uninstalled Apache 64 bits, and installed Apache 32 bits instead. Now, Apache starts correctly with the following two lines in httpd.conf LoadFile "C:/Perl/bin/perl512.dll" LoadModule perl_module modules/mod_perl.so Only problem

RE: Installing mod_perl on Windows 7

2011-11-29 Thread Desilets, Alain
OK, so I uninstalled Apache 64 bits, and installed Apache 32 bits instead. Now, Apache starts correctly with the following two lines in httpd.conf LoadFile "C:/Perl/bin/perl512.dll" LoadModule perl_module modules/mod_perl.so Only problem is that my scripts still

Re: VirtualHost and ServerAlias

2011-11-29 Thread Vincent Veyron
Le lundi 28 novembre 2011 à 22:58 +0100, André Warnier a écrit : > It works, but it is your choice of language for the explanation which > triggered my comment. > Well, you were right to point out the inaccuracy. I meant transparent to the end user, who in my case is normally unlikely to run a

Re: VirtualHost and ServerAlias

2011-11-29 Thread Vincent Veyron
Le lundi 28 novembre 2011 à 14:15 -0800, Jay Scherrer a écrit : > I would want to create or add a Database table connecting the user's to > the company. This way a simple login could direct all customer requests > to specific company websites. Hi Jay, The problem was to identify the client _befo

Re: VirtualHost and ServerAlias

2011-11-29 Thread Vincent Veyron
Le lundi 28 novembre 2011 à 23:26 +0100, André Warnier a écrit : > you may want to try > > >ServerName "as-pro.biz" > .. > > >ServerName "customer1.biz" > .. > > That is much more flexible (and a lot less work in the long term) than > adapting your > software each time a customer w

RE: Installing mod_perl on Windows 7

2011-11-29 Thread Desilets, Alain
Thanks. That confirms what I thought, but I wanted to be sure before going through the hassle of reinstalling Apache (actually, reinstalling WAMP for that matter). Alain -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, November 29, 2011 10:48 AM To: mod_pe

Re: Installing mod_perl on Windows 7

2011-11-29 Thread André Warnier
Desilets, Alain wrote: Hi folks, This is my first post on this list. I am trying to install mod_perl on Windows 7, and am running into some problems. Here's what I did. First, I ran the following commands to get the mod_perl package and install it: ppm rep add http://cpan.uw

Installing mod_perl on Windows 7

2011-11-29 Thread Desilets, Alain
Hi folks, This is my first post on this list. I am trying to install mod_perl on Windows 7, and am running into some problems. Here's what I did. First, I ran the following commands to get the mod_perl package and install it: ppm rep add http://cpan.uwinnipeg.ca/PPMPackages/12