Re: [Include] within a .dna file *further weirdness*

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 63450
interpreted = N
texte = Dan Strong wrote: > AND IT DISPLAYS THE FULL, RAW SOURCE CODE INCLUDING WEBDNA TAGS (!) > WTF? Is this an Apache thing? Normally, you bind all file extensions that are intended to go to a specific handler, in the _Apache_ configuration. Any file extension not bound it processed by the default handler (which knows about common file extensions already and sends the correct content-type headers automatically). This has absolutely nothing to do with the _WebDNA_ configuration setting for what file extensions should be processed. '.inc' is commonly used by a number of different server-side scripting packages, so there isn't anything specific to WebDNA that would require it to bind that extension unless you want to standardize on that for your sites. And before you get overly paranoid, it isn't really a security lapse to /not/ bind '.inc' to WebDNA, since you need to already know the full filename/path, and this will not be visible in processed WebDNA pages. Have your site admin add .inc (and any other odd extensions you might want to use) to the WebDNA conf file and restart Apache and you should be good to go... John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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: [Include] within a .dna file *further weirdness* ( John Peacock 2005)
  2. Re: [Include] within a .dna file *further weirdness* ( "Dan Strong" 2005)
  3. Re: [Include] within a .dna file *further weirdness* ( Stuart Tremain 2005)
  4. Re: [Include] within a .dna file *further weirdness* ( "Dan Strong" 2005)
Dan Strong wrote: > AND IT DISPLAYS THE FULL, RAW SOURCE CODE INCLUDING WEBDNA TAGS (!) > WTF? Is this an Apache thing? Normally, you bind all file extensions that are intended to go to a specific handler, in the _Apache_ configuration. Any file extension not bound it processed by the default handler (which knows about common file extensions already and sends the correct content-type headers automatically). This has absolutely nothing to do with the _WebDNA_ configuration setting for what file extensions should be processed. '.inc' is commonly used by a number of different server-side scripting packages, so there isn't anything specific to WebDNA that would require it to bind that extension unless you want to standardize on that for your sites. And before you get overly paranoid, it isn't really a security lapse to /not/ bind '.inc' to WebDNA, since you need to already know the full filename/path, and this will not be visible in processed WebDNA pages. Have your site admin add .inc (and any other odd extensions you might want to use) to the WebDNA conf file and restart Apache and you should be good to go... John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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/ John Peacock

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:

Can't use old cart file (was One more try) (1997) Balancing randomness (2000) typhoon... (1997) Emailer 1.0.2 Conflicts? (1998) Math with Time (1997) WC site (2001) Emailer (WebCat2) (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Logging purchases (1997) IE Cache Problems... (1999) Question re: FlushDatabases (1997) [SMSI]SMSI FTP (2002) Running _every_ page through WebCat-error.html (1997) eChecks (2000) WebCat2final1 crashes (1997) Syntax of a URL for including ?cart=[cart] and #something? (1998) FAX orders (1996) Store results of GetChars? (2003) RE: Emailer prefs in two places ... (1997) 4.51 Triggers (2003)