Jump to content


Member Since 08 Oct 2014
Offline Last Active Oct 13 2014 11:58 PM

Topics I've Started

Absolute Paths in UniServer Zero

08 October 2014 - 05:57 PM

Hey guys,

Love Uniserver but am having a little problem.  I just got the new (Zero XI 11.3.3) Uniserver upgrading from Mona 4.1.  Yeah long overdue.  I use it locally to test websites before throwing them on the production server so I need all the files to be just like they would be on the production server without having to make any adaptations before uploading them.

I am working out of the home directory with all my sites just like the production server.  

In Mona I had absolute links set up to where a PHP line like this would work (the way it works on the production server).


XI has no problem getting to the folder where the index file is just as it is set up in the virtual hosts but any absolute link in the script is broken.  Now, XI requires this to make it work.


There are several absolute links in each site and many sites to deal with.  I'd rather not have to change each sites links everytime I go to production with a site I am testing.  

I know Mona set up a drive to work from but XI does not is there a way to simulate this in XI so that my absolute paths still work without modification?

I apologize if this is an elementary question or one that has been covered before.  I looked but did not find anything.  I appreciate any help.