> -----Original Message----- > From: Heiko Mundle [mailto:[EMAIL PROTECTED] > Sent: 07 July 2003 11:08 > > 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?
That's an Apache function -- and yes, it works on Windows because I've done it ;). I suggest you compare your httpd.conf (and .htaccess files if appropriate) to help locate what's responsible for this -- first off, I'd be looking for a ForceType or DefaultType directive, but there are also other ways this could be done. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php