Jump to content
The Uniform Server Community

different www location


vanimurarka
 Share

Recommended Posts

I have not used Dropbox however try the following:

Create a new directory in your dropbox folder name it www
I will assume the path is C:\Users\fred\Dropbox\www it will depend where you installed Dropbox.

Using the above information eidit Apache configuration file
C:\UniServer\usr\local\apache2\conf\httpd.conf

Change: 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\www

All the best
Ric

Link to comment
Share on other sites

  • 8 months later...

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...