ENSupport
05-15-2003, 08:51 PM
Hello, is there a way to edit the page user will get redirected to when he/she entered wrong user/pass combination and number of tryes user get? :confused:
![]() | View Full Version : .htaccess redirect? ENSupport 05-15-2003, 08:51 PM Hello, is there a way to edit the page user will get redirected to when he/she entered wrong user/pass combination and number of tryes user get? :confused: DM-ISPro 05-15-2003, 10:31 PM You can do that by placing an .htaccess in the up dir: ErrorDocument 401 /unauthorized.html You can't use the same .htaccess because of the login restriction ... It would become a bit complicated, but it's possible if needed ;) ~ Dani ENSupport 05-15-2003, 10:53 PM Wont work :| Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. ENSupport 05-16-2003, 02:21 PM comon anyone :[ kcdworks 05-16-2003, 02:53 PM Well, in the example he gave, you not only have to add that line in .htaccess, you have to create /unauthorized.html ... did you do that? ENSupport 05-16-2003, 03:35 PM yes :) and i put it like this: /html -------/client <---file here with that -------------/secure <--main http acess here. ENSupport 05-16-2003, 06:57 PM help help :[ The Prohacker 05-16-2003, 07:17 PM Try: ErrorDocument 401 http://www.whatever.com/unauthorized.html ENSupport 05-16-2003, 09:21 PM now it justs shows "acess denied" :| :( ENSupport 05-17-2003, 08:42 AM :bawling: |