.htpasswd question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bear
    Confirmed User
    • Jul 2001
    • 261

    #1

    .htpasswd question

    Hi all,

    I have a very strange problem. Those users who are using email address as their username always said they can't access the site. I tired their username, I also need to enter their username and password a few times in order to get pass.

    Does anyone know what's the possible reason for this problem?

    Max
  • some_idiot
    Confirmed User
    • May 2002
    • 1511

    #2
    You failed to supply the web server and version, aswell
    as the operating system.

    Unices LOVE passwords with special characters, the problem
    is likely in the config if you're running a Unix.

    I notice that you did not say it wasn't working at all, which
    also suggests that your config is wrong. Perhaps you are
    giving conflicting directives without an override?

    This AVS pays my mortgage!

    Comment

    • Bear
      Confirmed User
      • Jul 2001
      • 261

      #3
      Thanks a lot.

      I am using RH Linux. Running Apache 1.3.22.

      Here is my .htaccess:

      deny from all
      allow from 194.149.242.1
      allow from 194.149.242.3
      allow from 194.149.242.11
      allow from 194.149.242.12
      allow from 194.149.242.241
      allow from 195.68.121.1
      allow from 195.68.121.14
      allow from 195.68.121.15
      allow from 195.68.121.17
      allow from 195.68.121.19
      allow from 195.68.121.24
      allow from 212.71.31.210
      allow from 212.121.204.20
      allow from 212.147.118.14
      allow from 212.187.157.60
      allow from 212.155.171.128
      allow from 217.56.72.13
      allow from 195.243.119.43
      allow from 208.59.199.25
      AuthName "Member Area"
      AuthType Basic
      AuthUserFile /path/.htpasswd
      require valid-user
      <Files .*>
      order allow,deny
      deny from all
      </Files>
      satisfy any
      RewriteEngine on
      RewriteCond /path/cgi-bin/sentry/admin/data/suspended/%{REMOTE_USER} -f
      RewriteRule /* /share.html [L,R]

      RewriteCond /path/cgi-bin/sentry/admin/data/ips/%{REMOTE_ADDR} !-f
      RewriteCond %{HTTP_REFERER} !^http://www.site.com/login/ [NC]
      RewriteCond %{HTTP_COOKIE} !^setup.*
      RewriteRule /* http://www.site.com/cgi-bin/sentry/sentry.cgi?setup+%{REMOTE_USER}+%{REMOTE_ADDR}+%{REQUEST_URI}?%{QUER Y_STRING} [L,R]


      Any idea?

      Comment

      Working...