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

I have two folders such as


and a served folder via Apache


In the end, I want to include/append contents of /nonserved to /media so that will be as such:


I am running Ubuntu Server, I am up for either apache config or symbolic link based answer :) Plus nonserved folder is rather dynamic thus manual symbolic linking to each folder is impossible.

share|improve this question
Am I understanding correctly, are you looking for what to server the union of the two folders? – Zoredache Jun 28 '10 at 1:12

1 Answer 1


ln -s /full/path/to/nonserved/ /full/path/to/media/nonserved

That will grab anything in nonserved

or apache config

Alias /media/nonserved "full/path/to/nonserved/"

That assumes you want to serv like


share|improve this answer
thanks but this doesnt work as it adds as /media/nonserved/folder1/file.jpg – Hellnar Jun 24 '10 at 13:35
ok I gave you the basics.. just make the changed.. but I edied it – Mike Jun 24 '10 at 13:39
thanks but it is not helping alot as the nonserved folder is dynamic thus manual linking is not possible. – Hellnar Jun 24 '10 at 13:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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