vanimurarka Posted September 8, 2013 Report Share Posted September 8, 2013 I want all my website files to be in a different location, not under c:\uniserver\www. My website files are stored in a folder inside my Dropbox folder. Is there a way I can point Uniserver Apache to go to that folder, instead of c:\uniserver\www ? Thanks ... Quote Link to comment Share on other sites More sharing options...
Ric Posted September 8, 2013 Report Share Posted September 8, 2013 I have not used Dropbox however try the following:Create a new directory in your dropbox folder name it wwwI will assume the path is C:\Users\fred\Dropbox\www it will depend where you installed Dropbox.Using the above information eidit Apache configuration fileC:\UniServer\usr\local\apache2\conf\httpd.confChange: DocumentRoot "C:/UniServer/www"To: DocumentRoot "C:/Users/fred/Dropbox/www"Change: Options Indexes Includes AllowOverride All Require all granted To: Options Indexes Includes +FollowSymLinks AllowOverride All Require all granted Copy the content of folder C:\UniServer\www to folder C:\Users\fred\Dropbox\wwwAll the bestRic Quote Link to comment Share on other sites More sharing options...
vanimurarka Posted September 9, 2013 Author Report Share Posted September 9, 2013 Thank you so much. It worked beautifully. Quote Link to comment Share on other sites More sharing options...
AnthonyH Posted May 19, 2014 Report Share Posted May 19, 2014 It would be nice if this was a feature, so when you add vhost you could either write the foldername fred123 and vhost/fred123 would be created.But when you write a specific path for example C:\Users\fred\Dropbox\www it would detect the C: or similar then make the changes to necessary places to make that specific vhost documentroot instead of the manual tweak suggested.What do you think Ric, would it be difficult to implement? /Anthony 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.