Re: [WebDNA] Clean URLS job - will pay
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 104774
interpreted = N
texte = So I have created an other folder with the file in it=20http://www.banahan.fr/test/test/test.htmlbut it still doesn't workI have also tried http://www.banahan.fr/serverTest.php or=20http://www.banahan.fr/1/rewrite.phpbut no sucessLe 17/02/10 16:12, Matthew Bohne a =C3=A9crit :> In that case, inconnu.html would rewrite to test/test.html>> So:> http://www.banahan.fr/test/inconnu.html> would point to:> http://www.banahan.fr/test/test/test.html>>> Lawrence 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=20>> 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?va=r1=3Dvar1&var2=3Dvar2&var3=3Dvar=20>>>
=20>>>>>>>>> passed on to>>>>>> =20>>> http://launch72.cohesion.co.nz/online/index.csn?pageName=3Dany-possi=ble-page-title&var1=3Dvar1&var2=3Dvar2&var3=3Dvar3=20>>> =20>>>>>>>>> for processing? If so then try this .htaccess file in your=20>>> 'online' 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=20>>> from the 'requestedurl' and 'query' variables.>>>>>> - Tom>>>>>>>>>>>>>>> ---------------------------------------------------------> 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:=20> http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288>
Associated Messages, from the most recent to the oldest:
So I have created an other folder with the file in it=20http://www.banahan.fr/test/test/test.htmlbut it still doesn't workI have also tried http://www.banahan.fr/serverTest.php or=20http://www.banahan.fr/1/rewrite.phpbut no sucessLe 17/02/10 16:12, Matthew Bohne a =C3=A9crit :> In that case, inconnu.html would rewrite to test/test.html>> So:> http://www.banahan.fr/test/inconnu.html> would point to:> http://www.banahan.fr/test/test/test.html>>> Lawrence 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=20>> 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?va=r1=3Dvar1&var2=3Dvar2&var3=3Dvar=20>>> =20>>>>>>>>> passed on to>>>>>> =20>>> http://launch72.cohesion.co.nz/online/index.csn?pageName=3Dany-possi=ble-page-title&var1=3Dvar1&var2=3Dvar2&var3=3Dvar3=20>>> =20>>>>>>>>> for processing? If so then try this .htaccess file in your=20>>> 'online' 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=20>>> from the 'requestedurl' and 'query' variables.>>>>>> - Tom>>>>>>>>>>>>>>> ---------------------------------------------------------> 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:=20> http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288>
Lawrence
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:
WebCat editing, SiteGuard & SiteEdit (1997)
can WC render sites out? (1997)
taxTotal, grandTotal (1997)
Not really WebCat (1997)
db updating? (2000)
Template Not Found (1998)
WebCat2 as a chat server? (1997)
Emailer help....! (1997)
MacActivity and PCS (1997)
Sort Order on a page search (1997)
Wrapping text (1998)
WC2.0 Memory Requirements (1997)
Re:no template caching (1997)
password authentication schemes (2003)
Help name our technology! (1997)
Search/sort in URL Was: GuestBook example (1997)
[WriteFile] problems (1997)
taxTotal (1997)
Banners and sort of random display (1997)
OT : Virus (2000)