Re: [users@httpd] VirtualDocumentRoot problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



works for Apache 1.3?

On 7/2/06, Joshua Slive <joshua@xxxxxxxx> wrote:
On 7/2/06, Neo Wee Teck <stelgn@xxxxxxxxx> wrote:
> 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

See:
http://issues.apache.org/bugzilla/show_bug.cgi?id=26052
which outlines the whole long debate behind this issue and also
suggests a patch for those who want it.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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]

  Powered by Linux