Date: Wed, 27 Sep 2006 15:24:20 +0200 From: Morten Winther <none@mw--mwi.dk.lh.bsd-dk.dk> To: bsd-dk@bsd-dk.dk Subject: Re: apache vil ikke vise php
Jakob Breivik Grimstveit wrote:
> On 9/27/06, Tony Albers <none@tony--albers-data.dk.lh.bsd-dk.dk> wrote:
>
>> Hvis man har en index.php i sin DocumentRoot, men serveren blot giver en
>> directorylisting, hvad kan det så skyldes? Hvis jeg klikker på index.php
>> kommer den fint frem som den skal, men hvis jeg klikker på et link deri,
>> ryger jeg tilbage til directory listingen.
>
>
> $ grep index.php httpd.conf
> DirectoryIndex index.html index.php default.php
>
ja, DirectoryIndex index.php index.html
Men husk også disse hvis du ikke har dem:
AddType application/x-httpd-php .php
AddType application/x-httpd-php .inc
AddType application/x-httpd-php-source .phps
-- Best regardsMorten Winther System & Application Architect
This archive was generated by hypermail 2b30 : Wed 15 Nov 2006 - 18:25:04 CET