Hi!
I found the problem, so here is the solution:
The problem was that ajax calls were not carrying the http header
with the authentication. I hacked a bit the JsonRPC Proxy so that it
would send the username and password, and it's working now.
Yours
Miguel Arroz
On 2006/07/06, at 02:09, Miguel Arroz wrote:
Hi!
I need to deploy an app in an early stage of production so that
our team may receive feedback from selected users. As we don't want
anyone else to see it (and I mean "see" it, even the first page) I
did a setup using apache authentication.
So, I added this to the apache config files:
<Location />
AuthType Basic
AuthName "Protected"
AuthUserFile "/Library/WebServer/.htusers"
Require user betas
</Location>
It works... the problem is that it works too well. The browser
keeps asking the password lots of times, specially when loading
static content directly from the web server (images, css, etc) and
doing AJAX calls (every time an AJAX call is done, Safari simply
can't do it, Firefox asks again for the password).
What am I doing wrong here? Shouldn't this ask the password just
once and than shut-up? Even storing the password on the browsers
database doesn't work. Is this some king of strange interference
between apache authentication and WO adaptors?
Yours
Miguel Arroz
"The world lies in the hands of evil
And we pray it would last" -- Apocalyptica, Life Burns!
Miguel Arroz
http://www.ipragma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-
[EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/arroz%
40guiamac.com
This email sent to [EMAIL PROTECTED]
"I felt like putting a bullet between
the eyes of every Panda that wouldn't
scr*w to save its species." -- Fight Club
Miguel Arroz
http://www.ipragma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [email protected]