views:

18

answers:

1

Say the root folder on my server is /home/bong/www/, so mydomain.com will serve up index.php from /home/bong/www/.

Then I cloned an hg repository and placed it at /home/bong/hg/hgrepo/.

When I am on /home/bong/ I created a symlink as follow so that going to mydomain.com will serve up content from the hg/hgrepo directory:

ln -s hg/hgrepo www

When I go into www, I see hgrepo -> hg/hgrepo

Problem is them when i go to mydomain.com, it still doesn't work ... but mydomain.com/hgrepo does.

What did I do wrong?

+2  A: 

I'm betting that www already existed, so when you created the link, it placed it inside the directory that was already there. Solution: delete www then create the link again.

Just Some Guy
that was it! thanks!
Koes Bong
@Koes: well give the man some points!
prodigitalson
done and done! thanks again.
Koes Bong