Re: WebDNA to Apache RewriteMap
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 61808
interpreted = N
texte = 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. -----Original Message-----From: Donovan Brooke
Sent: Tue, 19 Apr 2005 07:50:21 -0500To: "WebDNA Talk" Subject: Re: WebDNA to Apache RewriteMapdevaulw@onebox.com wrote:> Any chance I can use WebDNA to act as an external rewriting > program for the Apache RewriteMap directive or should I stick to perl?> > Or, even more broadly, is there a chance WebDNA will be > usuable (now or in a future release) as a command line program/shell > scripting language for Unix? It'd be great if it could generate stdout.> > BillBill, Is "RewriteMap" the same a mod-rewrite???? If so, the new versionsof webdna has the capability of preprocessing calls... in effect, muchthe same as Mod-rewrite if you wish.Donovan-- =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:
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. -----Original Message-----From: Donovan Brooke Sent: Tue, 19 Apr 2005 07:50:21 -0500To: "WebDNA Talk" Subject: Re: WebDNA to Apache RewriteMapdevaulw@onebox.com wrote:> Any chance I can use WebDNA to act as an external rewriting > program for the Apache RewriteMap directive or should I stick to perl?> > Or, even more broadly, is there a chance WebDNA will be > usuable (now or in a future release) as a command line program/shell > scripting language for Unix? It'd be great if it could generate stdout.> > BillBill, Is "RewriteMap" the same a mod-rewrite???? If so, the new versionsof webdna has the capability of preprocessing calls... in effect, muchthe same as Mod-rewrite if you wish.Donovan-- =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:
PCS Customer submissions ? (1997)
[shownext max=?] armed (1997)
Summing fields (1997)
WebCat2: multiple currency support (1997)
WebDNA for Window 2000 Server (2003)
Search returns all, not 20 (1997)
Execute Applescript (1997)
template not found error (1998)
Delete only one duplicate record? (2003)
[WebDNA] proxy server domains mysteriously appear in webdna's domain list (2010)
Email notification to one of multiple vendors ? (1997)
WebCat templates for TyphoonPro admin (1999)
[WebDNA] Processor Maxing out (2010)
Quitting WebMerchant ? (1997)
Open Market's Transact & Macintosh (1998)
[recordrank]? (2000)
WC1.6 to WC2 date formatting (1997)
What am I missing (1997)
Ampersand (1997)
[addlineitems] display (1997)