Hello,

  2 config (diferent search_rewrite_rules)  - 1 index
database

  or:

  1 config - 1 database:

  Override search_rewrite_rules directly in the
calling form:

in config file:
---------------
allow_in_form: search_rewrite_rules

calling href:
-------------
http://url/cgi-bin/htsearch?config=xxx.conf&search_rewrite_rules=http://intranet/(.*)
http://domain_from_outside/\\1 

(coding the url parm correctly)


hugs

--- [EMAIL PROTECTED] wrote:

> If you have two separate config files, why don't you
> just index the
> external facing site using the external-facing name?
> 
> Are you indeed maintaining an internal and an
> external index, or just
> two separate config files?
> 
> Regards,
> Mike
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED]
> On Behalf 
> > Of ariel mastracchio
> > Sent: Friday, May 05, 2006 7:17 PM
> > To: StR B.Hacker;
> [email protected]
> > Subject: Re: [htdig] Modifying output url
> > 
> > Hello,
> > 
> > 2 config files and diferent url for that:
> > 
> > from intranet =>
> > http://intranet/htsearch?config=withoutrewrite.cfg
> > 
> > from internett =>
> > http://intranet/htsearch?config=withrewrite.cfg
> > 
> > the withrewrite.cfg must have something like:
> > 
> > search_rewrite_rules: http://intranet/(.*)
> > http://domain_from_outside/\\1
> > 
> > (with space before http://domainxxxx)
> > 
> > 
> > - ari
> > 
> > 
> > --- "StR B.Hacker" <[EMAIL PROTECTED]> wrote:
> > 
> > > Hi, we're new in using ht://Dig,
> > > 
> > > we want to use ONE ht://Dig-Server from INTRANET
> and
> > > INTERNET. This server will scan an
> INTRANET-Server.
> > > 
> > > Using the search.html from INTRANET
> > > ("http://intranet-server/search.html";) it works
> > > fine.
> > > For example we get an output-url
> > > "http://intranet-server/dir/mydocument.html"; and
> we
> > > can browse to that page.
> > > 
> > > Using that search.html from INTERNET (via
> > > port-forwarding:
> > > "http://internet-domain/search.html";)
> > > we got an problem. The link contains the
> > > INTRANET-domain
> > > ("http://intranet-server/dir/mydocument.html";) .
> > > 
> > > We tried to modify the htdig.conf using
> > > url_part_aliases and search_rewrite_rules but
> the
> > > results are not good.
> > > 
> > > Is there any chance to replace the output-url 
> > > e.g.
> "http://intranet-server/dir/mydocument.html";
> > > => new output "./dir/mydocument.html" , then we
> > > could
> > > use ht://Dig from INTERNET and INTRANET).
> > > (the ht://Dig engine is working on the same
> server
> > > as
> > > the documents are).
> > > 
> > > Thanks for help
> > > 
> > > Bernd 
> > > ---
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > > 
> > > 
> > > 
> > >   
> > > 
> > >   
> > >           
> > >
> >
>
___________________________________________________________
> > > 
> > > Telefonate ohne weitere Kosten vom PC zum PC:
> > > http://messenger.yahoo.de
> > > 
> > > 
> > >
> >
>
-------------------------------------------------------
> > > Using Tomcat but need to do more? Need to
> support
> > > web services, security?
> > > Get stuff done quickly with pre-integrated
> > > technology to make your job easier
> > > Download IBM WebSphere Application Server
> v.1.0.1
> > > based on Apache Geronimo
> > >
> >
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;
> > dat=121642
> > > _______________________________________________
> > > ht://Dig general mailing list:
> > > <[email protected]>
> > > ht://Dig FAQ:
> http://htdig.sourceforge.net/FAQ.html
> > > List information (subscribe/unsubscribe, etc.)
> > >
> >
>
https://lists.sourceforge.net/lists/listinfo/htdig-general
> > > 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> > 
> > 
> >
>
-------------------------------------------------------
> > Using Tomcat but need to do more? Need to support
> web 
> > services, security?
> > Get stuff done quickly with pre-integrated
> technology to make 
> > your job easier
> > Download IBM WebSphere Application Server v.1.0.1
> based on 
> > Apache Geronimo
> >
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;
> > dat=121642
> > _______________________________________________
> > ht://Dig general mailing list:
> <[email protected]>
> > ht://Dig FAQ:
> http://htdig.sourceforge.net/FAQ.html
> > List information (subscribe/unsubscribe, etc.)
> >
>
https://lists.sourceforge.net/lists/listinfo/htdig-general
> > 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to