[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] htaccess problem...
- Subject: [cobalt-developers] htaccess problem...
- From: "Faraz Ahmed Khan" <faraz@xxxxxxxxxxxxx>
- Date: Sat Aug 3 05:58:01 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
I have hosted a new dedicated site on Cobalt RAQXTR. I want to protect one
of its (mysql) folder using .htaccess file. My .htaccess file residing in
the mysql folder has the following lines:
AuthUserFile /home/sites/site1/web/mysql/.htpasswd
AuthGroupFile /dev/null
AuthName "MYSQL Admin Area"
AuthType Basic
require user faraz
I have also setup the password for user 'faraz' using htpasswd command in
the .htpasswd file.
But still I'm unabe to access the folder and it is not promting me for the
password and username.
But the same configuration is working on my RAQ 4.
When I put thiew file inside /home/site/site1/web folder. It asks me about
the username and password. but the same file is not working in the mysql
folder.
Can anyone help me out
Faraz Ahmed Khan
Network Administrator.
Sahara Network
P.O.Box 5480, Dammam 31422
Kingdom of Saudi Arabia
Tel: (03) 8322299x244
Fax: (03) 8345652
Email: faraz@xxxxxxxxxxxxx
----- Original Message -----
From: "Thomas Knudstrup" <thomas@xxxxxxx>
To: <cobalt-developers@xxxxxxxxxxxxxxx>
Sent: Thursday, August 01, 2002 1:21 AM
Subject: Re: [cobalt-developers] Wired answer from XTR-install
> On Wed, 2002-07-31 at 11:41, Jörg Jan Münter wrote:
>
> > Warning: i18n_new did not return a handle in
> /usr/sausalito/ui/libPhp/I18n.php on line 31
> > Warning: 0 is not a valid i18n object index! in
> /usr/sausalito/ui/libPhp/I18n.php on line 84
> > Warning: Cannot add header information - headers already sent by
> (output started at /usr/sausalito/ui/libPhp/I18n.php:31) in
> > /usr/sausalito/ui/libPhp/ServerScriptHelper.php on line 102
> >
> > does anybody know what that means? Anyway it installed the software
> correctly.
>
> Well...
>
> The third warning is a result of the two first warnings, it will
> disappear as soon as the real problem is solved.
>
> My guess is, that the second warning is a result of the first warning.
>
> I'm not sure about your line 31 (at your RaQ XTR), but at a RaQ550 I
> find this from line 40 to line 48 in /usr/sausalito/ui/libPhp/I18n.php :
>
> function I18n($domain = "", $langs = "")
> {
> if($GLOBALS["_I18n_isDebug"]) print("I18n($domain, $langs)\n");
> if($GLOBALS["_I18n_isStub"]) return;
> if($langs == "" && getenv("LANG") == "") {
> $langs = "en";
> }
> $this->handle = i18n_new($domain, $langs);
> }
>
> Obviously, the function 'i18n_new($domain, $langs)' does not return a
> handle as it should. Next question is, are the two parameters $domain
> and $langs valid ?
>
> Check it, then get back here...
>
> --
> Thomas Knudstrup [LIGA]
>
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers