Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

.htaccess login redirect

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Related Topics:
Trying to use mod_rewrite to redirect to https when user l.. - Greetings All, I've been trying to figure out how to use to redirect to https when a specific is but no luck so far. An overview of our site Apache 2.x webserver w/ WebLogic http plugin -->

.htaccess redirect - Is it possible to do something similar to this ... redirect If not, an idea? Thanks

htaccess redirect - Hi All I've scoured the net looking for an htaccess file with no luck. I'm really hoping someone will be able to assist me with this. I have a domain that was recently It has a ton of links from other websites to on my domain. ..

.htaccess redirect - Is there away to do this: If someone comes with and have a redirect in your to redirect to Thanks.

htaccess redirect - Hi everyone, I have been bashing my head to solve this. I am not very good at htaccess. :( There is 2 different domains, and I want to redirect a new domain to a folder on the original domain. e.g.
Next:  wait for complete loading from server before remo..  
Author Message
Kram Techie

External


Since: Feb 21, 2008
Posts: 1



(Msg. 1) Posted: Thu Feb 21, 2008 9:23 am
Post subject: .htaccess login redirect
Archived from groups: alt>apache>configuration (more info?)

Hi

when a user fails to login i want to redirect them and also capture their IP
for example. Apache 2

my .htaccess

AuthUserFile /home/domain/domain10c/web/.htpasswd
AuthName "Auth Users Only"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
require

ErrorDocument 401 /errors/401.php
ErrorDocument 403 /errors/403.php
ErrorDocument 404 /errors/404.php
ErrorDocument 500 /errors/500.php


error40x.php & 500 just have <? echo"Hello\n"; ?> while testing.
i get this back when i cancel login.

This server could not verify that you are authorized to access the document
requested. Either you supplied the wrong credentials (e.g., bad password),
or your browser doesn't understand how to supply the credentials required.
Additionally, a 401 Authorization Required error was encountered while
trying to use an ErrorDocument to handle the request.

if i login all ok.

Kram

 >> Stay informed about: .htaccess login redirect 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]