#22699 [NEW]: URL's like http://subdomain.site.com/script.php/test/this won't work

From: Date: Fri, 14 Mar 2003 12:15:25 +0000
Subject: #22699 [NEW]: URL's like http://subdomain.site.com/script.php/test/this won't work
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-35580@lists.php.net to get a copy of this message
From: php at pyrom dot com Operating system: FreeBSD PHP version: 4.3.1 PHP Bug Type: Apache related Bug description: URL's like http://subdomain.site.com/script.php/test/this won't work When using a subdomain such as subdomain.site.com/index.php/test/this the script does not run and returns an error unknown(): unable to open /www/x/xxxx/htdocs/test/this The subdomain is missing from the real path and the script returns a blank screen. This is using an apache .htaccess such as RewriteEngine On Options +FollowSymlinks RewriteBase / RewriteCond %{HTTP_HOST} subdomain.site.com RewriteCond %{REQUEST_URI} !subdomain/ RewriteRule ^(.*)$ subdomain/$1 [L] Hope this helps -- Edit bug report at http://bugs.php.net/?id=22699&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22699&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22699&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22699&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22699&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22699&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22699&r=support Expected behavior: http://bugs.php.net/fix.php?id=22699&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22699&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22699&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22699&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22699&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22699&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22699&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22699&r=gnused

« previous php.bugs (#35580) next »