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

Re: [cobalt-developers] ACF directives - repost



>Specifically, I'd like to use the OnDeny directive to redirect at failed login.

Use something like this:

# Access file
order allow,deny
allow from all
require valid-user
Authname Members
AuthPAM_Enabled off
Authtype Basic
AuthUserFile /home/sites/site49/passwords/.passwrdsb
ErrorDocument 401 /error/authorizationRequired_myhotsite.html


Where your password file resides as nominated by the ' AuthUserFile " entry you determine, and where the redirected page is returned as nominated by the " ErrorDocument 401 " entry you determine. You need to use a path that follows the Web server document root.
In this case, the document actually resides at:
/usr/admserv/html/.cobalt/error/authorizationRequired_myhotsite.html

This example has file names that been amended from the actual file for security purposes.


FYI: this actual example resides at:
http://www.slutbabe.com/members/index.html


2)
> Or more generally, is there any easy way on a RaQ3 to customise error web pages (specifically,
> for 401, 403, 404 & 500 http response errors) for each domain hosted?

As indicated above, this is being done in the example by selection.
You can select any redirected output in this case.

For a general server customization, simply go to the document root for the Web server at
/usr/admserv/html/.cobalt/error/
and customize the default output pages there. Their filenames are quite self-explanatory.

Manana,


Jessica McDonald Ph.D.
Jmoira Online
http://www.jmoira.com
mailto:jmoira@xxxxxxxxxx


At 10:21 AM 8/16/00 -0700, you wrote:
hi all,

don't suppose anyone has any idea what directives I can use in a .htaccess file on a RaQ3?

I asked this a week ago, but didn't get any feedback at all.

Specifically, I'd like to use the OnDeny directive to redirect at failed login.

Or more generally, is there any easy way on a RaQ3 to customise error web pages (specifically, for 401, 403, 404 & 500 http response errors) for each domain hosted?

hmmmmm. any thoughts?

cLive ;-)

cLive hoLLoway
E-commerce Developer
JP Interactive
http://www.jpinteractive.net

print pack "H56", '4a75737420616e6f7468657220636f72706f726174652077686f7265';



_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers