LinuxQuestions.org
Visit Jeremy's Blog.
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 10-26-2009, 10:58 AM   #1
deesto
Member
 
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448

Rep: Reputation: 31
Question public directory on SSL authenticated server


I'm using SSL and Kerberos to authenticate and authorize users at the root directory of an Apache virtual host. I would like to specify a single directory that should still run through SSL but should not require any authentication.

I've tried two different sets of directives I've found, and I've placed these before the root directory config, but both of them still seem to miss requests coming in for the directory and require login:
Code:
<Directory /publicdir>
  AuthType None
  Require all granted
</Directory>
Code:
<Directory /publicdir>
  Satisfy any
  Allow from all
</Directory>
 
Old 11-17-2009, 09:45 AM   #2
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
The second one is the right one. I have a similar setup also it's with sql.
See if it makes a diffrence if you put the "Satisfy Any" at the end of the <Directory> directive. I got something on my mind that the order matters. Also to be absolute sure just add "Order Allow,Deny" in the mix

Heres the link to the apache manual
http://httpd.apache.org/docs/2.2/mod/core.html#satisfy

Hope That Helps
Zhjim
 
1 members found this post helpful.
  


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
Dailup user authenticated with Linux based radius server with AD support. akram Linux - Newbie 1 07-24-2009 11:49 AM
SSL Public key/Private question masenko703 Linux - Newbie 6 06-03-2009 11:14 PM
[SOLVED] Sending email from command line through authenticated SMTP server xj25vm Linux - Server 7 12-11-2008 04:14 PM
Wanted: Spam filter to bounce authenticated mail to authenticated address Wassercrats Linux - Software 4 11-08-2007 06:56 PM
Cant not send e-mails for authentican on my web server (users cant be authenticated) Virtuality Linux - Server 2 06-01-2007 08:29 PM

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

All times are GMT -5. The time now is 01:28 AM.

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