php pages without .php extension on linux and windows
| From: | Heiko Mundle | Date: | Mon, 07 Jul 2003 10:07:51 +0000 |
| Subject: | php pages without .php extension on linux and windows | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-154166@lists.php.net to get a copy of this message | ||
I try to use PHP and Apache on both Linux (SuSE 8.1) and Windows (2K).
On Linux I can access the PHP scripts without adding the .php extension.
E.g.
http://<mydomain>/<myscript>?para1=TRUE
for
http://<mydomain>/<myscript>.php?para1=TRUE
But on Windows it doesn't work (page not found - HTTP 404)
How do I switch on 'adding .php' on windows? Does it run on windows too?
What is responsible for that functionality, Apache/PHP?
Which module or directive?
My system:
SuSE Linux 8.1 - PHP 4.2.2 - Apache/1.3.26
Windows 2000 - PHP 4.2.3 - Apache/1.3.24
Thanks for helping
Heiko