Got it ... application/x-httpd-php doesn't appear to work, but
application/x-http-php does ...

On Wed, 2 Jan 2002, Marc G. Fournier wrote:

> On Wed, 2 Jan 2002, Chris wrote:
>
> > You *almost* did it correctly. Try adding the following to your httpd.conf file:
> > # DirectoryIndex: Name of the file or files to use as a pre-written HTML
> > # directory index.  Separate multiple entries with spaces.
> > #
> > <IfModule mod_dir.c>
> >     DirectoryIndex index.html index.htm index.php default.html default.htm
> > </IfModule>
> >
> >
> > #
> > # AddType allows you to tweak mime.types without actually editing it, or to
> > # make certain files to be certain types.
> > #
> > # For example, the PHP 3.x module (not part of the Apache distribution - see
> > # http://www.php.net) will typically use:
> > #
> >
> >    AddType application/x-httpd-php3 .php3
> >    AddType application/x-httpd-php3-source .phps
> >
> > #
> > # And for PHP 4.x, use:
> > #
> >
> >    AddType application/x-httpd-php .php
> >    AddType application/x-httpd-php .php4
> >    AddType application/x-httpd-php-source .phps
> >
> >
> > If all of the above are present in your httpd.conf file, you should have NO
> > trouble loading .php* files in your browser/ from your server.
>
> Do, and do :(
>
>
>


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to