Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm using a Mac where I've located my webroot folder into a Dropbox sub folder. Everything works fine but I have a problem


It would be great If I could find and

by digit in my browser http://localhost/

instead of http://localhost/john_shared_html/

does exists some way to do that with hosts file or something similar? I'm using XAMPP

share|improve this question

closed as off topic by Sven, Kenny Rasschaert, Chopper3, Iain Jun 14 '12 at 11:10

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

Use symlinks

ln -s /Dropbox/webroot/john_shared_html/ /Dropbox/webroot/
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.