From: Michael Granger Date: 2004-09-16T15:11:07+09:00 Subject: Re: Arrow Configuration File Question --Apple-Mail-2-1043715618 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Sep 13, 2004, at 6:29 PM, Zach Dennis wrote: > I've got a dummy site up and working with Arrow, but I have a > question....In the httpd.conf file you specify something like: > [...] > You would think that if you went to http://mysite.com/camphq/index it > would run the defaultApplet "/index" (which actually tells the layout > "/index" to run ). But it doesn't! Instead you have to say: Yes, this is how it's supposed to work. > applets: > defaultApplet: "/camphq/index" #Note this line > missingApplet: "/missing" > errorApplet: "/error" > pattern: "*.rb" > path: > - "/var/www/camphq/applets" > pollInterval: 5 > config: {} > layout: > "/camphq/index": Index # Note this line to > > in order for the url to work (http://mysite.com/camphq/index ). Is > there a way around this. I would like to assume that the URL root > specified in the httpd.conf file was the root of my Arrow-based > "Portal" (can i call it that?) Thanks!! I'm at a loss to explain what's going on, as I can't reproduce this. When I map something in the layout as '/camphq/index', I have to go to /camphq/camphq/index to get it to run. Would you mind bumping your LogLevel in httpd.conf and logLevel in your camphq.conf up to 'debug' and mailing me the output in your error log for one request to /camphq/index? -- Michael Granger Rubymage, Believer, Architect The FaerieMUD Consortium 12383406064495388618631689469409153107.to_s(36).tr('z',' ') --Apple-Mail-2-1043715618 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (Darwin) iD8DBQFBSS5Y+zlz4UKpE6QRAs9oAJwNwfBZIsf8clD5BT/WW6/WAmFDDQCfUWbp 6mrTgF4Dyxocs6UA+64SuKQ= =nHYf -----END PGP SIGNATURE----- --Apple-Mail-2-1043715618--