From:             [EMAIL PROTECTED]
Operating system: Windows 2000 SP2
PHP version:      4.1.2
PHP Bug Type:     Apache related
Bug description:  Weird URLs execute PHP scripts

I'm running PHP v4.1.2 on Apache 1.3.23 on Windows 2000 Pro (SP2)

I've installed Apache via the MSI, and unzipped PHP into c:\PHP. I've
attempted to run PHP as an Apache module.

After adding the following lines to my httpd.conf I can get PHP to
execute:

LoadModule php4_module modules/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php .phtml

I've also changed these lines in php.ini (located in my C:\WINNT
directory):
doc_root = d:\website
extension_dir = c:\php\extensions

Now I find I can run PHP. But what I find weird is this:

I can run a script called testme.php with BOTH of these URLs:

http://localhost/testme.php
http://localhost/testme/php
http://localhost/testme#php
http://localhost/testme/php
http://localhost/testme?php

Can someone please tell me how to stop the all but the first occurance?
This works for ANY PHP scripts I create.

Any help would be greatly appreciated.
-- 
Edit bug report at http://bugs.php.net/?id=15893&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15893&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15893&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15893&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15893&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15893&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15893&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15893&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15893&r=submittedtwice

Reply via email to