Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Creating a symlink / dropbox / virtual hosts



Threaded Mode | Print  

 Creating a symlink / dropbox / virtual hosts, New to ampss - can't seem to change folder to dropbox (3 Replies, Read 5836 times)
matsaukeo
Group: Member
Post Group: Newbie
Posts: 23
Status:
Hi

Sorry if this is something that should be simple. Let me start by describing what I'm trying to achieve: I'd like to have my websites all hosted in a dropbox folder in such a way that I can change the web address and change between them easily.

I could do this with xammp but can't seem to work it out.

Firstly, I've tried to do this with one of the sites on dropbox by editing the https.conf file and updating the document root. But whenever I edit that, I can't seem to restart apache - the button remains greyed out.

Reading around more, it sounds as though I shouldn't be editing that file anyway and I should be creating a symlink. I've searched for a simple explanation on how to do this but can't do it. I've recently swapped from PC to Mac (mavericks macbook pro) so perhaps I'm just getting confused.

I'd really appreciated if someone could help me get up and running with this and explain the steps in an easy to understand way.

VERY much appreciated!
IP: --   

Creating a symlink / dropbox / virtual hosts
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

I won't recommend to change the Ampps configuration. Although we haven't tried working with Dropbox yet, so you can change if you know what you are doing.

Try this:

Code
mv /Applications/AMPPS/www /dropbox/www
ln -s /dropbox/www /Applications/AMPPS/www


You can also create domains and alias to work with domains from AMPPS Enduser Panel.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Creating a symlink / dropbox / virtual hosts
matsaukeo
Group: Member
Post Group: Newbie
Posts: 23
Status:
Thanks for replying. I've done this and it works (although to be honest I'm not entirely sure what I've done as I tend to not use terminal!)


IP: --   

Creating a symlink / dropbox / virtual hosts
10sfit
Group: Member
Post Group: Newbie
Posts: 2
Status:
Quote From : tidus April 12, 2014, 8:06 am
Hi,

I won't recommend to change the Ampps configuration. Although we haven't tried working with Dropbox yet, so you can change if you know what you are doing.

Try this:

Code
mv /Applications/AMPPS/www /dropbox/www
ln -s /dropbox/www /Applications/AMPPS/www


You can also create domains and alias to work with domains from AMPPS Enduser Panel.


Hello,  Can you tell me what do you mean by creating a symlink means?

What is a sysmlink?

I am on mac,  is this something done in terminal?  I am pretty good a copying and pasting into terminal.  Just need the proper code.

My goal is to have  ampps on two computer and have all files stay in sync via dropbox.  Not sure how this is done correctly.  I understand adding Ammps folder to dropbox but not sure what you mean by creating symlink. 

Also is any other step I should be aware of when attempting.  I have not installed Ammpps yet until I get conformation on how to properly configure.  Thanks for the help
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 29, 2024, 10:50 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.025