Humbug Posted August 11, 2015 Report Share Posted August 11, 2015 Hi, uniserver is great for use it on a usb-stick. But sometimes i wanna change the lcoation of uniserver-folder, and so i have to change all paths in the configs, regarding to the new location of US. When i create my apache-configs, there has to be absolute path to documentroot (e.g. C:\webs\testweb). So i created an "Unicontroller_start.cmd", which sets an variable:@echo offset webspath=%CD%start UniController.exe It`s located in US`s root and it sets webspath=localtion_of_file, so i can use that variable in my apache configs (configs are located and included from "US-root/Extra/configs/*.conf"):<Directory "${WEBSPATH}\Extra\webs\moodle"> Folder "Extra" is also located in US-rootdirectory, so all webs stored in that folder should work, no matter from which location US is started. Moodle is a bad example, because it uses a absolute path for stored moodle_data, so that`s another story.So, would you pls add an config-switch or anything like that which can be set to make it easier to run webs from any direction without changing documentroot-paths in several configs?Or is there any option to use that "feature" with US-integrated tools or settings which i didn`t find? Thx Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.