According to Teresa =?iso-8859-1?Q?R=F3zga?=:
> In the file mime.types are lines:
> text\html    html htm
> text\plain    asc txt

Well, if they are truly like that, i.e. with backslashes instead of
forward slashes, then they're incorrect and should be fixed.  I'm assuming
though that you made the error in transcribing them, and they really are

text/html    html htm
text/plain    asc txt

Please check this to confirm whether my assumption is correct.

> In the  file httpd.conf is the line:
> AddType text/html    .shtml.
> 
> This is ok.

You could also add an "AddType text/html .htm" directive in there,
or in a .htaccess file, to be sure it's assigning the right type.
Note that some Apache configurations don't use the mime.types file,
but instead use a "magic" file to determine the file type based on
file contents rather than file name extensions.

> I send You now  my  pages from the virtual server.
> The search engine can not find the virtual pages, but
> she  should find at least the word on this any static pages.
> 
> Now she find nothing.

Well, the actual pages aren't as useful to me as some debugging output
from htdig would be.  I do notice that some of these pages depend quite
heavily on JavaScript.  You are aware that no search engine can follow
links in JavaScript, aren't you?  See http://www.htdig.org/FAQ.html#q5.18

See also FAQ 5.27 for tips on getting to the bottom of the problem.

> Gilles Detillieux schrieb:
> > According to Teresa =?iso-8859-1?Q?R=F3zga?=:
> > > I have the version 3.1.5 on Linux red hat 6.2.
> > > The search engine works with the virtual servers.
> > > Start url of virtual servers are in the htdig.conf. This is ok.
> > >
> > > I have a problem with the htm files.
> > > One server of the virtual servers has the htm documents only.
> > > The search engine can not find the words in htm documents.
> > > Other virtual server have the html documents, and in these document
> > > finds
> > > the search engine  words.
> >
> > Make sure the web server is configured to return the right content-type
> > header for .htm files (i.e. text/html).  This is usually done in a mime.types
> > file, or with an Apache AddType directive in httpd.conf or .htaccess.


-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to