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

Re: AW: [cobalt-users] .htaccess issue



You can uncommet the following in the access.conf "# ignore .ht*"

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 AuthConfig Indexes Limit

# ignore .ht*
<Files ".ht*">
deny from all
</Files>


From: "Felix Pantlen" <cobalt@xxxxxxxxxxx>
Reply-To: cobalt-users@xxxxxxxxxxxxxxx
To: <cobalt-users@xxxxxxxxxxxxxxx>, <paul.mullett@xxxxxxxxxxxxxxxxxx>
Subject: AW: [cobalt-users] .htaccess issue
Date: Tue, 11 Dec 2001 14:35:48 +0100


Hi Paul,

I have got the same problem. I posted it to the list and became the answer I
forward you now. Unfortuatly I still have the problem :-(

Please tell me, if you are sucessfull,

Best,
Felix



-----Ursprngliche Nachricht-----
Von: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]Im Auftrag von
a.neeser@xxxxxxxxxxx
Gesendet: Sonntag, 2. Dezember 2001 17:18
An: cobalt-users@xxxxxxxxxxxxxxx
Cc: cobalt@xxxxxxxxxxx
Betreff: Re: [cobalt-users] no access to .htaccess folders after Cobalt
Updates


Hi Felix

Have a look about this post in the Knowledge Base:

http://cobalt-knowledge.sun.com/cgi-bin/kbase.cfg/php/enduser/std_adp.php?p_
sid=
Thhf8G1g&p_lva=&p_refno=010829-000005&p_created=999094584&p_sp=cF9ncmlkc29yd
D0mc
F9yb3dfY250PTYmcF9zZWFyY2hfdGV4dD0uaHRhY2Nlc3MmcF9zZWFyY2hfdHlwZT0zJnBfcHJvZ
F9sd
mwxPX5hbnl_JnBfcHJvZF9sdmwyPX5hbnl_JnBfY2F0X2x2bDE9fmFueX4mcF9jYXRfbHZsMj1_Y
W55f
iZwX3NvcnRfYnk9ZGZsdCZwX3BhZ2U9MQ**&p_li=

There is an issue of htaccess files not being recognized on the RaQ4. This
is
due to the default configuration of the access.conf file and the
AllowOverride
parameter. The default configuration of the .htaccess files do allow for
password protecting directories. The AllowOverride directive is not set to
"All"
by default because this is a security risk. To change the directive edit the
/etc/httpd/conf/access.conf file and replace AllowOverride AuthConfig
Indexes
Limit to AllowOverride All.

Note, there are two places "AllowOverride AuthConfig Indexes Limit" is set.
One
is under the [Directory /] and one under [Directory /home/sites/]. The one
to
replace is under [Directory /home/sites/].

Best regards
Allen Neeser



----- Original Message -----
From: "Felix Pantlen" <cobalt@xxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Sunday, December 02, 2001 4:26 PM
Subject: [cobalt-users] no access to .htaccess folders after Cobalt Updates



Help. Live Server of my client!


Hi all,

I have got the problem, that I can not access to any webfolders using
..htaccess after I updated with the cobalt patches.

I have got a Raq 4 and I did all Update, witch are availble (under
http://www.cobalt.com/support/download/raq4.eng.html). (stupid, but I heard,
that Cobalt Updates are very reliable).

Now I do not know, what to do.

I would be realy thankful, if some of you can help me, because I run some
applications on it for my client, using htaccess.

Thanks and best Regards,
Felix

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





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


> -----Ursprngliche Nachricht-----
> Von: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]Im Auftrag von Paul Mullett
> Gesendet: Dienstag, 11. Dezember 2001 10:45
> An: cobalt-users@xxxxxxxxxxxxxxx
> Betreff: [cobalt-users] .htaccess issue
>
>
> Hello,
>
> I wonder if anyone can shed any light on this for me.  I have a RaQ4i
> dedicated server with Verio in the UK, and I am having trouble with the
> .htaccess settings.
>
> I am using the .htaccess files with no problem when it comes to
> turning off
> directory snooping, making Symlinks and denying IP addresses access etc.
>
> BUT, my problem is as soon as I try to use htpasswd it's falls
> flat on it's
> face.  That is to say, I create the .htaccess file in a
> sub-directory which
> looks like this:
>
> order allow,deny
> allow from all
> require valid-user
> AuthName "Private Area"
> Authtype basic
> AuthUserFile /home/sites/site1/web/whateverfolder/.htpasswd
> AccessList
> AuthPAM_Enabled off
>
> I then create the auth file using:
>
> htpasswd -c .htpasswd username
>
> As far as I can tell this is correct.  I then attempt to access
> the password
> protected folder (which I could access with no problems before
> creating the
> .htaccess file) and I am strangely greeted with a Cannot find
> server or DNS
> Error message?!  When I remove the htaccess file, it works again.
>
> I believe I have changed all the conf files correctly and I have read all
> that I can.  As I say it works for symlinks etc, but not for password
> protecting.
>
> Any help greatly appreciated.
>
> Paul Mullett
>
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>

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


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp