From: Shugo Maeda Date: 2001-12-04T22:03:02+09:00 Subject: [ruby-talk:27442] Re: eRuby Hi, At Wed, 28 Nov 2001 12:13:34 GMT, Bhagavatheeswaran Mahadevan wrote: > and put it into which directory........... > > and how do you configure the Apache web server to pick files from the other > directories......... If you put foo.rhtml in DOCROOT/foo/bar.rhtml, you can see it at http://your.host.name/foo/bar.html. http://your.host.name/foo/bar.html is expanded to http://your.host.name/cgi-bin/eruby/foo/bar.html by your configuration. > > > AddType application/x-httpd-eruby .rhtml > > > Action application/x-httpd-eruby /cgi-bin/eruby If you put foo.rhtml in cgi-bin, the file is handled as a standalone CGI program, so it should be excutable. Shugo