What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: [WebDNA] Clean URLS job - will pay

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104920
interpreted = N
texte = Hi Back to this.... BTW you guys on the list are all awesome... Matthew - Can confirm that your method seems to best achieve what I'm after= , and that mod_rewrite is working on the server. Problem is now as follows; Using your exact rewrite rule below, the URL ../accommodation.csn?var1=3D1var&var2=3D2var&var3=3D3var Now successfully goes to the right place. The problem is that according to the WebDNA template (index.csn) that it's rewriting to, the variables aren'= t being carried over quite right.... In the above example, the variables var1, var2, var3 are all OK so the problem clearly isn't with the QSA string. The problem is that the pageName variable has become 'index' for some reason... Perhaps getting this from some other part of the rule. Any ideas on this one?? If I can get this sorted I'll have the whole thing nailed. Cheers, on 16/2/10 11:07 AM, Matthew Bohne at matthew.bohne@benetela.com wrote: > Should be able to do it with this. The [L] means it is the last rule > parsed, and the [QSA] tells mod_rewrite to pass the query string also. >=20 > > RewriteEngine on > RewriteRule ^([A-Za-z0-9_]+).csn?$ index.csn?pageName=3D$1 [L,QSA] > >=20 > That said, mod_rewrite is worth learning. >=20 >=20 > Diane Blackmore wrote: >> Hi >>=20 >> I have a need for a solution to rewrite =AD either by mod_rewrite or >> other =AD the following URL syntax; >>=20 >> url needs to go from: >>=20 >> =20 >> http://launch72.cohesion.co.nz/online/index.csn?pageName=3Dadvertiser_vaca= ncie >> s&var1=3Dvar1&var2=3Dvar2&var3=3Dvar3 >> =20 >> etc >>=20 >> to >> =20 >> http://launch72.cohesion.co.nz/online/advertiser_vacancies.csn?var1=3Dvar1= &var >> 2=3Dvar2&var3=3Dvar3 >> etc >>=20 >>=20 >> Happy to pay for this as a job, but its just not worth my learning >> mod_rewrite for this one thing, and it=B9s kinda advanced given I=B9m a >> beginner at such things. >>=20 >> You can contact me off list if you want to negotiate, otherwise if you >> look at the above and go =B3oh for heaven=B9s sake that=B9s too easy=B2 and >> jst want to answer it here and now for the greater good of the WebDNA >> community, knock your socks off. >>=20 >>=20 >>=20 >> Regards, >>=20 >>=20 >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D28= 8 >=20 >=20 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Clean URLS job - will pay (Dan Strong 2010)
  2. RE: [WebDNA] Clean URLS job - will pay (matthew.bohne@benetela.com 2010)
  3. Re: [WebDNA] Clean URLS job - will pay (Tom Duke 2010)
  4. Re: [WebDNA] Clean URLS job - will pay (Stuart Tremain 2010)
  5. Re: [WebDNA] Clean URLS job - will pay ("Diane Blackmore (Cohesion)" 2010)
  6. Re: [WebDNA] Clean URLS job - will pay ("Diane Blackmore (Cohesion)" 2010)
  7. Re: [WebDNA] Clean URLS job - will pay (Stuart Tremain 2010)
  8. Re: [WebDNA] Clean URLS job - will pay ("Diane Blackmore (Cohesion)" 2010)
  9. Re: [WebDNA] Clean URLS job - will pay (Stuart Tremain 2010)
  10. Re: [WebDNA] Clean URLS job - will pay ("Diane Blackmore (Cohesion)" 2010)
  11. Re: [WebDNA] Clean URLS job - will pay (Stuart Tremain 2010)
  12. Re: [WebDNA] Clean URLS job - will pay ("Diane Blackmore (Cohesion)" 2010)
  13. Re: [WebDNA] Clean URLS job - will pay (Stuart Tremain 2010)
  14. Re: [WebDNA] Clean URLS job - will pay ("Diane Blackmore (Cohesion)" 2010)
  15. Re: [WebDNA] Clean URLS job - will pay (Stuart Tremain 2010)
  16. Re: [WebDNA] Clean URLS job - will pay ("Diane Blackmore (Cohesion)" 2010)
  17. Re: [WebDNA] Clean URLS job - will pay (Matthew Bohne 2010)
  18. Re: [WebDNA] Clean URLS job - will pay (Terry Wilson 2010)
  19. Re: [WebDNA] Clean URLS job - will pay (Stuart Tremain 2010)
  20. [BULK] Re: [WebDNA] Clean URLS job - will pay (Dan Strong 2010)
  21. Re: [WebDNA] Clean URLS job - will pay ("Diane Blackmore (Cohesion)" 2010)
  22. Re: [WebDNA] Clean URLS job - will pay (Tom Duke 2010)
  23. Re: [WebDNA] Clean URLS job - will pay ("Diane Blackmore (Cohesion)" 2010)
  24. Re: [WebDNA] Clean URLS job - will pay (Matthew Bohne 2010)
  25. Re: [WebDNA] Clean URLS job - will pay (Matthew Bohne 2010)
  26. Re: [WebDNA] Clean URLS job - will pay (Kenneth Grome 2010)
  27. Re: [WebDNA] Clean URLS job - will pay (Lawrence 2010)
  28. Re: [WebDNA] Clean URLS job - will pay (Tom Duke 2010)
  29. Re: [WebDNA] Clean URLS job - will pay (Matthew Bohne 2010)
  30. Re: [WebDNA] Clean URLS job - will pay (Matthew Bohne 2010)
  31. Re: [WebDNA] Clean URLS job - will pay (Lawrence 2010)
  32. Re: [WebDNA] Clean URLS job - will pay (Tom Duke 2010)
  33. Re: [WebDNA] Clean URLS job - will pay (Tom Duke 2010)
  34. Re: [WebDNA] Clean URLS job - will pay ("Diane Blackmore (Cohesion)" 2010)
  35. Re: [WebDNA] Clean URLS job - will pay ("Diane Blackmore (Cohesion)" 2010)
  36. Re: [WebDNA] Clean URLS job - will pay (Matthew Bohne 2010)
  37. Re: [WebDNA] Clean URLS job - will pay (Tom Duke 2010)
  38. Re: [WebDNA] Clean URLS job - will pay (Diane Blackmore 2010)
  39. Re: [WebDNA] Clean URLS job - will pay (Diane Blackmore 2010)
  40. Re: [WebDNA] Clean URLS job - will pay (Matthew Bohne 2010)
  41. Re: [WebDNA] Clean URLS job - will pay (Stuart Tremain 2010)
  42. [WebDNA] Clean URLS job - will pay (Diane Blackmore 2010)
Hi Back to this.... BTW you guys on the list are all awesome... Matthew - Can confirm that your method seems to best achieve what I'm after= , and that mod_rewrite is working on the server. Problem is now as follows; Using your exact rewrite rule below, the URL ../accommodation.csn?var1=3D1var&var2=3D2var&var3=3D3var Now successfully goes to the right place. The problem is that according to the WebDNA template (index.csn) that it's rewriting to, the variables aren'= t being carried over quite right.... In the above example, the variables var1, var2, var3 are all OK so the problem clearly isn't with the QSA string. The problem is that the pageName variable has become 'index' for some reason... Perhaps getting this from some other part of the rule. Any ideas on this one?? If I can get this sorted I'll have the whole thing nailed. Cheers, on 16/2/10 11:07 AM, Matthew Bohne at matthew.bohne@benetela.com wrote: > Should be able to do it with this. The [L] means it is the last rule > parsed, and the [QSA] tells mod_rewrite to pass the query string also. >=20 > > RewriteEngine on > RewriteRule ^([A-Za-z0-9_]+).csn?$ index.csn?pageName=3D$1 [L,QSA] > >=20 > That said, mod_rewrite is worth learning. >=20 >=20 > Diane Blackmore wrote: >> Hi >>=20 >> I have a need for a solution to rewrite =AD either by mod_rewrite or >> other =AD the following URL syntax; >>=20 >> url needs to go from: >>=20 >> =20 >> http://launch72.cohesion.co.nz/online/index.csn?pageName=3Dadvertiser_vaca= ncie >> s&var1=3Dvar1&var2=3Dvar2&var3=3Dvar3 >> =20 >> etc >>=20 >> to >> =20 >> http://launch72.cohesion.co.nz/online/advertiser_vacancies.csn?var1=3Dvar1= &var >> 2=3Dvar2&var3=3Dvar3 >> etc >>=20 >>=20 >> Happy to pay for this as a job, but its just not worth my learning >> mod_rewrite for this one thing, and it=B9s kinda advanced given I=B9m a >> beginner at such things. >>=20 >> You can contact me off list if you want to negotiate, otherwise if you >> look at the above and go =B3oh for heaven=B9s sake that=B9s too easy=B2 and >> jst want to answer it here and now for the greater good of the WebDNA >> community, knock your socks off. >>=20 >>=20 >>=20 >> Regards, >>=20 >>=20 >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D28= 8 >=20 >=20 "Diane Blackmore (Cohesion)"

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:

Using Cookie for client specific info? (1997) showif and cart (1997) Truncated value after space - refresh my memory.... (1997) [WebDNA] Local Development On Windows 8.1 (2015) How can I Add several Items into the cart at once? (1997) Installation webCatalog (French speakers please help) (1998) TCP/IP connect (1998) [ShowNext] (1997) Include (1998) Pixel Pipe & Auto Resizing of images (2002) Re:2nd WebCatalog2 Feature Request (1996) Dynamically Generated Pages & WC? (2000) [showif] / [hideif] (1997) Secure server question (1997) Odd request (2003) WebCat2b12 CGI Mac - [shownext] problem (1997) question: search return in order (1997) profiles (1999) Searchable WebCat (etc.) Docs ? (1997) RE: The Guru Speaks-very long reply (1998)