Your =index.dna file then needs to use the permalink variable to find the =content ie
[search =db=3Dbase.db&eqPERMALINKdatarq=3D[PERMALINKVAR]&max=3D1]=[numfound]
[founditems]
=[SKU] - [DATA]<br>
=[/founditems]
[/search]
The =above RewriteRule works on Linux Apache2, I assume that it will work on =OSX, there are a few little things that may change from platform to =platform, I know it needs a change on IIS where I need to add a / in the =first part to ^/([A-Za-z0-9-]+)/?$
If you find =that there are still problems try removing the / from the end )/?$. =There is also lots of help in Google.
Have you =tested that your mod_rewrite is set up properly - once again Google a =test scenario that suits your setup.
There are =a few "Cheat Sheets" that are very good in working out the best method =of doing your rules, also checkout RegEx
There =are also situations where submitting a form that is handled in =modrewrite loses its data so if you find that you are having problems =there are ways of fixing that too.
Good luck, =weekend is here, I am off for a few days.
Regards
Stuart =Tremain
IDFK Web Developments
AUSTRALIA
=div>
Here is what I'm triyng to do
Website :
http://www.sensationvoile.fr/To try to get this working I'm created a small database
sku data =permalink
01 mydata =mypermalink
02 newdata =secondlink
Then I display the content
[search db=3Dbase.db&neSKUdata=3Dall][numfound]
[founditems]<a=20href=3D"[thisurl]?SKU=3D[data]">[data]</a><br>[/founditems]=
<hr />
[founditems]<a=20href=3D"[thisurl]?SKU=3D[SKU]">[data]</a><br>[/founditems] =
[/search]
What I want to do is to get
http://www.sensationvoile.fr/=span>mypermalink
or
http://www.sensationvoile.fr/=span>secondlink
so like that I get nice URL SEO friendly
John, I need to be working on one of my existing website, but I worked=20=from what I found in your .htaccess
==20 30 ao=FBt =2013=2014:29
Lawrence
Please=20=give an example of what you are trying to =do.
==20 30 ao=FBt =2013=2013:53
Hi
I'm trying to set up a RewriteRule in the .htacess o my mac/apache=20=server to get nice url
I can't understand why it's not working.
Here is the code I'm using in the htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ =index.dna?REQUEST_URI=3D%{REQUEST_URI} [L]
</IfModule>
Thanks in advance
Lawrence
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us
=--Apple-Mail=_D7DEE802-B282-4F4E-B396-8688C5FD0ABEContent-Transfer-Encoding: base64Content-Disposition: inline;filename=compose-unknown-contact.jpgContent-Type: image/jpeg;x-apple-mail-type=stationery;name="compose-unknown-contact.jpg"Content-Id:
/9j/4AAQSkZJRgABAQEARwBHAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECAQEBAQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAARCAAZABkDAREAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAABgcICQr/xAA0EAABAwMCAgUKBwAAAAAAAAACAQMEBQYRABITIQcUMUF2CBUXIjI2N0JRtVRWkZOV0dL/xAAYAQEAAwEAAAAAAAAAAAAAAAADAAEEAv/EACQRAAICAAQGAwAAAAAAAAAAAAABAhEDMrHREyExM0FxgfDx/9oADAMBAAIRAxEAPwDuEt+gW/ULet6oVC3rfqNQqFv0OfPn1GhUqfOmzZtKZlS5UqZMaNwzNwiJVIl7eXLCaZIGwBl3TY8epPx2+jy2ZNPjvkwc9uhW8j7nCPhvOsQliYIeS7cvCpp8o50qwrC4v3lsNSDbdmTEhvs2tahxpfV3WnmbbozJEw/gwdadbYExVRXKEKoSdvJcaOSqxE7/AAiX0gXx+a69/JSf9alIlste0VzaNpeFrcT9KKymotyiaZ0KRCnzacoE7Kjzn4gi2KqUh3jqDHDHv4mRUfruTWlMzlVUKIVNp9GguEJnAh0+IZjyAiisgyRDnu5azS8miKqjOTVkKqS/psG37fo1Fbabeg25b8eZPeFJBBJSjMG5HjMeyihnaauZwe4OGiju13GAcpOwBeN+U8/IkGbsiS8b7ryogmbzhbyc9REROfZhERO5ETShjPtvpGqTUyLErytS4siSwx5x2tRH4hPOI0DkjZtaJtFxuVEbIUUiyeNujlBUJGbJN6nM/Cyf2Hf60YgjvKA+NPSP4gT7axpcPtr51YWJnYn9dnAQWl722p4ot37yzqnlfp6FrqbwawG8/9k=--Apple-Mail=_D7DEE802-B282-4F4E-B396-8688C5FD0ABEContent-Transfer-Encoding: base64Content-Disposition: inline;filename=postbox-contact.jpgContent-Type: image/jpeg;x-apple-mail-type=stationery;name="postbox-contact.jpg"Content-Id: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAAZABkDAREAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD6xu9X8OWK6j4q8Q2VpfPY6Cmr30klrHNKyi2aVySQTk4OB24A4r5+hOTrO/Y9KqkoK3c+Jr/Uf2hfiPqJv38QeEdD0y95ttKTS4XjhhYZVHbyiWODySTzmto4qmmo2HHDTa5rnq/7Huk3FxqXjSLXtK0mO60e6tbG4NrZwxhZA0hLxuqhhwAQeo9q9HF1/bU4S66nHCn7Ocos6z/hoDxP/wBFVg/7/wAX+Fc3PPuVyxPQdG0O98UeH/Enh+Fo0ivvCdraxbUAxJJp/IPUHO4Dp3rzMNdVJ+n+Z21bcqv3PzsbSr+2XUbCb4x+I7W5ivIWjkWJlW3XJ3RNhup3KBgj7vArp54qz5EaRpXVudn25+yDoOnw6L47vdPvp72eS702a6nlHzyyeSysze5wWOOPmrdQn7NTls9jmqyhz8sdWt2eYecn91PyoszG5534v/4KBeJNA0vUvD3w28JSaTf3Fhb6fLqGrH/SbSSK2jgfZAOFcMjY3E4PVcitcNlvs5udSV79BVcVzJRitifwt8Pbj4j2Ph/xR4f1qxt9H8UxLPqCXUhL6fKzBJS2Adyh0faSQememawrwp06ypOVuY6KOIn7J6bHb/AH9qv4UfAzxH8QPBvj+21e1S91V7S0vraFbmKNbeSWMeaFYNyCDlQw617OKoupCMYfZVjzKdVRk3Lqznf+Eqs/+gV4g/8ABFe//Gq4fq8+x0e1ifK37Z//ACdB48/7CS/+iI67kc/U6H4If8itY/7k/wD6NavPr/71T+ZtT/hSOY+E/wDyWCD/ALDkf/pSK9J7I53uftJSA//Z--Apple-Mail=_D7DEE802-B282-4F4E-B396-8688C5FD0ABE----Apple-Mail=_8E559B81-5E39-4FB7-842F-18F4DD801CA3--
Associated Messages, from the most recent to the oldest:
--Apple-Mail=_8E559B81-5E39-4FB7-842F-18F4DD801CA3Content-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=iso-8859-1LawrenceTo achieve your links http://www.sensationvoile.fr/mypermalink you =will need to have your internal links looking like this:[search db=3Dbase.db&neSKUdata=3Dall][numfound][founditems]click to my clean url
[/founditems]=20[/search]Then your .htaccess file needs to be able to reverse the processRewriteRule ^([A-Za-z0-9-]+)/?$ /index.dna?permalinkvar=3D$1 [NC,L]Your index.dna file then needs to use the permalink variable to find the =content ie[search db=3Dbase.db&eqPERMALINKdatarq=3D[PERMALINKVAR]&max=3D1][numfound][founditems][SKU] - [DATA]
[/founditems]=20[/search]The above RewriteRule works on Linux Apache2, I assume that it will work =on OSX, there are a few little things that may change from platform to =platform, I know it needs a change on IIS where I need to add a / in the =first part to ^/([A-Za-z0-9-]+)/?$If you find that there are still problems try removing the / from the =end )/?$. There is also lots of help in Google.Have you tested that your mod_rewrite is set up properly - once again =Google a test scenario that suits your setup.There are a few "Cheat Sheets" that are very good in working out the =best method of doing your rules, also checkout RegExThere are also situations where submitting a form that is handled in =modrewrite loses its data so if you find that you are having problems =there are ways of fixing that too.Good luck, weekend is here, I am off for a few days.RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 31/08/2013, at 3:33 AM, Lawrence Banahan wrote:> Here is what I'm triyng to do>=20> Website : http://www.sensationvoile.fr/> To try to get this working I'm created a small database> sku data permalink> 01 mydata mypermalink> 02 newdata secondlink> Then I display the content=20>=20> [search db=3Dbase.db&neSKUdata=3Dall][numfound]> [founditems][thisurl]?SKU=3D[data]">[data]
[/founditem=s]=20>
> [founditems][thisurl]?SKU=3D[SKU]">[data]
[/founditems=]=20> [/search]>=20> What I want to do is to get>=20> http://www.sensationvoile.fr/mypermalink=20> or=20> http://www.sensationvoile.fr/secondlink =20>=20> so like that I get nice URL SEO friendly>=20>=20> John, I need to be working on one of my existing website, but I worked =from what I found in your .htaccess>=20>=20>> Stuart Tremain30 ao=FBt 2013 14:29>> Lawrence>>=20>> Please give an example of what you are trying to do.>>=20>>=20>>=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>> Bug Reporting: support@webdna.us>> Lawrence Banahan30 ao=FBt 2013 13:53>> Hi=20>> I'm trying to set up a RewriteRule in the .htacess o my mac/apache =server to get nice url=20>> I can't understand why it's not working.=20>>=20>> Here is the code I'm using in the htaccess=20>>=20>> =20>> RewriteEngine On=20>> RewriteRule ^(.*)$ index.dna?REQUEST_URI=3D%{REQUEST_URI} [L]=20>> =20>>=20>> Thanks in advance=20>> Lawrence=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 Bug Reporting: =support@webdna.us--Apple-Mail=_8E559B81-5E39-4FB7-842F-18F4DD801CA3Content-Type: multipart/related;type="text/html";boundary="Apple-Mail=_D7DEE802-B282-4F4E-B396-8688C5FD0ABE"--Apple-Mail=_D7DEE802-B282-4F4E-B396-8688C5FD0ABEContent-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=iso-8859-1Lawrence
[search =db=3Dbase.db&neSKUdata=3Dall]
<a =href=3D"/[permalink]">click to my clean url</a><br>
=[/founditems]
[/search]
Then your .htaccess file needs to be able to reverse the =process
RewriteRule ^([A-Za-z0-9-]+)/?$ = /index.dna?permalinkvar=3D$1 [NC,L]
Your =index.dna file then needs to use the permalink variable to find the =content ie
[search =db=3Dbase.db&eqPERMALINKdatarq=3D[PERMALINKVAR]&max=3D1]=[SKU] - [DATA]<br>
=[/founditems]
[/search]
The =above RewriteRule works on Linux Apache2, I assume that it will work on =OSX, there are a few little things that may change from platform to =platform, I know it needs a change on IIS where I need to add a / in the =first part to ^/([A-Za-z0-9-]+)/?$
If you find =that there are still problems try removing the / from the end )/?$. =There is also lots of help in Google.
Have you =tested that your mod_rewrite is set up properly - once again Google a =test scenario that suits your setup.
There are =a few "Cheat Sheets" that are very good in working out the best method =of doing your rules, also checkout RegEx
There =are also situations where submitting a form that is handled in =modrewrite loses its data so if you find that you are having problems =there are ways of fixing that too.
Good luck, =weekend is here, I am off for a few days.
Regards
Stuart =Tremain
IDFK Web Developments
AUSTRALIA
=div>
Here is what I'm triyng to do
Website :
http://www.sensationvoile.fr/To try to get this working I'm created a small database
sku data =permalink
01 mydata =mypermalink
02 newdata =secondlink
Then I display the content
[search db=3Dbase.db&neSKUdata=3Dall][numfound]
[founditems]<a=20href=3D"[thisurl]?SKU=3D[data]">[data]</a><br>[/founditems]=
<hr />
[founditems]<a=20href=3D"[thisurl]?SKU=3D[SKU]">[data]</a><br>[/founditems] =
[/search]
What I want to do is to get
http://www.sensationvoile.fr/=span>mypermalink
or
http://www.sensationvoile.fr/=span>secondlink
so like that I get nice URL SEO friendly
John, I need to be working on one of my existing website, but I worked=20=from what I found in your .htaccess
==20 30 ao=FBt =2013=2014:29
Lawrence
Please=20=give an example of what you are trying to =do.
==20 30 ao=FBt =2013=2013:53
Hi
I'm trying to set up a RewriteRule in the .htacess o my mac/apache=20=server to get nice url
I can't understand why it's not working.
Here is the code I'm using in the htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ =index.dna?REQUEST_URI=3D%{REQUEST_URI} [L]
</IfModule>
Thanks in advance
Lawrence
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us
=--Apple-Mail=_D7DEE802-B282-4F4E-B396-8688C5FD0ABEContent-Transfer-Encoding: base64Content-Disposition: inline;filename=compose-unknown-contact.jpgContent-Type: image/jpeg;x-apple-mail-type=stationery;name="compose-unknown-contact.jpg"Content-Id:
/9j/4AAQSkZJRgABAQEARwBHAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECAQEBAQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAARCAAZABkDAREAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAABgcICQr/xAA0EAABAwMCAgUKBwAAAAAAAAACAQMEBQYRABITIQcUMUF2CBUXIjI2N0JRtVRWkZOV0dL/xAAYAQEAAwEAAAAAAAAAAAAAAAADAAEEAv/EACQRAAICAAQGAwAAAAAAAAAAAAABAhEDMrHREyExM0FxgfDx/9oADAMBAAIRAxEAPwDuEt+gW/ULet6oVC3rfqNQqFv0OfPn1GhUqfOmzZtKZlS5UqZMaNwzNwiJVIl7eXLCaZIGwBl3TY8epPx2+jy2ZNPjvkwc9uhW8j7nCPhvOsQliYIeS7cvCpp8o50qwrC4v3lsNSDbdmTEhvs2tahxpfV3WnmbbozJEw/gwdadbYExVRXKEKoSdvJcaOSqxE7/AAiX0gXx+a69/JSf9alIlste0VzaNpeFrcT9KKymotyiaZ0KRCnzacoE7Kjzn4gi2KqUh3jqDHDHv4mRUfruTWlMzlVUKIVNp9GguEJnAh0+IZjyAiisgyRDnu5azS8miKqjOTVkKqS/psG37fo1Fbabeg25b8eZPeFJBBJSjMG5HjMeyihnaauZwe4OGiju13GAcpOwBeN+U8/IkGbsiS8b7ryogmbzhbyc9REROfZhERO5ETShjPtvpGqTUyLErytS4siSwx5x2tRH4hPOI0DkjZtaJtFxuVEbIUUiyeNujlBUJGbJN6nM/Cyf2Hf60YgjvKA+NPSP4gT7axpcPtr51YWJnYn9dnAQWl722p4ot37yzqnlfp6FrqbwawG8/9k=--Apple-Mail=_D7DEE802-B282-4F4E-B396-8688C5FD0ABEContent-Transfer-Encoding: base64Content-Disposition: inline;filename=postbox-contact.jpgContent-Type: image/jpeg;x-apple-mail-type=stationery;name="postbox-contact.jpg"Content-Id: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD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0vUvD3w28JSaTf3Fhb6fLqGrH/SbSSK2jgfZAOFcMjY3E4PVcitcNlvs5udSV79BVcVzJRitifwt8Pbj4j2Ph/xR4f1qxt9H8UxLPqCXUhL6fKzBJS2Adyh0faSQememawrwp06ypOVuY6KOIn7J6bHb/AH9qv4UfAzxH8QPBvj+21e1S91V7S0vraFbmKNbeSWMeaFYNyCDlQw617OKoupCMYfZVjzKdVRk3Lqznf+Eqs/+gV4g/8ABFe//Gq4fq8+x0e1ifK37Z//ACdB48/7CS/+iI67kc/U6H4If8itY/7k/wD6NavPr/71T+ZtT/hSOY+E/wDyWCD/ALDkf/pSK9J7I53uftJSA//Z--Apple-Mail=_D7DEE802-B282-4F4E-B396-8688C5FD0ABE----Apple-Mail=_8E559B81-5E39-4FB7-842F-18F4DD801CA3--
WebDNA
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 and SQL (2003)
WebCatalog and Dreamweaver (1999)
PIXO support (1997)
TCPsend with POST? (1999)
[what] [am] [I] [missing]? (2003)
Some Questions (1997)
Autoreturn Submit? (1997)
Sorry I didn't pay attention-but ??? (1997)
Verifying both name and password (was: New Problem) (1997)
Anyone awake? Newby moves deeper! Sitesearch & (2000)
Virtual hosting and webcatNT (1997)
WebDNA5 & Tiger (2006)
Emailer tracking (1997)
webten vs. webstar (1998)
New Weird Behavior (bug report) (2000)
SQL Madness (2005)
WebCatalog dying in NT (1998)
really wierd browser truncating (1997)
OT: Sending email to lots of subscribers (1999)
Digital Postcards (1999)