[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] blankity blankin custon 404 pre directory < Please Revisit >



thanks to all that have replied to the earlier posts...

let be spell out exactly what it is i am trying to do.

simply put we have a password protected dir and we need to return a custom page for that dir only when log on access is denied.

i have been struggling with this for five weeks...

will somebody please help me?

this is a copy of my current htaccess file

please note the error message / custom pages at listed were a suggestion from another in this group and are for testing purposes only.

my only interest is to return a custom unauthorized access page!

here is my latest non functioning htaccess file

will some body please tell me how to return a custom err page in a specific
dir?

many thanks

# Access file
order allow,deny
allow from all
require valid-user
Authname DirectoryName
AuthPAM_Enabled off
Authtype Basic
AuthUserFile /home/sites/site4/web/adta/info/.htpasswd

ErrorDocument 401 http://www.directblooms.com
ErrorDocument 403 http://www.directblooms.com
ErrorDocument 404 http://www.directblooms.com
ErrorDocument 500 http://www.directblooms.com






From: "hirsh -e-skwirtz" <hirsheskwirtz@xxxxxxxxxxx>
Reply-To: cobalt-users@xxxxxxxxxxxxxxx
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: RE: [cobalt-users] blankity blankin custon 404 pre directory
Date: Thu, 28 Dec 2000 10:22:27 -0800

here is my latest non functioning htaccess file

will some body please tell me how to return a custom err page in a specific
dir?

many thanks

# Access file
order allow,deny
allow from all
require valid-user
Authname DirectoryName
AuthPAM_Enabled off
Authtype Basic
AuthUserFile /home/sites/site4/web/adta/info/.htpasswd

ErrorDocument 401 http://www.directblooms.com
ErrorDocument 403 http://www.directblooms.com
ErrorDocument 404 http://www.directblooms.com
ErrorDocument 500 http://www.directblooms.com




From: "ASU Service Main" <asuservice@xxxxxxxxxxxxxx>
Reply-To: cobalt-users@xxxxxxxxxxxxxxx
To: <cobalt-users@xxxxxxxxxxxxxxx>
Subject: RE: [cobalt-users] blankity blankin custon 404 pre directory
Date: Thu, 28 Dec 2000 10:46:48 -0700

Here is the one I'm using on a domain that's in process of moving. It
redirects any errors to the main page. This is all I have in the .htaccess
file ... you're welcome to try it with this URL ...
http://www.asuservice.com/dontwork.html ... I use some similar on several
domains. Oh, don't know if it matters but this is a RaQ2.

ErrorDocument 401 http://www.asuservice.com
ErrorDocument 403 http://www.asuservice.com
ErrorDocument 404 http://www.asuservice.com
ErrorDocument 500 http://www.asuservice.com

Hope this helps,
Mike
ASU Service
http://www.asuservice.com

-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of hirsh -e-skwirtz
Sent: Thursday, December 28, 2000 8:51 AM
To: flash22@xxxxxxx; cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] blankity blankin custon 404 pre directory


well call it a typo i have set all err to the same page.. no go

anybody that has a directory specific custom err page returned with
htaccess
err, please share your htaccess file with this group...
many thanks


>From: flash22@xxxxxxx
>Reply-To: flash22@xxxxxxx
>To: cobalt-users@xxxxxxxxxxxxxxx
>Subject: Re: [cobalt-users] blankity blankin custon 404 pre directory
>Date: Sat, 23 Dec 2000 17:05:23 -0500 (EST)
>
>On Sat, 23 Dec 2000, hirsh -e-skwirtz wrote:
>
> > i have just about had it...
> >
> > i have tried secer htaccess files with different language, hoping one
of
> > them will return my custom 404/403 pages fro that dir only..
> >
> > this is apss ptvd die, when unauthorized access, we want to serve lost
> > password / sign up page...
>
>um, maybe 401 (unauthorized) 403 is forbidden (read access on server, not
>password fail)
>
>_______________________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>To Subscribe or Unsubscribe, please go to:
>http://list.cobalt.com/mailman/listinfo/cobalt-users

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com