Re: [htdig] Same server


info@edoc.co.za
Thu, 24 Jun 1999 15:39:56 +0200


Thanks Torsten,

I did what you suggested and it worked!

Nico

>
> According to info@edoc.co.za:
> >Hi,
> >
> >I have a number of virtual servers on my webserver.
> >
> >Two of them are edoc.co.za and www.edoc.co.za
> >
> >They are defined as local domains, and have the same IP-number.
> >
> >I added the line
> >
> > server_aliases: www.edoc.co.za=edoc.co.za
> >
> >But still get the same document indexed twice eg
> >
> >www.edoc.co.za/abc.html and edoc.co.za/abc.html will both be
> >listed if retrieved by a search.
> >
> >What am I doing wrong?
>
> See http://www.htdig.org/attrs.html#server_aliases
> The server_aliases directive is *not* for virtual hosts!
>
> Also have a look at http://www.htdig.org/attrs.html#allow_virtual_hosts
> and make sure that you have the correct setting for allow_virtual_hosts.
>
> If you have access to your server configuration file, the best
> thing you can probably do is to permanently redirect one virtual
> host to the other. This will also allow other search engines on
> the web to function properly. So if you got an Apache server,
> simply add the line
> RedirectMatch permanent (.*)$ http://www.edoc.co.za$1
> to the configuration for the virtual host edoc.co.za
>
>
> hth,
> Torsten
>
> --
> InWise - Wirtschaftlich-Wissenschaftlicher Internet Service GmbH
> Waldhofstraße 14 Tel: +49-4101-403605
> D-25474 Ellerbek Fax: +49-4101-403606
> E-Mail: info@inwise.de Internet: http://www.inwise.de
>
> ------------------------------------
> To unsubscribe from the htdig mailing list, send a message to
> htdig@htdig.org containing the single word "unsubscribe" in
> the SUBJECT of the message.
>

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Thu Jun 24 1999 - 06:02:38 PDT