Re: WebCatalog and directory indexing
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18938
interpreted = N
texte = 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?>>Rob Marquardt>Designer/Resident Wirehead>Toast Design>>300 First Avenue North, Suite 150>Minneapolis MN 55401>612.330.9863 v>612.321.9424 f>www.toastdesign.com John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
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?>>Rob Marquardt>Designer/Resident Wirehead>Toast Design>>300 First Avenue North, Suite 150>Minneapolis MN 55401>612.330.9863 v>612.321.9424 f>www.toastdesign.com John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
John Hill
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:
Getting Total Quantity (1997)
Formatting a .txt file (1998)
WebDNA 6.0 Charset (2006)
WebCatalog NT beta 18 problem (1997)
Order file numbers diferent than the cart number. why? (2000)
Netscape 3.01 can't see db in form (1997)
Filemaker Pro and [convertchars] (2000)
Which GUI HTML editors work with WC ? (1997)
[WebDNA] What is wrong with my search tag? (2011)
Hiding HTML and page breaks (1997)
[protect] locks out anyone (2003)
Trouble with formula.db (1997)
summarizing date search by month... (2000)
Removing items from a cart is wonky... (1998)
WebCatReference pages partly blank/empty on Webcat 3.0.7 NT (2000)
[OT] JavaScript Error (2002)
Tip: upgrading to WebCatalog 3.x, fields to watch for (1999)
Using the sendmail command on CGate Pro (Unix) (2000)
emailer w/F2 (1997)
Yet another db manager (2004)