LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-04-2011, 06:25 AM   #1
besson3c
LQ Newbie
 
Registered: Dec 2004
Posts: 7

Rep: Reputation: 0
Apache and SymLinksIfOwnerMatch defaults


Hello,

I recently migrated from FreeBSD to Debian, and have noticed that Apache seems to want to default to having this option enabled, since my symlinks only seem to work when they are owned by root and the destination file is also owned by root.

I haven't played around with this a great deal to be 100% confident that this setting is my culprit, but I've always been a little confused about these Apache options (Options Indexes FollowSymLinks MultiViews +ExecCGI -SymLinksIfOwnerMatch, etc.)... It would be nice to clear this up regardless.

Specifically, if I set:

<Directory />
Options FollowSymLinks -SymLinksIfOwnerMatch
AllowOverride All
</Directory>

In a virtualhost declaration (with no ServerName declaration), shouldn't this set a global default to disable this option on all sites, providing this option isn't overridden? Will sites "inherit" this setting since it is applied to a parent directory? Will virtualhosts inherit other virtualhost settings? If not, I guess this should be put in the main httpd.conf file and not the default virtualhost?

Thanks in advance for educating me!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Defaults? aethiolas Linux - Newbie 2 12-21-2004 05:31 AM
Restoring to defaults Superganja23 Red Hat 7 11-14-2004 02:23 PM
Virtual Hosts, defaults on port 81 with Apache not working S3ct0r Linux - Networking 2 06-19-2004 03:35 PM
Defaults Lostman Linux - Newbie 5 11-04-2003 05:31 PM
Rehat apache.. load defaults? mattbuechler Linux - Software 2 07-02-2003 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration