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

Re: [cobalt-users] (PHP3 index pages)



BTW: did you enable php in the admin interface for this site?

Jelmer
----- Original Message -----
From: "Andy Jacobs" <andy.jacobs@xxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Tuesday, February 05, 2002 6:01 PM
Subject: RE: [cobalt-users] (PHP3 index pages)


>
> >> Hi all,
> >>
> >> I have just uploaded a site to my RAQ4 and am having a problem.  The
site
> >> is
> >> mainly PHP files with the PHP3 extension.  I have changed the srm.conf
> >> file
> >> to reflect this but I still get asked if I want to download or save the
> >> file.
> >>
> >> This is the section from my srm.conf file:
> >>
> >>
> >>
> >> # DirectoryIndex: Name of the file or files to use as a pre-written
HTML
> >> # directory index.  Separate multiple entries with spaces.
> >>
> >> DirectoryIndex index.html index.php3 index.php index.htm index.shtml$
> >> # FancyIndexing is whether you want fancy directory indexing or
standard
> >>
> >> FancyIndexing on
> >>
>
> > You also need a line like:
> > AddType application/x-httpd-php4 .php3
>
> > is it there?
>
> > Jelmer
>
> Thanks for the reply.
>
> It is indeed:
>
> # PHP4 (backwards compatible with php3)
> AddType application/x-httpd-php4 .php3
> AddType application/x-httpd-php4 .php4
> AddType application/x-httpd-php4 .php
> #AddType application/x-httpd-php4-source .php4s
> #AddType application/x-httpd-php4-source .php3s
> #AddType application/x-httpd-php4-source .phps
>
> is what I have
>
> Andy
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>