Change layout of .htaccess?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
Cyphonic
Forum Newbie
Posts: 13
Joined: Sun Aug 18, 2002 1:29 pm

Change layout of .htaccess?

Post 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?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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)
Post Reply