Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3218746
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:33:50+00:00 2026-05-17T15:33:50+00:00

now my apache configuration looks like this: <Directory /usr/share/myweb/> AuthType Basic AuthName myweb AuthUserFile

  • 0

now my apache configuration looks like this:

<Directory /usr/share/myweb/>
  AuthType Basic
  AuthName "myweb"
  AuthUserFile /etc/apache2/.passwords
  Require user mw
</Directory>

It allows everyone to web, but require password.

I would like to let some users (from local IP) to be allowed to see the website without a need of authentification. For others it should stay like it is – require password.
How can I do that?
I supposed I could just do it with Allow from xxx.xx., but it still requires the password.

Thanks for help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T15:33:50+00:00Added an answer on May 17, 2026 at 3:33 pm

    Thanks for answer…this made it:

    <Directory /path/to/myweb/>
       Order allow,deny
       AuthType Basic
       AuthName "myweb"
       AuthUserFile /etc/apache2/.passwd
       Order allow,deny
       Require user myweb
       Allow from your.ip.add
       Satisfy Any
    </Directory>myweb.com
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our current Apache installations are running Apache 2.0. Now we'd like to add some
So I use apache HttpComponents to handle http request in java. Now I want
When I upgraded to Apache.NMS.ActiveMQ 1.5.3, the thread names are now all the same
I have nginx acting as a reverse proxy to apache. I now need to
Now I'm not sure if this is something I'm doing wrong, or something thats
My configuration: htdocs on a windows network share (z:) web developers check out with
We use Apache Continuum for our continous builds now and it FTP's the build
here is my configuration: http://domain.com (obviously fictitious name...) hosted on a server running Apache
I am trying: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.6</source> <target>1.6</target> <compilerArgument>-Werror</compilerArgument> <fork>true</fork> </configuration> </plugin>
I have this log4j configuration in my grails config.groovy log4j = { error 'org.codehaus.groovy.grails.web.servlet',

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.