[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Where's Carrie - [ see a virtual site before nameservers are changed to it]
- Subject: RE: [cobalt-users] Where's Carrie - [ see a virtual site before nameservers are changed to it]
- From: "Jim Carey" <ozbcoz@xxxxxxxxxxxxxxxx>
- Date: Wed Mar 20 04:57:03 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> >>>> The lovely Carrie B (come out to play Carrie - the spring
> solstice is here
> )
> >>>>> Had a solution some time ago by changing one of the config
> files on the
> Raq. It wasnt perfect and cgis wouldnt work but at least you could see the
> site.
>
> Blessings
> Revd Leonard
>
That's a simple change.
login as admin
su to root
cd /etc/httpd/conf
pico -w httpd.conf (or your favourite editor)
search down for a domain virtualhost bucket - anyone that you want to use
add the following line after the existing AliasMatch
AliasMatch ^/usersites/([^/]+)(/(.*))? /home/sites/$1/web/$3
save the file and exit the editor
reload httpd - /etc/rc.d/init.d/httpd reload
now depending on the domain picked you can see any site on the server (even if not propagated) by:
www.pickeddomain.com/usersites/www.notpropagateddomain.com
where pickeddomain is the one you added the AliasMatch to and www.notpropagateddomain is the one you want to view
note you need to have the www. in front of the domain you want to view
cheers
Jim Carey