Re: URL problem
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 68414
interpreted = N
texte = Pat,Yes the 'parser.tmpl' file is in the site root.Regarding the .htaccess file - I am not a mod_rewrite expert and it tookme some time to get the syntax of my one correct. You'll really have toexperiment. The basic structure is:-RewriteEngine On<< Turn the rewrite engine on >>RewriteRule ^admin/.*$ - [L]<< Exclude any URLs beginning with 'admin/' i.e. the admin directory -the [L] means that this is the last rule that will be applied >>RewriteCond %{REQUEST_URI} !parser\.tmpl<< Do not rewrite the file 'parser.tmpl' >>=20RewriteCond %{REQUEST_URI} !\.(gif|jpg|png|css|ico)<< Do not rewrite files with the specified suffixes >>RewriteRule ^(.+)$ /parser.tmpl?requestedurl=3D%{REQUEST_URI} [L]<< Rewrite everything else and send the url as a variable called'[requestedurl]' >>- Tom-------------------------------------------------------------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,Yes the 'parser.tmpl' file is in the site root.Regarding the .htaccess file - I am not a mod_rewrite expert and it tookme some time to get the syntax of my one correct. You'll really have toexperiment. The basic structure is:-RewriteEngine On<< Turn the rewrite engine on >>RewriteRule ^admin/.*$ - [L]<< Exclude any URLs beginning with 'admin/' i.e. the admin directory -the [L] means that this is the last rule that will be applied >>RewriteCond %{REQUEST_URI} !parser\.tmpl<< Do not rewrite the file 'parser.tmpl' >>=20RewriteCond %{REQUEST_URI} !\.(gif|jpg|png|css|ico)<< Do not rewrite files with the specified suffixes >>RewriteRule ^(.+)$ /parser.tmpl?requestedurl=3D%{REQUEST_URI} [L]<< Rewrite everything else and send the url as a variable called'[requestedurl]' >>- Tom-------------------------------------------------------------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/
"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:
OT - royalty free images (2002)
[WebDNA] ImageMagick function library now available (2009)
[dos] command (1997)
2.0 Info (1997)
Help w/Multi User Admins (1997)
where to put code (1998)
[WebDNA] Record click-thrus (2008)
[WebDNA] Need some PHP help (2009)
Word search (1997)
Cart # Starting at 1000 (2000)
restart needed???? (1997)
Appending space (1998)
I can help! (1996)
Variable Prices (1998)
WebCat2b13MacPlugIn - syntax to convert date (1997)
Problems with SELECT MULTIPLE (1999)
Another bug to squash (WebCat2b13 Mac .acgi) (1997)
Replace Statement (1997)
sendmail (2000)
Protecting webdelivery (1997)