LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-15-2004, 06:33 AM   #1
pazvant
Member
 
Registered: Jul 2003
Location: Istanbul
Distribution: slack
Posts: 43

Rep: Reputation: 15
Unhappy Mod_Access and Mod Auth


Hi guys,

I wanna make both authentication and access control over apache for
a default cgi path.
Here is my configuration

<Directory /var/www/cgi-bin/vqadmin>
deny from all
Options ExecCGI
AllowOverride All
Order deny,allow
Allow from 213.153.xxx.xxx/255.255.255.192
Satisfy any
</Directory>

it did not worked , do you know how to do it both in dırectory tag?
 
Old 06-24-2004, 05:52 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
- Satisfy any
+ AuthType Basic
+ AuthName "Restricted access area"
+ AuthUserFile /some/dir/outside/the/docroot/.htpasswd
+ Satisfy All
+ Require valid-user
</Directory>

If that doesn't work, please post appropriate errorlog lines.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mod auth mysql configuration dpp777 Linux - Software 0 09-07-2004 02:17 PM
QMAIL AUTH LOGIN AUTH=LOGIN Arghhhhhhhh DrNeil Linux - Networking 3 09-04-2004 10:07 AM
Please Welcome New mod jeremy Linux - General 29 02-01-2004 02:39 PM
auth mod sql kaboom Linux - Software 0 12-15-2003 09:02 AM
New mod jeremy Linux - Newbie 6 07-07-2002 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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