From: Albl, T. <tho...@st...> - 2002-06-18 15:57:59
|
Hi Marcel, I will figure out the thing with the script, but hoped that i could = solve this problem rather by configuring than by programming ;-) Seems that = this is not to go the "easy" way...=20 Thanks for your help.=20 -- Mit freundlichem Gru=DF Thomas Albl Deutscher St=E4dtetag Tel. : 0221/3771-210 FAX : 0221/3771-128 eMail: mailto:tho...@st... Web : http://www.staedtetag.de > -----Urspr=FCngliche Nachricht----- > Von: Marcel Hicking [mailto:m.h...@vi...] > Gesendet: Dienstag, 18. Juni 2002 17:44 > An: htd...@li... > Cc: Albl, Thomas > Betreff: Re: AW: AW: [htdig] How to set the sorting order of a > webserver-expor t of a plain fil esystem? >=20 >=20 > Ah, ok, that's different. >=20 > I once had a somewhat similar problem with a big customer. > Most of the files in his dir structure where not referred > to by any other file/href (several thousands). I wrote a little > shell script that reads all dirs recursivly and builds one big > index.html file with nothing but empty links and no further > content whatsoever: > <html><body> > <a href=3D/dir1/dir2/file1.html></a> > <a href=3D/dir3/file2.html></a> > <a href=3D/dir4/dir5/dir6/file3.html></a> > </body></html> > Basically the script pipes the result of a find operation > through a simple regex to rewrite the files found into URLs. > Then I conf'd htdig to use this file as start point for indexing. > The index file itself does not show up in any htsearches as it has no > content, but htdig _does_ index every file referred to. > The script certainly needs to be run right before every htdig run. >=20 > Hope it helps. > Marcel [..] [cut off the rest] |