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:
vs (1997)
ReadDateFormat bug in 3.x (1998)
Frames and WebCat (1997)
Is the Finder required? (1998)
Updating emailer (server) (2000)
Carrying Forward (1998)
Status? (2000)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
E-mail loop ! (1997)
WebDNA for Window 2000 Server (2003)
mass mailing (1998)
Multiple Items (1998)
a * question (2003)
[WebDNA] a major shift in strategy? (2008)
WebCat2b12plugin - [search] is broken ... not! (1997)
Creating 404 Not Found pages (1999)
Width & Height (1998)
WebCat2.0 [format thousands .0f] no go (1997)
Serving images from databases (1998)
MacWEEK article help needed (1996)