Re: Apache not parsing without .php on url?
| From: | Ivo | Date: | Fri, 20 Sep 2002 07:12:15 +0000 |
| Subject: | Re: Apache not parsing without .php on url? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116974@lists.php.net to get a copy of this message | ||
It seems to me that the answer is in your own posting
> AddType application/x-httpd-php .php
.php the only type that will be served by php
if you add
AddType application/x-httpd-php .txt
then txt will be also served
regards
Ivo
"Stefan" <skarppost@hotmail.com> wrote in message
news:20020919172310.22894.qmail@pb1.pair.com...
> Hello,
> I have a new Apache 2.0.40 with PHP 4.2.3 installation on a Solaris x86
box.
>
> Configered in httpd.conf with:
> AddType application/x-httpd-php .php
> and
> LoadModule ....
>
> Parsing url´s with "xxxx .php" works fine, but i can´t figure out why it
> dosen´t
> work if i leave out the ".php"extension in the url? This works in my old
> apache 1 installation.!
>
> The file is named "test.php" in the "abc" directory.
> "http://my.server.se/abc/test.php" works, but not
> "http://my.server.se/abc/test"
>
> Any tips in what i missed out in configuration or how to fix this would be
> appreciated.
>
> best regards,
> Stefan
>
>
>