#30809 [NEW]: apache_lookup_uri function problem
| From: | animeshrine1134 at yahoo dot com | Date: | Wed, 17 Nov 2004 00:43:51 +0000 |
| Subject: | #30809 [NEW]: apache_lookup_uri function problem | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-69159@lists.php.net to get a copy of this message | ||
From: animeshrine1134 at yahoo dot com
Operating system: windows98
PHP version: 4.3.9
PHP Bug Type: Apache related
Bug description: apache_lookup_uri function problem
Description:
------------
when i use apache_lookup_uri(string filename) on windows, it looks only on
the local system for the filename, if i set the filename to
"http://www.google.com/" it looks for "/http://www.google.com/"
Reproduce code:
---------------
<?php
$info = apache_lookup_uri('http://www.google.com');
print_r($info);
?>
Actual result:
--------------
stdClass Object
(
[status] => 403
[the_request] => GET /uri.php HTTP/1.1
[method] => GET
[uri] => /http://www.google.com
[filename] => c:/www/http:
[path_info] => //www.google.com
[no_cache] => 0
[no_local_copy] => 1
[allowed] => 0
[sent_bodyct] => 0
[bytes_sent] => 0
[byterange] => 0
[clength] => 0
[unparsed_uri] => /http://www.google.com
[request_time] => 1100650664
)
--
Edit bug report at http://bugs.php.net/?id=30809&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30809&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30809&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30809&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30809&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30809&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30809&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30809&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30809&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30809&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30809&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30809&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30809&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30809&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30809&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30809&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30809&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30809&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30809&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30809&r=mysqlcfg