[users@httpd] VirtualDocumentRoot problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi,
I just notice some problems when using mod_vhost_alias
It seems that when using VirtualDocumentRoot, the variable DocumentRoot in PHP got mixed up
Server Global
> DocumentRoot /var/www/htdocs
Inside <VirtualHost>
> VirtualDocumentRoot /var/www/vhost/%0/htdocs
When I run a phpinfo script, this is the variable it gave
> _SERVER["DOCUMENT_ROOT"] /var/www/htdocs
Is this suppose to be correct? How can I force it to the interpolated path which is /var/www/vhost/somehostname.blah.com/htdocs
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]