Re: WebDNA to Apache RewriteMap

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61816
interpreted = N
texte = Sorry, I haven't stated the purpose. What I need to do is clean up all the poorly crafted URLs that I've been using. I don't want to throw away all the links from sites I don't control into those pages. The best way to pass those visitors along and clean up the search engines is to 301 the visitors. I don't need double the amount of URLs with the same content. That is search engine poison. Bill -----Original Message----- From: Donovan Brooke Sent: Tue, 19 Apr 2005 09:52:41 -0500 To: "WebDNA Talk" Subject: Re: WebDNA to Apache RewriteMap Bill, I'm not sure if I'm understanding your purpose exactly.. but, why use a redirect at all.. why not include files based on the request? I may be not understand what you are doing but if you need to serve certain content based on old or other requests.. including the new html page may be your best bet. Donovan devaulw@onebox.com wrote: > Here's the problem. WebDNA has a redirect command. That command uses a > 302 HTTP status code. The 302 code means temporarily moved. I need to > use a 301/permanently moved redirect. For a variety of reasons, it is > not sufficient to use 302. > The way it works in Apache is to use a rewriterule directive. I can't > use that since the number of rules I'd have is in the tens of thousands > and I may need to do something more complicated. This means rewritemap > is the better directive. Rewritemap can use a program that provides > stdout from the Unix shell. Now I have to use PHP or Perl unless WebDNA > can be used to provide stdout. > > A much simpler alternative would be the ability to specify the redirect > as a 301 in the WebDNA command. For example: > [redirect url=http://www.domain.com/index.htm&statuscode=301] > > Is there any chance of that? > I don't think pre-parse won't work for me here but please let me know if > I'm wrong. -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: WebDNA to Apache RewriteMap ( devaulw@onebox.com 2005)
  2. Re: WebDNA to Apache RewriteMap ( Donovan Brooke 2005)
  3. Re: WebDNA to Apache RewriteMap ( devaulw@onebox.com 2005)
  4. Re: WebDNA to Apache RewriteMap ( Donovan Brooke 2005)
  5. Re: WebDNA to Apache RewriteMap ( Christer Olsson 2005)
  6. Re: WebDNA to Apache RewriteMap ( devaulw@onebox.com 2005)
  7. Re: WebDNA to Apache RewriteMap ( "Nitai @ ComputerOil" 2005)
  8. Re: WebDNA to Apache RewriteMap ( Donovan Brooke 2005)
  9. Re: WebDNA to Apache RewriteMap ( Kenneth Grome 2005)
  10. Re: WebDNA to Apache RewriteMap ( Donovan Brooke 2005)
  11. Re: WebDNA to Apache RewriteMap ( Kenneth Grome 2005)
  12. Re: WebDNA to Apache RewriteMap ( Donovan Brooke 2005)
  13. WebDNA to Apache RewriteMap ( devaulw@onebox.com 2005)
Sorry, I haven't stated the purpose. What I need to do is clean up all the poorly crafted URLs that I've been using. I don't want to throw away all the links from sites I don't control into those pages. The best way to pass those visitors along and clean up the search engines is to 301 the visitors. I don't need double the amount of URLs with the same content. That is search engine poison. Bill -----Original Message----- From: Donovan Brooke Sent: Tue, 19 Apr 2005 09:52:41 -0500 To: "WebDNA Talk" Subject: Re: WebDNA to Apache RewriteMap Bill, I'm not sure if I'm understanding your purpose exactly.. but, why use a redirect at all.. why not include files based on the request? I may be not understand what you are doing but if you need to serve certain content based on old or other requests.. including the new html page may be your best bet. Donovan devaulw@onebox.com wrote: > Here's the problem. WebDNA has a redirect command. That command uses a > 302 HTTP status code. The 302 code means temporarily moved. I need to > use a 301/permanently moved redirect. For a variety of reasons, it is > not sufficient to use 302. > The way it works in Apache is to use a rewriterule directive. I can't > use that since the number of rules I'd have is in the tens of thousands > and I may need to do something more complicated. This means rewritemap > is the better directive. Rewritemap can use a program that provides > stdout from the Unix shell. Now I have to use PHP or Perl unless WebDNA > can be used to provide stdout. > > A much simpler alternative would be the ability to specify the redirect > as a 301 in the WebDNA command. For example: > [redirect url=http://www.domain.com/index.htm&statuscode=301] > > Is there any chance of that? > I don't think pre-parse won't work for me here but please let me know if > I'm wrong. -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ devaulw@onebox.com

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Sorting Numbers (1997) Prevent multiple appends with Reload Button (1997) WebCatalog 4.0 Users that want to talk to the Media.... (2000) Navigator Parsing (1997) Whats going on with my SERIAL NUMBER??? (1998) webmerchant - Crediting Back (2000) Web Merchant Docs? (2002) For those of you not on the WebCatalog Beta... (1997) [WebDNA] Problem running Webdna (2011) Siteedit (1999) Country & Ship-to address & other fields ? (1997) Having Webcatalog Print results - Possible Solution (1999) Is this possible, WebCat2.0 and checkboxes (1997) searching with if/then (2004) too many nested tags ... (1997) WebCat constantly restarting (2001) calculating tax rates, mail order solutions and version 2 (1997) Webstar 1.3.1 PPC (1997) Help! WebCat2 bug (1997) Security Tip (1996)