Re: WebDNA to Apache RewriteMap

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61810
interpreted = N
texte = 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/ 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)
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/ Donovan Brooke

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:

[WebDNA] passing a variable in an include - precedence (2015) [WebDNA] WebDNA 7 (2011) encrypt but with normal characters for result? (2005) [WebDNA] To be or not to be friendly (URLs) (2011) carriage returns in data (1997) Num Sort Descending (OT) (2004) WebCat on OS X 10.4.7 won't send emails (2006) Affiliate Marketing Question #2 (1998) presetting a [math] var not working (2000) protect tag on NT IIS (1997) Authenticate (1997) Re:Realtime Transaction Processing (1999) Weird bug, or is there something amiss? (1997) Secure Sever and showcart errors (1997) SKU lookup (1997) So many lookers, hey smith micro (2003) WebDNA Parnter Edition 5.0 ? (2003) WebCatalog can't find database (1997) Why does this not work? (2002) PIXO Support (1997)