[SATLUG] apache file in a different folder
David Kowis
dkowis at shlrm.org
Tue Nov 27 23:53:14 CST 2007
Richard Suberg wrote:
> so it is a filesystem thing and not an apache thing....
The option "FollowSymlinks" May also be required.
http://httpd.apache.org/docs/2.2/mod/core.html#options
And the file has to be readable by the user the apache daemon is running as.
That should take care of it.
>
> -----Original Message-----
> From: satlug-bounces at satlug.org [mailto:satlug-bounces at satlug.org]On
> Behalf Of Samuel Leon
> Sent: Tuesday, November 27, 2007 10:10 PM
> To: The San Antonio Linux User's Group Mailing List
> Subject: Re: [SATLUG] apache file in a different folder
>
>
> 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.
>>
>> Richard
>>
>
>
>
> 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
> "/mnt/www/web"
> --
> _______________________________________________
> SATLUG mailing list
> SATLUG at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
> Powered by Rackspace (www.rackspace.com)
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.16.8/1154 - Release Date: 11/27/2007
> 11:40 AM
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.16.8/1154 - Release Date: 11/27/2007
> 11:40 AM
>
More information about the SATLUG
mailing list