← Back to team overview

sslug-teknik team mailing list archive

Re: Apache parser ikke en dyt !

 

Gitte Wange wrote:
> 

> 
> # For example, the PHP3 module (not part of the Apache distribution)
> # will typically use:
> #AddType application/x-httpd-php3 .php3 .phtml .php
> #AddType application/x-httpd-php3-source .phps
> # The following is for PHP/FI (PHP2):
> #AddType application/x-httpd-php .phtml
> AddType application/x-httpd-php .php
> 
Der er muligvis en fejl her jeg ville tro at den sidste linje(den
virksomme) skal hed 
AddType application/x-httpd-php4 .php

som du kan se er application/x-httpd-php den samme type som foreslås til
brug ved PHP2 ganske vist med en ande ekstention.

Jeg kører selv med php3 så jeg kan ikke garantere at det virker, men du
kan da prøve ( husk /etc/rc.d/init.d/httpd restart ;-)). 
-- 
Med venlig hilsen Poul-Erik Andreasen


References