Re: Error 400 with apache end php4
| From: | Dean Hall | Date: | Fri, 05 Jan 2001 17:30:41 +0000 |
| Subject: | Re: Error 400 with apache end php4 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-1474@lists.php.net to get a copy of this message | ||
I don't think you can have two 'AddType' lines for the same mime type. Try
this:
AddType application/x-httpd-php .php .phtml
instead of
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
Dean.
> At 04:57 PM 1/5/01 +0100, you wrote:
> >Bad Request
> >Your browser sent a request that this server could not understand.
> >Invalid URI in request GET /index.php HTTP/1.0
> >
> >I think I missed something in the install process of apache, those are
> >the lines I added at the end of httpd.conf :
> >
> >ScriptAlias /php/ "c:\utils\php\"
> >AddType application/x-httpd-php .php
> >AddType application/x-httpd-php .phtml
> >Action application/x-httpd-php "c:\utils\php\php.exe"
> >
> >Could anyone help me ?
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net