[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Re: Re: RAQ4 users web page not served (Steve Bassi)
- Subject: [cobalt-users] Re: Re: RAQ4 users web page not served (Steve Bassi)
- From: p_g kuehnb <georg_ml@xxxxxxxxxxxxxxx>
- Date: Sun Feb 24 22:44:01 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
----- Original Message ----- |
| >>On the RaQ4 the following line is missing from each virutal host
| >>entry in httpd.conf
| >>AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site#/users/$1/web/$3
| >>If you add the line http://www.domain.com/users/usera will then work.
Thanks Mike,
Is there a fix to automate this or has cobalt mentioned they are working on
a fix ?
Bassi
Dear Steve,
at the raq3 the adding of sites is handles via
/usr/admserv/cgi-bin/.cobalt/siteUserAdd/siteUserAdd.cgi
which makes use of a lot of modules from:
/usr/lib/perl5/site_perl/5.005/Cobalt/*
so a
grep -r "AliasMatch" /usr/lib/perl5/site_perl/5.005/Cobalt/*
reveils:
/usr/lib/perl5/site_perl/5.005/Cobalt/Vsite.pm:AliasMatch
^/users/([^/]+)(/(.*))? $Htgroup_dir/$group/users/\$1/web/\$3
havig a look in there, reveils:
at line 102-113
<VirtualHost $addr>
ServerName $name
ServerAdmin $serveradmin
DocumentRoot $Htgroup_dir/$group/$Webdir
RewriteEngine on
RewriteCond %{HTTP_HOST} !^$addr(:80)?$my
RewriteCond %{HTTP_HOST} !^$name(:80)?$my
RewriteRule ^/(.*) http://$name/\$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? $Htgroup_dir/$group/users/\$1/web/\$3
AliasMatch ^/users/([^/]+)(/(.*))? $Htgroup_dir/$group/users/\$1/web/\$3
</VirtualHost>
now I guess all you'd have to do is search for
AliasMatch ^/~
at your raq4 (asuming it's setup a bit different)
regards Peter