Re: [WebDNA] Clean URLS job - will pay
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 104771
interpreted = N
texte = In that case, inconnu.html would rewrite to test/test.htmlSo:http://www.banahan.fr/test/inconnu.htmlwould point to:http://www.banahan.fr/test/test/test.htmlLawrence wrote:> Hi,>> following this talk I have tried to setup the rewrite_module through=20> Itools 9.1 OSX 10.5, (.htaccess has been unable) but I get a white page=...> I prepared a file test.html =20> "
TestOK !"> an .htaccess "RewriteEngine on> RewriteRule ^inconnu\.html$ /test/test.html [L]"> and so I should be able to go from=20> http://www.banahan.fr/test/test.html to=20> http://www.banahan.fr/test/inconnu.html> but it doesn't do anything...>> I know this isnot a Itool list... but maybe somebody has an idea on=20> houw setting this up...> Lawrence>>> Le 17/02/10 13:39, Tom Duke a =C3=A9crit :>> Diane,>>>> Hi - clean URLs generally refer to ones which do not use question=20>> marks and ampersands for variables. But anyhow - I'm not sure what=20>> you are trying to do here. Is it that you want to do the following:>>>> This URL:>>>> =20>> http://launch72.cohesion.co.nz/online/any-possible-page-title.csn?var=1=3Dvar1&var2=3Dvar2&var3=3Dvar=20>>
>>>> passed on to>>>> =20>> http://launch72.cohesion.co.nz/online/index.csn?pageName=3Dany-possib=le-page-title&var1=3Dvar1&var2=3Dvar2&var3=3Dvar3=20>> >>>> for processing? If so then try this .htaccess file in your 'online'=20>> directory>>>> RewriteEngine On>> RewriteCond %{REQUEST_URI} !index\.csn>> RewriteRule ^(.+)$=20>> index.csn?requestedurl=3D%{REQUEST_URI}&query=3D%{query_string} [L]>>>> You'll need to pullout the required pagename and other variables from=20>> the 'requestedurl' and 'query' variables.>>>> - Tom>>>>>>>>
Associated Messages, from the most recent to the oldest:
In that case, inconnu.html would rewrite to test/test.htmlSo:http://www.banahan.fr/test/inconnu.htmlwould point to:http://www.banahan.fr/test/test/test.htmlLawrence wrote:> Hi,>> following this talk I have tried to setup the rewrite_module through=20> Itools 9.1 OSX 10.5, (.htaccess has been unable) but I get a white page=...> I prepared a file test.html =20> "TestOK !"> an .htaccess "RewriteEngine on> RewriteRule ^inconnu\.html$ /test/test.html [L]"> and so I should be able to go from=20> http://www.banahan.fr/test/test.html to=20> http://www.banahan.fr/test/inconnu.html> but it doesn't do anything...>> I know this isnot a Itool list... but maybe somebody has an idea on=20> houw setting this up...> Lawrence>>> Le 17/02/10 13:39, Tom Duke a =C3=A9crit :>> Diane,>>>> Hi - clean URLs generally refer to ones which do not use question=20>> marks and ampersands for variables. But anyhow - I'm not sure what=20>> you are trying to do here. Is it that you want to do the following:>>>> This URL:>>>> =20>> http://launch72.cohesion.co.nz/online/any-possible-page-title.csn?var=1=3Dvar1&var2=3Dvar2&var3=3Dvar=20>> >>>> passed on to>>>> =20>> http://launch72.cohesion.co.nz/online/index.csn?pageName=3Dany-possib=le-page-title&var1=3Dvar1&var2=3Dvar2&var3=3Dvar3=20>> >>>> for processing? If so then try this .htaccess file in your 'online'=20>> directory>>>> RewriteEngine On>> RewriteCond %{REQUEST_URI} !index\.csn>> RewriteRule ^(.+)$=20>> index.csn?requestedurl=3D%{REQUEST_URI}&query=3D%{query_string} [L]>>>> You'll need to pullout the required pagename and other variables from=20>> the 'requestedurl' and 'query' variables.>>>> - Tom>>>>>>>>
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:
Security Question (1997)
Reloading adds items - how to prevent?? (1998)
[OT] Change permissions via FTP? (2002)
Testing (2002)
Off topic: to Jeroen (bouncing email) (2000)
Can't load tmpl files (1997)
Revisit: speed test (2002)
form data submission gets truncated (1997)
Date Formats (1997)
Nested search (1997)
RequiredFields template (1997)
Searching for all records (1998)
SMSI: databases corrupted on crash and permission issueson OSX (2002)
bug in Webcat OSX (1999)
Getting Total Quantity (1997)
File Uploads: WebCat/SiteEdit (1998)
two unique banners on one page (1997)
[ConvertChars] problem (1997)
Help formatting search results w/ table (1997)
syntax question, not in online refernce (1997)