Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st March 2006, 08:34 AM
brianafischer Offline
Registered User
 
Join Date: Jan 2006
Posts: 17
Only prompt WAN users for Apache password?

I was wondering if there were any tricks that would allow me to configure my system running a webserver to only prompt a user coming through my cable modem and not a user on the LAN. My configuration:

Fedora 2.6.12-1.1381_FC3
httpd-2.0.53-3.3

From httpd.conf:
Code:
    AllowOverride None
    # Force a password
    AuthType Basic
    AuthName "BasicAuth"
    AuthUserFile /etc/httpd/conf/basicauth
    Require valid-user
Any advice? Thanks,

Brian
Reply With Quote
  #2  
Old 2nd March 2006, 02:57 AM
wdingus Offline
Registered User
 
Join Date: Aug 2005
Location: Kingsport, TN
Posts: 117
.htaccess contents:

AuthName "whatever"
AuthType Basic
AuthUserFile /path/to/file
deny from all
allow from nnn.nnn.nnn
require valid-user
satisfy any


The "allow from" I have in place is the first 3 octets of a valid Class C network. I'm guessing it could be defined quite a few ways other than how I did it... The "satisfy any" allows either the internal LAN IP or the providing of a password coming in from some other network to constitute authentication.
Reply With Quote
Reply

Tags
apache, password, prompt, users, wan

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
preventing password prompt when using scp weave Installation and Live Media 3 1st August 2007 05:20 PM
prompt or not prompt for password depending on user & client powah Security and Privacy 0 21st June 2007 04:28 AM
No prompt for root password. leadgolem Using Fedora 18 17th May 2007 08:15 PM
FC5 SSH - Password prompt delay TomAnthony Servers & Networking 3 2nd April 2006 04:19 PM


Current GMT-time: 01:03 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat