Re: WebDNA equivalent for $REQUEST_URI
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 56547
interpreted = N
texte = Tom,Good work tracking this down. Was there a site on Apache that you'drecommend for more information on the rewrite rule?BIll> Ok,>=20> So I have found out the following.>=20> The punter enters:->=20> http://yourdomain/stuff/morestuff>=20>=20> the .htaccess file contains:->=20> RewriteEngine On> RewriteRule !\.(gif=A6jpg=A6png=A6css)$> parser.tmpl?requestedurlstring=3D%{REQUEST_URI}>=20>=20> and then in 'parser.tmpl' the string 'stuff/morestuff' is contained in th=e> variable [requestedurlstring]>=20>=20> So I can now move on and code the 'parser.tmpl' template to search databa=ses> etc and deliver the correct page. Thanks to all who made suggestions.>=20> - Tom>=20> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Tom,Good work tracking this down. Was there a site on Apache that you'drecommend for more information on the rewrite rule?BIll> Ok,>=20> So I have found out the following.>=20> The punter enters:->=20> http://yourdomain/stuff/morestuff>=20>=20> the .htaccess file contains:->=20> RewriteEngine On> RewriteRule !\.(gif=A6jpg=A6png=A6css)$> parser.tmpl?requestedurlstring=3D%{REQUEST_URI}>=20>=20> and then in 'parser.tmpl' the string 'stuff/morestuff' is contained in th=e> variable [requestedurlstring]>=20>=20> So I can now move on and code the 'parser.tmpl' template to search databa=ses> etc and deliver the correct page. Thanks to all who made suggestions.>=20> - Tom>=20> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
William DeVaul
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:
Running WebCat from a CD-ROM (1997)
I can help! (1996)
WCS Newbie question (1997)
Multiple catalog databases and showcart (1997)
100 + Users updating database (2002)
Special delete ... (1997)
convert characters (2003)
New Command prefs ... (1997)
RAM variables (1997)
serial number generation (1997)
Re2: frames & carts (1997)
WebCat2 - storing unformatted date data? (1997)
OT - royalty free images (2002)
[WebDNA] security patches (2014)
Nested vs conditional (1997)
Another question (1997)
What date is it anyway? (2004)
Showif, Hideif reverse logic ? (1997)
WebCatalog-NT?'s (1996)
counting characters and/or words (1997)