[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Making a global support area
- Subject: [cobalt-users] Making a global support area
- From: "Carrie Bartkowiak" <ravencarrie@xxxxxxxx>
- Date: Sun Jan 21 00:20:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
I've got a Client's Area set up that my clients can log into and get updated
news, some reviews on software and such that I've done, any notes, yadda
yadda yadda. (which badly needs updating now that the migration is done...)
Thing is, in order to not have to add everyone's specific siteadmin
username/password to the .htaccess method of allowing them in, I've made one
username/password and just tell each new client what that is.
I'm going to write a php-based system that will pull info from a MySQL
database and do its own security checks later. But I was thinking... can't I
just make a new rewrite rule for this area, and have the Cobalt's
authentication kick in for me?
Let's say I wanted to make it so that clients could type
theirdomain.com/support and they'd automatically get redirected to
/home/sites/home/support (or whever I end up putting it). To see the page,
they have to enter their username/password that matches what's in the GUI.
For the admin area, the rewrite in httpd.conf looks like this:
RewriteRule ^/admin/?$
proto://servername:81/.cobalt/sysManage/index.html [L,R]
RewriteCond %{HTTP_HOST} ^([^:]+)
So if I add these two lines in (based off of the Cobalt example above), ya
think it will work?
RewriteRule ^/support/?$
proto://servername:81/home/sites/home/support/index.html [L,R]
RewriteCond %{HTTP_HOST} ^([^:]+)
I think it will work, but wanted to check first to see if anyone else has
done this, or if there's an easier way to do it, before I go giving it a try
and break something. :)
Carrie