|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22699 URL's like won't work
Submitted: 2003-03-14 06:15 UTC Modified: 2003-03-15 23:22 UTC
From: php at pyrom dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.3.1 OS: FreeBSD
Private report: No CVE-ID: None
 [2003-03-14 06:15 UTC] php at pyrom dot com
When using a subdomain such as 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}
RewriteCond %{REQUEST_URI} !subdomain/
RewriteRule ^(.*)$ subdomain/$1 [L]

Hope this helps


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-15 23:22 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Not enough information. 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 24 23:01:31 2024 UTC