Re: [WebDNA] Clean URLS job - will pay

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104776
interpreted = N
texte = I found the QSA gem when I found a mod_rewrite cheat sheet on a now=20 defunct site called ilovejackdaniels.com. The cheat sheet looks to have=20 been updated and placed out there at:=20 http://www.addedbytes.com/cheat-sheets/mod_rewrite-cheat-sheet/ Tom Duke wrote: > Matthew, > > Sorry - I should have read through your email properly before I=20 > posted. That should work - and does on my server. Never knew about=20 > the QSA option! > > - Tom > > > > On Mon, Feb 15, 2010 at 10:07 PM, Matthew Bohne=20 > > 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. > > > RewriteEngine on > RewriteRule ^([A-Za-z0-9_]+).csn?$ index.csn?pageName=3D$1 [L,QSA] > > > That said, mod_rewrite is worth learning. > > > Diane Blackmore wrote: > > Hi > > I have a need for a solution to rewrite =E2=80=93 either by > mod_rewrite or other =E2=80=93 the following URL syntax; > > url needs to go from: > > =20 > _http://launch72.cohesion.co.nz/online/index.csn?pageName=3Dad= vertiser_vacancies&var1=3Dvar1&var2=3Dvar2&var3=3Dvar3 > > =20 > >_ > =20 > <_http://launch72.cohesion.co.nz/online/index.csn?pageName=3Da= dvertiser_vacancies&var1=3Dvar1&var2=3Dvar2&var3=3Dvar3 > > =20 > >_> > > > etc > > to > =20 > _http://launch72.cohesion.co.nz/online/advertiser_vacancies.cs= n?var1=3Dvar1&var2=3Dvar2&var3=3Dvar3 > > =20 > >_ > =20 > <_http://launch72.cohesion.co.nz/online/advertiser_vacancies.c= sn?var1=3Dvar1&var2=3Dvar2&var3=3Dvar3 > > =20 > >_> > > > etc > > > Happy to pay for this as a job, but its just not worth my > learning mod_rewrite for this one thing, and it=E2=80=99s kinda > advanced given I=E2=80=99m a beginner at such things. > > You can contact me off list if you want to negotiate, > otherwise if you look at the above and go =E2=80=9Coh for heave= n=E2=80=99s > sake that=E2=80=99s too easy=E2=80=9D and jst want to answer it= here and now > for the greater good of the WebDNA community, knock your socks > off. > > > > Regards, > > 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)
I found the QSA gem when I found a mod_rewrite cheat sheet on a now=20 defunct site called ilovejackdaniels.com. The cheat sheet looks to have=20 been updated and placed out there at:=20 http://www.addedbytes.com/cheat-sheets/mod_rewrite-cheat-sheet/ Tom Duke wrote: > Matthew, > > Sorry - I should have read through your email properly before I=20 > posted. That should work - and does on my server. Never knew about=20 > the QSA option! > > - Tom > > > > On Mon, Feb 15, 2010 at 10:07 PM, Matthew Bohne=20 > > 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. > > > RewriteEngine on > RewriteRule ^([A-Za-z0-9_]+).csn?$ index.csn?pageName=3D$1 [L,QSA] > > > That said, mod_rewrite is worth learning. > > > Diane Blackmore wrote: > > Hi > > I have a need for a solution to rewrite =E2=80=93 either by > mod_rewrite or other =E2=80=93 the following URL syntax; > > url needs to go from: > > =20 > _http://launch72.cohesion.co.nz/online/index.csn?pageName=3Dad= vertiser_vacancies&var1=3Dvar1&var2=3Dvar2&var3=3Dvar3 > > =20 > >_ > =20 > <_http://launch72.cohesion.co.nz/online/index.csn?pageName=3Da= dvertiser_vacancies&var1=3Dvar1&var2=3Dvar2&var3=3Dvar3 > > =20 > >_> > > > etc > > to > =20 > _http://launch72.cohesion.co.nz/online/advertiser_vacancies.cs= n?var1=3Dvar1&var2=3Dvar2&var3=3Dvar3 > > =20 > >_ > =20 > <_http://launch72.cohesion.co.nz/online/advertiser_vacancies.c= sn?var1=3Dvar1&var2=3Dvar2&var3=3Dvar3 > > =20 > >_> > > > etc > > > Happy to pay for this as a job, but its just not worth my > learning mod_rewrite for this one thing, and it=E2=80=99s kinda > advanced given I=E2=80=99m a beginner at such things. > > You can contact me off list if you want to negotiate, > otherwise if you look at the above and go =E2=80=9Coh for heave= n=E2=80=99s > sake that=E2=80=99s too easy=E2=80=9D and jst want to answer it= here and now > for the greater good of the WebDNA community, knock your socks > off. > > > > Regards, > > Matthew Bohne

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:

Anyone trying the Dreamweaver Extensions? (2000) Bug Report, maybe (1997) Quitting WebMerchant ? (1997) SV: Strange sort in search... (2000) template includes encrypted template (1999) First postarg not taking in $Commands (1997) Exclamation point (1997) [getchars] questions (1997) WebCommerce: Folder organization ? (1997) WebDNA update from Smith Micro (2002) Explorer 3.0/ Access Denied! (1997) Fwd: 502 Bad Gateway (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) WebDNA Solutions --> Date format suggestions (1998) Upload Maximum (2003) Summing fields (1997) please anybody help (2005) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) WebCat2b12--[searchstring] bug (1997) No luck with taxes (1997)