Re: [WebDNA] Clean URLS job - will pay
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 104768
interpreted = N
texte = --0015174765c06da593047fcb2338Content-Type: text/plain; charset=UTF-8Diane,Hi - clean URLs generally refer to ones which do not use question marks andampersands for variables. But anyhow - I'm not sure what you are trying todo here. Is it that you want to do the following:This URL:http://launch72.cohesion.co.nz/online/any-possible-page-title.csn?var1=var1&var2=var2&var3=varpassed on tohttp://launch72.cohesion.co.nz/online/index.csn?pageName=any-possible-page-title&var1=var1&var2=var2&var3=var3for processing? If so then try this .htaccess file in your 'online'directoryRewriteEngine OnRewriteCond %{REQUEST_URI} !index\.csnRewriteRule ^(.+)$index.csn?requestedurl=%{REQUEST_URI}&query=%{query_string} [L]You'll need to pullout the required pagename and other variables from the'requestedurl' and 'query' variables.- Tom--0015174765c06da593047fcb2338Content-Type: text/html; charset=UTF-8Content-Transfer-Encoding: quoted-printableDiane,
Hi - clean URLs generally refer to ones which do not use= question marks and ampersands for variables. =C2=A0But anyhow - I'm no=t sure what you are trying to do here. =C2=A0 Is it that you want to do the= following:
This URL:
passed on to
for processing? =C2=A0 If so then try this .htacce=ss file in your 'online' directory
RewriteEngine On
RewriteCond %{REQUEST_URI} !index\.csn
RewriteRule ^(.+)$ index.csn?requestedurl=3D%{REQUEST_URI}&query=3D%{q=uery_string} [L]
You'll need to pullout the re=quired pagename and other variables from the 'requestedurl' and =9;query' variables.
- Tom
--0015174765c06da593047fcb2338--
Associated Messages, from the most recent to the oldest:
--0015174765c06da593047fcb2338Content-Type: text/plain; charset=UTF-8Diane,Hi - clean URLs generally refer to ones which do not use question marks andampersands for variables. But anyhow - I'm not sure what you are trying todo here. Is it that you want to do the following:This URL:http://launch72.cohesion.co.nz/online/any-possible-page-title.csn?var1=var1&var2=var2&var3=varpassed on tohttp://launch72.cohesion.co.nz/online/index.csn?pageName=any-possible-page-title&var1=var1&var2=var2&var3=var3for processing? If so then try this .htaccess file in your 'online'directoryRewriteEngine OnRewriteCond %{REQUEST_URI} !index\.csnRewriteRule ^(.+)$index.csn?requestedurl=%{REQUEST_URI}&query=%{query_string} [L]You'll need to pullout the required pagename and other variables from the'requestedurl' and 'query' variables.- Tom--0015174765c06da593047fcb2338Content-Type: text/html; charset=UTF-8Content-Transfer-Encoding: quoted-printableDiane,
Hi - clean URLs generally refer to ones which do not use= question marks and ampersands for variables. =C2=A0But anyhow - I'm no=t sure what you are trying to do here. =C2=A0 Is it that you want to do the= following:
This URL:
passed on to
for processing? =C2=A0 If so then try this .htacce=ss file in your 'online' directory
RewriteEngine On
RewriteCond %{REQUEST_URI} !index\.csn
RewriteRule ^(.+)$ index.csn?requestedurl=3D%{REQUEST_URI}&query=3D%{q=uery_string} [L]
You'll need to pullout the re=quired pagename and other variables from the 'requestedurl' and =9;query' variables.
- Tom
--0015174765c06da593047fcb2338--
Tom Duke
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:
DB not found error RESOLVED (2004)
Still Stumped on ShowNext...HELP! (1997)
Setting up the server (1997)
multi-paragraph fields (1997)
WebCat b13 CGI -shownext- (1997)
Large databases in WebCat (1997)
Subject: Authenticating users without dialog box (1997)
Location of Browser Info.txt file (1997)
[SearchString] problem with [search] context (1997)
[WebDNA] WebDNA app (2013)
Signal Raised Error (Part III) (1997)
shipCost not working v2.1b4 (1997)
No subject given (2000)
Replacing entry (1998)
Help! WebMerchant store suddenly won't process orders... (2001)
A Global Variable (1997)
Random/Odd/Even Listings (2005)
Help name our technology! I found it (1997)
Need help with emailer- 2 issues (1997)
[WebDNA] Friday's.. WIP thread (2009)