[SATLUG] apache file in a different folder
leon36 at gmail.com
Tue Nov 27 22:09:46 CST 2007
Richard Suberg wrote:
> What I would like to do is a file available in a different folder then
> DocumentRoot. Different path altogether. For example:
> DocumentRoot set to /mnt/www/web
> want to make a file /var/log/callerid.log available.
> Everything I find doesn't relate to what I want to do. I may be phrasing
> the search wrong - not knowing the best way to phrase what I want. I am
> using Apache 2.2.4 and only using simple pages so far - no elaborate files
> no php, asp, cgi, mostly static text pages and binary files. Thanks.
ln -s /var/log/callerid.log /mnt/www/web
also run " man ln " in the console and read the manpage. The command
above puts a link to the file "/var/log/callerid.log" into the directory
More information about the SATLUG