Re: URL problem
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 68417
interpreted = N
texte = Pat McCormick wrote:> Thanks, Tom> > I need to rewrite any URL containing an underscore (_) and without an > extension (tpl|gif|jpg|png|css|ico) so that it lands on index.tpl and > passes the original requested URL to index.tpl.> > Will this work?> > RewriteEngine On> RewriteCond %{REQUEST_URI} !index\.tpl> RewriteCond %{REQUEST_URI} !\.(tpl|gif|jpg|png|css|ico)> RewriteRule ^_ /index.tpl?requestedurl=%{REQUEST_URI} [L]Pat, I just joined this forum a while ago:http://forum.modrewrite.com/Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ Web Sites:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
Pat McCormick wrote:> Thanks, Tom> > I need to rewrite any URL containing an underscore (_) and without an > extension (tpl|gif|jpg|png|css|ico) so that it lands on index.tpl and > passes the original requested URL to index.tpl.> > Will this work?> > RewriteEngine On> RewriteCond %{REQUEST_URI} !index\.tpl> RewriteCond %{REQUEST_URI} !\.(tpl|gif|jpg|png|css|ico)> RewriteRule ^_ /index.tpl?requestedurl=%{REQUEST_URI} [L]Pat, I just joined this forum a while ago:http://forum.modrewrite.com/Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ Web Sites:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
Donovan Brooke
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:
Harvesting invalid email addresses from bounced emails??? (2000)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
[WebDNA] linux linux linux (2009)
Emailer Set Up (1997)
Help with database strategy (1998)
Pull Down Search (2000)
(2000)
(thx) automating a POST (2002)
Authenticate (1997)
using listfiles to build a database? more (2000)
Virtual hosting and webcatNT (1997)
Hiding HTML and breaking the page (1997)
PIXO support (1997)
Summary search -- speed (1997)
PSC recommends what date format yr 2000??? (1997)
RAM variables (1997)
Unix Timestamp using WebDNA [code req] (2003)
Calendar (1997)
Training Tapes Improved (1998)
Protect vs Authenicate (1997)