Menu

#83 URL rewriting not quite adequate.

open
nobody
htdig (31)
5
2006-03-17
2006-03-17
Anonymous
No

I'm having a problem with some URL rewriting when it
comes to the domain-name part. Some servers have
aliases which are "partially separate" virtual hosts,
where some URL-paths are the same regardless of domain
actually used, while others are not. For example, all
files under the URL location /foo/ are the same, but
under /bar/, they are not. Of course, I don't want to
multiply index these identical resources.

Server_aliases cannot be used, as these virtual hosts
do return different information for some URLs. Also,
in some [other] cases (more than 5 aliases), a regex
expression would be nice, but not supported. Note
also that it doesn't do subdomains (i.e. a convenience
to strip off a leading but optional "www."), so this
actually doubles the ruleset size needed. I mention
this because there are also some hostnames in the
spider-set which are identical virtual hosts which are
sometimes "wildcard-CNAMEd" at the DNS level.

URL_rewrite_rules does support regex, but isn't
working in my case as it appears to be applied to pre-
normalized URLs, not post-normalized. Therefore,
relative URLs escape their action, and as my usage is
indexing multiple domains, I cannot limit the rules to
just the domain it pertains to - I need the full,
normalized URL to rewrite. If it were to apply to
post-normalized URLs, I could limit it. I can't split
that one site off into its own htdig configuration
file as my intent is to crawl a set of sites that have
interreferencing URLs.

I'm about to hack my source for htdig to give me
a "url_rewrite_normalized" equivalence, but would
prefer some sort of official change or consideration
for adding this feature. It may be useful to someone
else.

I'm using HTDig 3.1.6 with the https/SSL patch applied.

Discussion

<< < 1 2 3 4 .. 33 > >> (Page 2 of 33)
  • Nobody/Anonymous

    free spin casino

     
  • Nobody/Anonymous

    signup bonus no deposit casino codes

     
  • Nobody/Anonymous

    no deposit casino forums

     
  • Nobody/Anonymous

    online casino free sign up bonus no deposit required

     
  • Nobody/Anonymous

    april redeem casino rtg no deposit

     
  • Nobody/Anonymous

    play super jackpot party

     
  • Nobody/Anonymous

    usa casinos no deposit

     
  • Nobody/Anonymous

    foxwoods promotion code

     
  • Nobody/Anonymous

    free monkeys for no money

     
  • Nobody/Anonymous

    latest no dep casino bonus code

     
  • Nobody/Anonymous

    spintop games promotional codes

     
  • Nobody/Anonymous

    no download sign up free spins bonus casino 2009

     
  • Nobody/Anonymous

    foxwoods online slot games without downloads

     
  • Nobody/Anonymous

    williams slot play for fun no money

     
  • Nobody/Anonymous

    spintop coupon code

     
  • Nobody/Anonymous

    pokerstar no deposite codes

     
  • Nobody/Anonymous

    sex pills wemen

     
  • Nobody/Anonymous

    slots of vegas redeem 2009

     
  • Nobody/Anonymous

    bingo no deposit 15

     
  • Nobody/Anonymous

    free instantplay no download slot machines online

     
  • Nobody/Anonymous

    free offline casino slots downloads

     
  • Nobody/Anonymous

    party city casino no dep coupon

     
  • Nobody/Anonymous

    playtech bingo free cash

     
  • Nobody/Anonymous

    joyland casino free coupon codes

     
  • Nobody/Anonymous

    poker free money instant no deposit

     
<< < 1 2 3 4 .. 33 > >> (Page 2 of 33)

Log in to post a comment.