I succeeded by removing the mod_php5 mimme type via 
"RemoveType .php".
After that I could register my own mod_cgi handler via "AddHandler cgi-script 
.php".

Thx for your input.

Regards

A.Gallus





-----Ursprüngliche Nachricht-----
Von: Axel Gallus [mailto:axel.gal...@profindis.de]
Gesendet: Mi 10.11.2010 20:18
An: users@httpd.apache.org
Betreff: AW: AW: [us...@httpd] Override main server conf
 

You mean I should use 

AddHandler application/x-httpd-php  .php

instead of

AddType application/x-httpd-php  .php?

Unfortunately this part of the configuration is not under my control.

Can you explain why mixing those directives is a problem?
Is there a workaround?

Regards 

A.Gallus
 



-----Ursprüngliche Nachricht-----
Von: Eric Covener [mailto:cove...@gmail.com]
Gesendet: Mi 10.11.2010 20:03
An: users@httpd.apache.org
Betreff: Re: AW: [us...@httpd] Override main server conf
 
On Wed, Nov 10, 2010 at 1:58 PM, Axel Gallus <axel.gal...@profindis.de> wrote:
>
> No errors have been logged in the error log.
>
> Any other idea?
>
> Does someone know if it is possible to user mod_cgi and mod_php at once... 
> (see below)..

Don't mix AddHandler and AddType -- just use AddHandler.


-- 
Eric Covener
cove...@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org





<<winmail.dat>>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to