AW: AW: Override main server conf

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

 



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@xxxxxxxxxxxx]
Gesendet: Mi 10.11.2010 20:18
An: users@xxxxxxxxxxxxxxxx
Betreff: AW: AW:  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@xxxxxxxxx]
Gesendet: Mi 10.11.2010 20:03
An: users@xxxxxxxxxxxxxxxx
Betreff: Re: AW:  Override main server conf
 
On Wed, Nov 10, 2010 at 1:58 PM, Axel Gallus <Axel.Gallus@xxxxxxxxxxxx> 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@xxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





<<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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux