httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomasz Chmielewski" <...@syneticon.net>
Subject [users@httpd] dir protected with .htaccess - show a website, not a pop-up - possible?
Date Wed, 27 Sep 2006 09:07:08 GMT
I have a couple of directories which I protect with .htaccess/.htpasswd.

So, whenever a user starts a browser and enters http://server/protected, a
pop-up authorization window shows up, and he/she is required to give valid
credentials.

Is there an easy way to replace the pop-up authorization window with a web
page of my own (some text, form with user/pass, help etc.)?

What I mean, I would rather display the user a web page saying "You have
to authorize, type your credentials, click here for help...", whenever
he/she enters http://server/protected, http://server/protected/file.pdf or
http://server/protected/info.html, for the first time after starting the
browser.


-- 
Tomasz Chmielewski
http://wpkg.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message