Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 33446 invoked from network); 7 Nov 2010 22:44:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Nov 2010 22:44:13 -0000 Received: (qmail 93551 invoked by uid 500); 7 Nov 2010 22:44:42 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 93510 invoked by uid 500); 7 Nov 2010 22:44:41 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 93502 invoked by uid 99); 7 Nov 2010 22:44:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 22:44:41 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.227.126.171] (HELO moutng.kundenserver.de) (212.227.126.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 22:44:32 +0000 Received: from mail.Profindis.local ([85.115.20.54]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MFQw8-1PIVk805PI-00EKWh; Sun, 07 Nov 2010 23:44:12 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CB7ECE.1D972AC0" Date: Sun, 7 Nov 2010 23:49:51 +0100 Message-ID: <7625A8059C7A7F4F958C4365349633B210709C@mail.Profindis.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Override main server conf Thread-Index: Act+zhZFklynTYeDSTuqZ44LD+jnfg== From: "Axel Gallus" To: X-Provags-ID: V02:K0:+OoTvs0i5Qd0Y7UxgDm8/6MeHCw4owUF9IXraBnA1t0 zA/lvFL1jEkqYtGGtNNWVow/5/yUtajfPUHqYexABVysMsEJCG vrBolJz4L/9f2Yy+jF2KH1En5pmqStYf/lokIf/p1+7v0Bi8FL lxgg4LoDh5SkO4AfGf7Be0l4DdSWyTp/5o+GGAdQ8HxhY1qLve t3s3tSQ2a/duxPQCAfURA== X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Override main server conf ------_=_NextPart_001_01CB7ECE.1D972AC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello,=20 I use apache in a virtual host environment..... My main server is configured with LoadModule php5_module modules/libphp5.so AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps DirectoryIndex index.html index.htm index.shtml index.php index.php3 = index.cgi AddHandler cgi-script .cgi so that only *.cgi files get executed via interpreter in my = vhost-documentroot. I also want the *.php files to be executed as cgi, so I added=20 AddHandler cgi-script .cgi .php to my perosnal vhost-config-section However, it seems that the main server config dominates the cgi-script = *.php config. Is there a way to also treat .php files as cgi scripts in my virtualhost = under this circumstances, how? Thx and regards A.Gallus ------_=_NextPart_001_01CB7ECE.1D972AC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Override main server conf

Hello,

I use apache in a virtual host environment.....

My main server is configured with

LoadModule php5_module  modules/libphp5.so
AddType application/x-httpd-php =         .php
AddType application/x-httpd-php-source  .phps
DirectoryIndex  index.html index.htm index.shtml index.php = index.php3 index.cgi
AddHandler      = cgi-script      .cgi

so that only *.cgi files get executed via interpreter in my = vhost-documentroot.

I also want the *.php files to be executed as cgi, so I added
AddHandler      = cgi-script      .cgi .php
to my perosnal vhost-config-section

However, it seems that the main server config dominates the cgi-script = *.php config.
Is there a way to also treat .php files as cgi scripts in my virtualhost = under
this circumstances, how?

Thx and regards

A.Gallus






------_=_NextPart_001_01CB7ECE.1D972AC0--