|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-03-15 23:22 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 16:00:01 2025 UTC |
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