Page 1 of 1
Change layout of .htaccess?
Posted: Wed Nov 13, 2002 9:19 am
by Cyphonic
Are there any ways of changing the layout of the .htaccess login screen? Is it possible to embed it into a plain page?
Posted: Wed Nov 13, 2002 10:34 am
by volka
this kind of authentication works as follows
- the client requests a document that the server is told to protect (e.g. by .htaccess)
- the server sends a 401 unauthorized response messages, including a realm-string
- now the client somehow tries to retrieve the password for this realm (e.g. by showing a new popup window)
- from now on the client will send a Authorization: header with each request for that realm until told otherwise (e.g. another 401 response)
clients are (almost) free in implementing the password-retrieval and afaik there is no server-technique to influence this behavoiur (maybe wrong)