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 took me some time to get the syntax of my one correct. You'll really have to experiment. 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' >> =20 RewriteCond %{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:

    
  1. Re: URL problem ( Pat McCormick 2007)
  2. Re: URL problem ( Donovan Brooke 2007)
  3. Re: URL problem ( "Dan Strong" 2007)
  4. Re: URL problem ( Pat McCormick 2007)
  5. Re: URL problem ( "Tom Duke" 2007)
  6. Re: URL problem ( Pat McCormick 2007)
  7. Re: URL problem ( Stuart Tremain 2007)
  8. Re: URL problem ( Pat McCormick 2007)
  9. Re: URL problem ( Pat McCormick 2007)
  10. Re: URL problem ( Pat McCormick 2007)
  11. Re: URL problem ( "Tom Duke" 2007)
  12. Re: URL problem ( Stuart Tremain 2007)
  13. URL problem ( Pat McCormick 2007)
  14. Strange variable in url problem... (Jimmi Kristensen 2001)
Pat, Yes the 'parser.tmpl' file is in the site root. Regarding the .htaccess file - I am not a mod_rewrite expert and it took me some time to get the syntax of my one correct. You'll really have to experiment. 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' >> =20 RewriteCond %{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:

Pithy questions on webcommerce & siteedit (1997) WebCat2 - many [carts] on one template page? (1997) 2.01 upgrade problems (1997) WebCatalog can't find database (1997) Not really WebCat - need HTML Grider (1997) Upgrade to wsV (2004) Close-to Comparison Code (1998) RAM variables (1997) WebCatalog for Postcards ? (1997) international time (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) LOOP and IF statements (1997) [WebDNA] Anchors (2010) SHOWIF/HIDEIF empty fields (2005) Simple way to create unique SKU (1997) need help please (1997) transaction logging (2002) WebCat on OS X 10.4.7 won't send emails (2006) [convertchars] limits (1998) Back to Authnet with storebuilder (2003)