[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] (PHP3 index pages)
- Subject: RE: [cobalt-users] (PHP3 index pages)
- From: "Andy Jacobs" <andy.jacobs@xxxxxxxxxxxxx>
- Date: Wed Feb 6 03:04:02 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>BTW: did you enable php in the admin interface for this site?
Yep, did that. if I upload test.php it works. If I upload test.php3 I just
get the thing about whether I want to open it or save it to disk.
Andy
>
> >> 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
>
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users