site_root

Problems with the Windows version of XAMPP, questions, comments, and anything related.

site_root

Postby peterbill » 04. May 2019 09:39

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
peterbill
 
Posts: 1
Joined: 04. May 2019 09:36
XAMPP version: 7.1.2 0
Operating System: window

Re: site_root

Postby Nobbie » 04. May 2019 17:32

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.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 135 guests