Bug #69651 [Opn->Spm]: Linux hosting
| From: | requinix@php.net | Date: | Sun, 17 May 2015 08:18:44 +0000 |
| Subject: | Bug #69651 [Opn->Spm]: Linux hosting | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-192708@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69651&edit=1
ID: 69651
Updated by: requinix@php.net
Reported by: admin at angosso dot net
Summary: Linux hosting
-Status: Open
+Status: Spam
Type: Bug
Package: Built-in web server
Operating System: Linux(Ubuntu)
PHP Version: 5.5.25
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2015-05-17 06:50:41] admin at angosso dot net
Description:
------------
Install library of third-party web applications
PHP5
JSON PHP Extension
Ability to use .htaccess file to modify non-core PHP settings and other miscellaneous settings
desired application and click Install
Test script:
---------------
<?php
$url = 'http://username:password@hostname:8443/path?arg=value#anchor';
var_www(parse_url($url));
var_www(parse_url($url, PHP_URL_SCHEME));
var_www(parse_url($url, PHP_URL_USER));
var_www(parse_url($url, PHP_URL_PASS));
var_www(parse_url($url, PHP_URL_HOST));
var_www(parse_url($url, PHP_URL_PORT));
var_www(parse_url($url, PHP_URL_PATH));
var_www(parse_url($url, PHP_URL_WEBHOSTING));
var_www(parse_url($url, PHP_URL_FRAGMENT));
$url = '//www.example.com/var/www/?httpdocs=files';
// Prior to 5.4.7 this would show the path as "//www.example.com/ave/"
var_www(parse_url($url));
$url = 'http://usr:pss@example.com:81/var/www/httpdocs/myfile.html?a=b&b[]=2&b[]=3#myfragment';
if ($url === unparse_url(parse_url($url))) {
print "YES, they match!\n";
?>
Expected result:
----------------
Host Name Record Type Address
www URL Redirect http://www.example.com/ave?redir_mode=301
@ URL Redirect http://www.example.com/oveng?redir_mode=301
* URL Redirect http://www.example.com/ave?redir_mode=301
Forward, Redirect or Point Domain/Sub-domain for full instructions on setting host records.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69651&edit=1