Pete Prodoehl wrote: >I'm running Mac OS 8.6, Personal Web Sharing 1.5 and MacPerl 5.2.0r4 > >If I run a MacPerl cgi by requesting this in my browser: > > http://mymac/my.cgi > >It works as it should. > >If I request this: (note trailing slash) > > http://mymac/my.cgi/ > >It seems to translate the request to be: > > /PNFIconGraphics/BinHexCacheFolder/-1-2126/my.cgi.hqx > >Which actually *downloads* the cgi. <snip> and Leland R. Beaudrot wrote: >2) In the Web Sharing control panel, select Preferences under the Edit >menu and click the Actions tab. Create a New action "Launch at suffix" >using the suffix ".cgi/" and select "error.cgi" as the application. As near as I understand, this setting would be one correct way. To motivate the explanation, Apache uses a file called ".htaccess" in each directory (or in a parent somewhere up the directory tree) to control http access in that directory (or as a default in child directories). You can specify executable extensions with lines in the .htaccess file that say Addtype <mime type> .extension so the usual for xxx.cgi files (in that directory) would be Addtype application/x-http-cgi .cgi But a slash on the end is taken to mean listing. (No, I don't have an RFC on this.) So usually, you also put in Addtype application/x-http-cgi .cgi/ to prevent the .cgi files from being listed. If you need more information, please look up the RFC and tell us what you find. rees_joel@fujicomp.co.jp http://www.fujicomp.co.jp http://www.udit.gr.jp ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org