[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Webglimpse Home]
Re: Virtual hosting and other questions
At 10:18 PM 6/19/00 -0500, Gerardo Marin wrote:
>First problem is virtual hosting: I have several sites running in the same
>machine, but webglimpse will run only in one of them, so my directory for
>that is something like
>
>/home/my_site_1/html
>/home/my_site_2/html
>.
Sure, this can be a bit confusing. The trick is to run confarc with the
-vhost switch for each different virtual host you want to create an archive
for. For example, you might run
confarc -vhost www.mysite1.com
Now one of the prompts should ask for the document root for that server,
and will create a file called
www.mysite1.com.wgsiteconf
in the webglimpse home directory. You can edit this file later to make
sure the settings are correct. The document root in that file will control
the translations between urls & paths in the new archive.
Hope that helps...
--Golda
>.
>
>being html the home directory for each server, so www.my_site_1.com is
>hosted on first directory
>
>and a single cgi-bin directory (/home/httpd/cgi-bin) shared among virtual
>servers
>
>My httpd.conf file is, for each site:
>
># www.my_site_1.com
><VirtualHost xxx.xxx.xxx.xxx>
>DocumentRoot /home/my_site_1/html
>ServerName...
>.
>.
>.</VirtualHost>
>
>
>When I run confarc all documents point to
>
> www.my_site_1.com/html/some_directory/some_file.html
> ^^^^
>
>When I try to use webglimpse output it renders a 404 Not found because, of
>course, html directory is actually home directory for the website and
>shouldn't be part of url.
>
>What should I modify in order to get the right urls?
>
>Thanks in advance.
>
>
>
>
>
------------------------------------------------------------
Golda Velez gvelez@iwhome.com 520-620-6878
Internet Workshop http://iwhome.com
Webglimpse Search Software http://webglimpse.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Help organize the world - index your own corner of the web