Re: [WebDNA] Clean URLS job - will pay
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 104809
interpreted = N
texte = That is exactly what:RewriteRule ^([A-Za-z0-9_]+).csn?$ index.csn?pageName=$1 [L,QSA]does.Is there any way you can verify that rewrite is working at all?Try:RewriteRule ^junk.csn?$ index.csn [L]Navigate to junk.csn and see if it displays index.csn. If not, then mod_rewrite or .htaccess files may not be set up properly in Apache.Diane Blackmore (Cohesion) wrote:> Hi>> URL I want to be shown in the browser would be:>> any-possible-page-title.csn?var1=var1&var2=var2&var3=var3...>> However, actual URL (processing the webdna) would be:>> index.csn?pageName=any-possible-page-title&var1=var1&var2=var2&var3=var3..>>> Is this even possible???? Do I need to change my strategy?>>>> Thanks,>>> on 19/2/10 1:14 PM, Tom Duke at tom@revolutionaries.ie wrote:>> Diane,>> Now I really am confused about what you want to do. What are the> URLs that you want to publicly use - and what is the URL of the> WebDNA template that will process the request after it is received> by the webserver.>> - Tom>>>>>
Associated Messages, from the most recent to the oldest:
That is exactly what:RewriteRule ^([A-Za-z0-9_]+).csn?$ index.csn?pageName=$1 [L,QSA]does.Is there any way you can verify that rewrite is working at all?Try:RewriteRule ^junk.csn?$ index.csn [L]Navigate to junk.csn and see if it displays index.csn. If not, then mod_rewrite or .htaccess files may not be set up properly in Apache.Diane Blackmore (Cohesion) wrote:> Hi>> URL I want to be shown in the browser would be:>> any-possible-page-title.csn?var1=var1&var2=var2&var3=var3...>> However, actual URL (processing the webdna) would be:>> index.csn?pageName=any-possible-page-title&var1=var1&var2=var2&var3=var3..>>> Is this even possible???? Do I need to change my strategy?>>>> Thanks,>>> on 19/2/10 1:14 PM, Tom Duke at tom@revolutionaries.ie wrote:>> Diane,>> Now I really am confused about what you want to do. What are the> URLs that you want to publicly use - and what is the URL of the> WebDNA template that will process the request after it is received> by the webserver.>> - 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:
charge.com (2005)
problem serving foreign languages text (1997)
WebCat2 Append problem (B14Macacgi) (1997)
RAM variables (1997)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)
HELP!! problems with e-mail from WebCAT (1998)
email problem (1998)
declined orders webmerchant not showing up? (2005)
New command suggestion (was Modifying databases manually) (1997)
I'm having trouble using [url][interpret][math] together in lookup (1997)
extending webcatalog (1997)
updating with ProductEditor (1998)
RE: Clearing orders and database help! (1997)
[WebDNA] Froala Editor working with WebDNA (2016)
Re:[ShowIf] and empty fields (1997)
Old Style vs XML Syntax (2003)
WebCat2b13MacPlugin - nested [xxx] contexts (1997)
I'm new be kind (1997)
[include] (1998)
[WebDNA] Email time bug? YES, it's a bug! (2011)