Hi,
I'd appreciate some assistance in solving a problem i have in conjunction
with local_urls in htdig 3.1.6:
I need to index a site which uses AKAMAI(*) for content storage etc. That
site has tons of urls like this:
http://a12345.g.akamai.net/7/1234/5678/20020121102215/DB/DXF/DIN/053595.pdf
All files of such urls are available on the AKAMAI Servers AND on the local
filesystem. The tricky part here is, that the URL contains a dynamic part -
in the above example the string "20020121102215" which is a Timestamp and
can change.
Now i'd really like htdig to index tese files on the local filesystem to
save some bandwith. Reading the documentation the only way to map http
requests to local-files is "local_urls". My problem is, that it seems i can
NOT use regex or wildcards in "local_urls".
I tried:
http://a12345.g.akamai.net/(.*)/DB/=/path/to/local/DB/
Whiich obviously dosn't work due to the lack of pattern matching.
My next try was to use url_rewrite_rules in conjunction with local_urls
which is NOT a solution in my case, because then the REWRITTEN Urls are
stored in the database but I NEED the correct AKAMAi urls in the database so
users get these after searching the site.
I hope i explained my problem clear enough.
I'd be really happy if someone has any idea how to work arround the lack of
PATTERNS in local_urls and achieve what i need maybe somwhow differently
(which i don't seem to get my head arround to).
Thanks a lot in advance.
(*) AKAMAI is kind of a worldwide network of CACHEING Servers spread arround
the world. My server's content is mirrored to these caches and needs to be
accessed through these caches.
--
Stefan Seiz <http://www.StefanSeiz.com>
Spamto: <[EMAIL PROTECTED]>
-------------------------------------------------------
In remembrance
www.osdn.com/911/
_______________________________________________
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