Page 1 of 1

site_root

PostPosted: 04. May 2019 09:39
by peterbill
Is it possible to change the root of one particular site from localhost:808/ to a sub directory? I have a zend site and all the links starting with / are going to localhost:808/ rather than the correct sub directory.Thanks

Re: site_root

PostPosted: 04. May 2019 17:32
by Nobbie
Yes, of course.

"site root" is called "DocumentRoot" and you simply can create a VirtualHost for localhost:808 and apply the sub directory you like to DocumentRoot. There is plenty of documentation out there in the WWW about VirtualHosts, about Xampp, about DocumentRoot etc. pp.