[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] virtual hosts
On Wed, 2002-09-18 at 11:29, Blair Campbell wrote:
> I understand generally what you mean however I have been using RedHat's
> apache configuration tool so If I go into my httpd.conf file I would have to
> type in exactly the right lines and I am not completly sure from your email.
> Here is what I have now.
>
>
> # Virtual host drinkandshrinknow
> <VirtualHost 192.168.123.196>
> DocumentRoot /var/www/cgi-bin/01/
>
>
> ServerName www.drinkandshrinknow.com
>
> ServerAlias drinkandshrinknow.com
> ServerSignature email
>
> DirectoryIndex index.html index.shtml
>
>
> ServerSignature email
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> </VirtualHost>
yikes. dont do anything you arn't confortable with. You need to do one
of two things:
1) Follow John's advice, and use the apache manual(try www.apache.org)
for reference. Their virtual-host section is very helpful. or...
2) Do a google search for META redirect, and just put an index.html file
where the doc-root index is now to redirect to
/cgi-bin/catname/index.html. And forget about trying to do things the
hard way.
Good Luck.
>
> > >
> > apache. ok. in your httpd.conf you'll have something like
> >
> > <VirtualHost some.thing.or.other>
> > ServerAdmin blairacampbell@shaw.ca
> > DocumentRoot /var/www/html
> > Servername your.web.site
> > ...
> > bunch of stuff
> > ...
> > ScriptAlias /cgi-bin/ /var/www/cgi-bin/
> > <Directory /var/www/html>
> > DirectoryIndex /cgi-bin/sam/index.html
> > ...
> > more stuff
> > ...
> > </Directory>
> >
> > </VirtualHost>
> >
> > Make it look like that (obviously the some.thing.or.other and so on bits
> > need to be replaced and so on), restart apache and this should do what
> > you want if i understand you correctly.
> >
> > John
> >
> >
> >
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@icdevgroup.org
> > http://www.icdevgroup.org/mailman/listinfo/interchange-users
> >
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
--
-------------------------------------------
| Caleb Phillips |
| The Studio Resource |
| IT Specialist |
| |
| Handcrafted for you in Ximian Evolution |
-------------------------------------------