X hits on this document

393 views

0 shares

1 downloads

0 comments

117 / 142

Apache

Here's how to make it work:

  • 1.

    Copy the xml-data/tei directory to Apache's htdocs directory.

  • 2.

    Copy cgi-bin/xsltproc.cgi to the htdocs directory.

  • 3.

    Copy cgi-bin/tei.cgi to the htdocs directory.

  • 4.

    Copy swish-indexes/tei.cfg to the htdocs directory.

  • 5.

    Edit tei.cfg so IndexDir points to tei (IndexDir tei).

  • 6.

    Edit tei.cfg so IndexFile outputs to tei.idx (IndexFile tei.idx).

  • 7.

    Index the contents of tei ( swish-e -c tei.cfg ).

  • 8.

    Edit tei.cgi's first line so it points to Perl.

  • 9.

    Edit xsltproc.cgi's first line so it points to Perl.

  • 10.

    Open a command prompt and run tei.cgi from the command line. It should return a stream of

XHTML.

11. Finally, open any Web browser and point it to tei.cgi.

If all goes well you should see pointers to the full text of your documents as well as be able to read the full texts on your screen.

Whew!

109

Document info
Document views393
Page views399
Page last viewedSun Dec 04 15:33:37 UTC 2016
Pages142
Paragraphs3126
Words34660

Comments