[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cpx] CPX progress update



Sorry I meant <VirtualHost section

Regardless where the <IfModule mod_perl.c> section is, if you try the steps
below you'll see that Environment variable PATH_INFO gets set to
/allfunctions.js (or /cp/* etc) in all other virtual servers, not just the
one your running cpx in

The only mod_perl in my httpd.conf is in one <VirtualHost section as
follows. I have other virtual hosts on the same IP. Run ControlPanel in the url its defined in.
Then if you run phpinfo in any other VirtualHost, the enviornment vars are
changed there as well.

If you have any ideas, I'm open to suggestions.


<VirtualHost 128.241.53.22:80>
   SSLDisable
   User           xyz
   Group          xyz
   ServerName     linowes.com
   ServerAlias    www.linowes.com
   ServerAdmin    webmaster@xxxxxxxxxxx
   DocumentRoot   /home/xyz/www/linowes.com
   ScriptAlias    /cgi-bin/ "/home/xyz/www/cgi-bin/"
   <Directory /home/xyz/www/cgi-bin>
       AllowOverride None
       Options ExecCGI
       Order allow,deny
       Allow from all
   </Directory>
   CustomLog      /usr/local/apache/logs/xyz/linowes.com-access_log
combined
   ErrorLog       /usr/local/apache/logs/xyz/linowes.com-error_log
<IfModule mod_perl.c>

   ## begin cpx section
   Alias /cpimages /usr/local/cp/images
   Alias /ControlPanelHelp /usr/local/cp/help/
   <Location /ControlPanelq>
       SetHandler perl-script
       PerlHandler ControlPanel

       PerlSetEnv Template_Dir /usr/local/cp/templates/default
       PerlSetEnv Strings_Dir  /usr/local/cp/strings
       PerlSetEnv CPDebugLevel 0
   </Location>
  ## end cpx section
</IfModule>

</VirtualHost>




----- Original Message ----- From: "Steve Yates" <steve@xxxxxxxxxxx>
To: <cpx@xxxxxxxxxxxxx>
Sent: Monday, January 31, 2005 4:11 PM
Subject: Re: [cpx] CPX progress update


On Mon, 31 Jan 2005 16:04:26 -0500
"Jonathan Linowes" <jonathan@xxxxxxxxxxx> wrote:

I'd be happy if I could just enable/disable cpx in specific <Directory>
locations

On my CPX install, CPX/mod_perl appears to be limited to "<Location
/ControlPanel>" in the <IfModule mod_perl.c> section of httpd.conf.

- Steve Yates
- ITS, Inc.
- How do I set my laser printer to STUN?

~ Taglines by Taglinator - www.srtware.com ~


======================================================================
This is <cpx@xxxxxxxxxxxxx>      <http://www.groupmail.org/lists/cpx/>
Before posting a question, please search the archives (see above URL).



======================================================================
This is <cpx@xxxxxxxxxxxxx>      <http://www.groupmail.org/lists/cpx/>
Before posting a question, please search the archives (see above URL).


Home | Main Index | Thread Index
Match: Format: Sort by:
Search: