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

[cobalt-users] RAQ2 - .HTACCESS



When I create .htaccess to any virtual web directory the browser returns the
following error:
The server encountered an internal error or misconfiguration and was unable
to complete your request. 

here is the .htaccess content:
# Access file
order allow,deny
allow from all
require valid-user
Authname Zamil Steel Users
AuthPAM_Enabled off
Authtype Basic
AuthUserFile /home/sites/site7/web/aologin/.htpasswd

What could be wrong?

I am including my access.conf contents also here:
# 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.

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

# 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
</Directory>

CAN ANYONE HELP ME TO FIGURE OUT!


Best Regards,

Rajan
________________________________________________
Visit our website at: www.zamilsteel.net