Re: WebCatalog and directory indexing

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18940
interpreted = N
texte = This is a changed behaviour since earlier versions, reported by me long time ago, and Grant promised to change it back to the old way - just reporting the URI of the missing template.IMHO it is *not* acceptable that a software reports back a full path to an end user. WebCat should of course write it to its logfile - but *never* show to anyone but admins (or those who the admins wants to share the info with).>It gives a volume path to make debugging easier. Since you can edit the >error message you can change the path specification to [thisURL] if you'd >rather have a URL path. Editing this message is probably the best way to >handle the directory indexing problem. > >John. > >>I currently have WebTen set up to disallow directory indexing (ie: if >>there's no index.html file in a directory, the user does *not* get a >>listing of all the files in the directory). This works fine except for >>those domains that require WebCatalog to process the index page. In those >>domains, if you go directory browsing instead of getting a nasty >>Forbidden message from the server, WebCat prints out: >> >>Error: template 'My Hard Drive:Some Folder:WebTen >>v2.0:WebSites:domain.com:subdirectory:index.tmpl' not found >> >>Is there any way to get WebCat to pass off control in this situation so >>that I can get the server's forbidding Forbidden message instead? Or do >>I need to edit ErrorMessages.db to emulate the style? While on the >>subject, why does WebCat give a volume-style path instead of a web path? ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se Associated Messages, from the most recent to the oldest:

    
  1. Re: WebCatalog and directory indexing (Rob Marquardt 1998)
  2. Re: WebCatalog and directory indexing (Christer Olsson 1998)
  3. Re: WebCatalog and directory indexing (Britt T. 1998)
  4. Re: WebCatalog and directory indexing (John Hill 1998)
  5. WebCatalog and directory indexing (Rob Marquardt 1998)
This is a changed behaviour since earlier versions, reported by me long time ago, and Grant promised to change it back to the old way - just reporting the URI of the missing template.IMHO it is *not* acceptable that a software reports back a full path to an end user. WebCat should of course write it to its logfile - but *never* show to anyone but admins (or those who the admins wants to share the info with).>It gives a volume path to make debugging easier. Since you can edit the >error message you can change the path specification to [thisurl] if you'd >rather have a URL path. Editing this message is probably the best way to >handle the directory indexing problem. > >John. > >>I currently have WebTen set up to disallow directory indexing (ie: if >>there's no index.html file in a directory, the user does *not* get a >>listing of all the files in the directory). This works fine except for >>those domains that require WebCatalog to process the index page. In those >>domains, if you go directory browsing instead of getting a nasty >>Forbidden message from the server, WebCat prints out: >> >>Error: template 'My Hard Drive:Some Folder:WebTen >>v2.0:WebSites:domain.com:subdirectory:index.tmpl' not found >> >>Is there any way to get WebCat to pass off control in this situation so >>that I can get the server's forbidding Forbidden message instead? Or do >>I need to edit ErrorMessages.db to emulate the style? While on the >>subject, why does WebCat give a volume-style path instead of a web path? ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se Christer Olsson

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:

[WebDNA] Email Send Errors (2014) Location of Webcat site in folder hierarchy (1997) suggestions (1998) suffix mapping for NT? (1997) Part 2 - [showif] if variable exists (1998) Error: Too many nested [xxx] contexts (1997) form data submission gets truncated (1997) MacWEEK article help needed (1996) Plugin or CGI or both (1997) [WebDNA] WebDNA licenses discount from 12/23 to 12/31 (2012) TeaRoom demo behavior modification questions (1999) [LOOKUP] (1997) [OT] Need help writing a proposal (2004) Logical and or in [hideif] (1997) Grepping text variable tags (was: No subject given) (2000) WebCommerce: Folder organization ? (1997) Quit revisited (1997) Error & Problem (1997) Bad suffix error (1997) WebCat2b15MacPlugin - [protect] (1997)