[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] .htaccess on RaQ 4i
- Subject: Re: [cobalt-users] .htaccess on RaQ 4i
- From: "Jay Falconer" <cobalt@xxxxxxxxxx>
- Date: Mon Sep 18 15:37:57 2000
RAQ4 BUG FROM COBALT NETWORKS
=================================
The initial release of the various RaQ4 server configurations from Cobalt
Networks has a bug in the default server configuration file that tells the
web server (Apache) to ignore ALL htaccess security files on the entire
server!
Here is how we fixed their problem:
1) Using TELNET, access the server as super user (root level access). You
must be in SU mode in order to perform the root level commands below.
2) Change to the /etc/httpd/conf dir on the server using the following
command:
cd /etc/httpd/conf
3) change the permissions on the access.conf file so you can access it via
FTP. The command is:
chown admin access.conf
4) Now using FTP access the server with user "admin" and change to the
/etc/httpd/conf directory.
5) Next download the access.conf file in TEXT mode. DO NOT download this
file in BINARY mode or else the file will be corrupted.
6) Open the file with any text editor and change ONLY the following line
that appears JUST ABOVE the "# ignore .ht*" line. ONLY change this one line
and make sure you are changing it correctly.
AllowOverride None
should be changed to read:
AllowOverride All
IMPORTANT: Be sure NOT to change the "AllowOverride None" line that appears
near the top of the file (just above the "AuthFailDelay" line). This
particular AllowOverride line needs to remain set to "None".
7) Save your changes and then upload the access.conf file back to the
/etc/httpd/conf directory using FTP. BE SURE to upload the file in text mode
and NOT binary mode.
8) Using TELNET, you need to change the ownership of this file back to
"root" which is done with the following command from within the
/etc/httpd/conf directory:
chown root access.conf
9) Finally, you will need to reboot your RaQ4 server in order for the
changes to take effect.
Jay Falconer
"In The Q" E-Commerce System
www.InTheQ.com
----- Original Message -----
From: "Roy Roseberry" <roy@xxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Monday, 18 September, 2000 01:55 PM
Subject: [cobalt-users] .htaccess on RaQ 4i
> Hi,
>
> I'm trying to password protect a directory on a RaQ4i using .htaccess.
> I've followed the same steps that work on a RaQ3. Everything seems fine,
> the the .htpasswd file generated with no problem. But the web browser
> serves up the files in the password protected directory without prompting
> for user/pass--as if the .htaccess file were not even there.
>
> I've double-checked everything I can think of. Has anyone else run into
> this problem? Thanks.
>
> -Roy
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>