[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [Raq 4i] .htaccess not working



strange...

here's my complete Access.conf file...

##

## access.conf -- Apache HTTP server configuration file

##



# access.conf: Global access configuration

# Online docs at http://www.apache.org/



# This file defines server settings which affect which types of services

# are allowed, and in what circumstances.



# Each directory to which Apache has access, can be configured with respect

# to which services and features are allowed and/or disabled in that

# directory (and its subdirectories).



# Originally by Rob McCool



# First, we configure the "default" to be a very restrictive set of

# permissions.



<Directory />

Options None

AllowOverride None

AuthFailDelay 2000000

</Directory>



# Note that from this point forward you must specifically allow

# particular features to be enabled - so if something's not working as

# you might expect, make sure that you have specifically enabled it

# below.



# deal with symlinks in image directory

<Directory /usr/admserv/html/.cobalt/images/>

Options +SymLinksIfOwnerMatch

</Directory>



# This should be changed to whatever you set DocumentRoot to.



<Directory /home/sites/>



# 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 Includes 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



# ignore .ht*

#<Files ".ht*">

#deny from all

#</Files>



# Controls who can get stuff from this server.



order allow,deny

allow from all



AuthFailDelay 2000000



# Frontpage subwebs use a nice mix of pam and Basic authentication

AuthPAM_FallThrough on

.....................................


for your htacces file:
it should be typed like this:
example:

<Limit GET>
 Order allow,deny
 Allow from all
 Deny from none
</Limit>
<Limit POST,PUT>
 Order deny,allow
 Deny from all
 Allow from .treknews.de
 Allow from 216.40.216
</Limit>


</Directory>
Mit freundlichen Grüßen
Daniel Räbiger
=========================
Webmaster / Chefredakteur / Editor-in-Chief
http://www.treknews.de
E-mail: dreffects@xxxxxx
ICQ@Home: 83882455
ICQ@Work: 109911229
----- Original Message -----
From: "Rich Leaf" <rjleaf@xxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Monday, October 15, 2001 11:44 PM
Subject: Re: [cobalt-users] [Raq 4i] .htaccess not working


cobalt-users@xxxxxxxxxxxxxxx writes:
>AllowOverride None TO  AllowOverride All
>and out-comment the following lines with a #
># ignore .ht*
>#<Files ".ht*">
>#deny from all
>#</Files>
>then restart your server :) and everything works fine

Did that, nothing changes..

If you open up http://cobalt.dgpi.com/ and click on View .htaccess you
will see what the contents of my .htaccess file are.

order deny,allow
deny from all

If you are reading the contents of the file, something is not working
right :-)

Should the <Directory> line above the AllowOverride All be something other
than what it currently is: <Directory /home/sites/> ?

I am still wondering if I need to include "AccessFileName .htaccess"
somewhere in the .conf files in order for the server to even know about
.htaccess

Rich Leaf
Webmaster
Lawrence Public Schools
http://www.usd497.org/
http://staff.usd497.org/~rich.leaf/

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users