httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Axel Gallus" <Axel.Gal...@profindis.de>
Subject AW: AW: [users@httpd] Override main server conf
Date Thu, 11 Nov 2010 00:20:45 GMT

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.Gallus@profindis.de]
Gesendet: Mi 10.11.2010 20:18
An: users@httpd.apache.org
Betreff: AW: AW: [users@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:covener@gmail.com]
Gesendet: Mi 10.11.2010 20:03
An: users@httpd.apache.org
Betreff: Re: AW: [users@httpd] Override main server conf
 
On Wed, Nov 10, 2010 at 1:58 PM, Axel Gallus <Axel.Gallus@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
covener@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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org






Mime
View raw message