.htaccess Problems

.htaccess Problems

Post by Robert Aben » Thu, 17 Apr 1997 04:00:00



I have just upgraded from Apache 1.1.1 to 1.1.3, and then to 1.2b8
(BSD/OS 3.0) and I am
having difficulty with the the limit directive in the .htaccess files
in
user directories.  I am able to limit using IP addresses, but not with
host
or domain names.  The following limit directive results in a deny from
all:

<limit get>
order deny,allow
deny from all
allow from af.mil
</limit>

I think this same file worked under the older versions of Apache.  I
have enabled host
name lookup in the conf files.

Thanks in advance for any ideas.

Bob

 
 
 

1. htaccess problems

Hi All,

After building numerous Apaches (1.3.19) on my test server (solaris 2.6)
I finally went into production only to discover that my prod build
htaccess isn't working, but is on my 2 test servers.  After much sweat I
can't figure out why.  My conf is the default with only minor changes.
Here are the applicable parts:

<Directory "/prd/ema2/apache/share/htdocs">

#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
    Options Indexes FollowSymLinks MultiViews

#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
#AllowOverride all
        AllowOverride All

#
# Controls who can get stuff from this server.
#
    Order allow,deny
    Allow from all
</Directory>

#
# AccessFileName: The name of the file to look for in each directory
# for access control information.
#
AccessFileName .htaccess

And the contents of my .htaccess file is:

AuthType Basic
AuthName "test"
AuthUserFile /prd/ema2/apache/etc/test.users
Require user joeblow

Any help is *very* appreciated.

Thanks!
Kris

2. PCI Plug&Pray - help!

3. htaccess problem

4. Does Sun Blade 1000 accept 80GB ATA hard disk?

5. .htaccess problem

6. Probs with yytext?

7. .htaccess problem?

8. KDE filesector sidebar

9. .htaccess Problem...

10. .htaccess problem: numerical ips work, names do not

11. .htaccess problems (Server error 500)

12. Q: Apache and .htaccess problems

13. NCSA 1.4.2 - .htaccess problem