LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-11-2010, 09:04 AM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
How can I disable Options +FollowSymlinks in .htaccess files on an Apache web server?


How can I disable Options +FollowSymlinks in .htaccess files on an Apache web server?
 
Old 09-11-2010, 09:08 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Code:
Options -FollowSymlinks
http://httpd.apache.org/docs/2.0/mod/core.html#options

Last edited by smoker; 09-11-2010 at 09:10 AM.
 
Old 09-11-2010, 09:10 AM   #3
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Original Poster
Rep: Reputation: 55
I meant globally at the server level, so that users can't use it.
 
Old 09-11-2010, 09:25 AM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Then modify the httpd.conf file to disallow it for the directory at the server level and also set AllowOverride to a relevant value at the server level.
http://httpd.apache.org/docs/2.0/mod...#allowoverride
 
  


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
apache 1.3 with Options +FollowSymlinks and "RewriteEngine on" neilossi Linux - Server 2 04-07-2009 06:52 AM
"Options +FollowSymlinks" not working on my server steve51184 Linux - Server 5 07-08-2008 02:59 AM
Apache .htaccess <files> and <limit> nathan2225 Linux - Software 0 10-22-2007 04:59 AM
Apache - can I block some options in htaccess? nichu Linux - Server 0 08-30-2007 05:13 AM
Apache not reading .htaccess files jmoschetti45 Linux - Server 5 03-18-2007 09:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:57 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