Re: [WebDNA] Rewrite url

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110601
interpreted = N
texte = On 2013-08-30, at 12:22 PM, John Butler wrote: > Hi Lawrence >=20 > I don't know if you are using the WCS framework I made or not... but = your post reminded of think I went through to get it working with = .htaccess RewriteRule ... see here in case this is your issue: >=20 > = /Library/WebServer/Documents/{YourSiteRoot}/{WCS}/WebdnaCodeSparker_1_0_4/= WCS_system/WCS_Sys_routing.dna ... from those notes ^^^ ... So I had to do e.g. this in my forms that = are run through WCS : [snip] [!]<---The path to where your form = submits to---[/!]  >=20 > ... where '/Library/WebServer/Documents/' is the actual absolute path = to your webserver >=20 > ...and where '{YourSiteRoot}' is the name you gave to your site root >=20 > ...and where '{WCS}' is the name you gave to your WCS install (what = you named the directory where you put the WCS framework) >=20 > See the comment/ "notes" at the top of that file. >=20 > Maybe that helps? >=20 > -Govinda >=20 >=20 > On 2013-08-30, at 7:53 AM, Lawrence Banahan wrote: >=20 >> Hi >> I'm trying to set up a RewriteRule in the .htacess o my mac/apache = server to get nice url >> I can't understand why it's not working. >>=20 >> Here is the code I'm using in the htaccess >>=20 >> >> RewriteEngine On >> RewriteRule ^(.*)$ index.dna?REQUEST_URI=3D%{REQUEST_URI} [L] >> >>=20 >> Thanks in advance >> Lawrence >> --------------------------------------------------------- >> 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 >> Bug Reporting: support@webdna.us >=20 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Rewrite url (WebDNA 2013)
  2. Re: [WebDNA] Rewrite url (Lawrence Banahan 2013)
  3. Re: [WebDNA] Rewrite url (WebDNA 2013)
  4. Re: [WebDNA] Rewrite url (matt@psiprime.com 2013)
  5. Re: [WebDNA] Rewrite url (Lawrence Banahan 2013)
  6. Re: [WebDNA] Rewrite url (matt@psiprime.com 2013)
  7. Re: [WebDNA] Rewrite url (John Butler 2013)
  8. Re: [WebDNA] Rewrite url (John Butler 2013)
  9. Re: [WebDNA] Rewrite url (Lawrence Banahan 2013)
  10. Re: [WebDNA] Rewrite url (Lawrence Banahan 2013)
  11. Re: [WebDNA] Rewrite url (John Butler 2013)
  12. Re: [WebDNA] Rewrite url (Stuart Tremain 2013)
  13. Re: [WebDNA] Rewrite url (Stuart Tremain 2013)
  14. [WebDNA] Rewrite url (Lawrence Banahan 2013)
  15. Re: [WebDNA] Rewrite url before redirect (Dave Stengel 2012)
  16. Re: [WebDNA] Rewrite url before redirect (Govinda 2012)
  17. [WebDNA] Rewrite url before redirect (Dave Stengel 2012)
On 2013-08-30, at 12:22 PM, John Butler wrote: > Hi Lawrence >=20 > I don't know if you are using the WCS framework I made or not... but = your post reminded of think I went through to get it working with = .htaccess RewriteRule ... see here in case this is your issue: >=20 > = /Library/WebServer/Documents/{YourSiteRoot}/{WCS}/WebdnaCodeSparker_1_0_4/= WCS_system/WCS_Sys_routing.dna ... from those notes ^^^ ... So I had to do e.g. this in my forms that = are run through WCS : [snip] [!]<---The path to where your form = submits to---[/!]  >=20 > ... where '/Library/WebServer/Documents/' is the actual absolute path = to your webserver >=20 > ...and where '{YourSiteRoot}' is the name you gave to your site root >=20 > ...and where '{WCS}' is the name you gave to your WCS install (what = you named the directory where you put the WCS framework) >=20 > See the comment/ "notes" at the top of that file. >=20 > Maybe that helps? >=20 > -Govinda >=20 >=20 > On 2013-08-30, at 7:53 AM, Lawrence Banahan wrote: >=20 >> Hi >> I'm trying to set up a RewriteRule in the .htacess o my mac/apache = server to get nice url >> I can't understand why it's not working. >>=20 >> Here is the code I'm using in the htaccess >>=20 >> >> RewriteEngine On >> RewriteRule ^(.*)$ index.dna?REQUEST_URI=3D%{REQUEST_URI} [L] >> >>=20 >> Thanks in advance >> Lawrence >> --------------------------------------------------------- >> 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 >> Bug Reporting: support@webdna.us >=20 John Butler

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:

Help! WebCat2 bug (1997) 'RequiredField' Question (1998) Number of Open Databases (1998) Pithy questions on webcommerce & siteedit (1997) [GetMIMEHeader] does not work (under Linux?) (2000) WebCat2 - [format thousands] (1997) multi-paragraph fields (1997) Re:no template caching (1997) Rendering out a page-test results (1997) Another question (1997) Need relative path explanation (1997) & in Lookups (1997) HTML encoding in URLs (1997) New servers and new inline cache (1997) Date Calulation (1997) Not really WebCat (1997) PCS Frames (1997) RE: [WebDNA] Latest Windows Version (2010) [OT] Form POSTing with LONG variable (2007) Purchased cart being overwritten - still !?? (1997)