From: Bryan Zarnett Date: 2001-04-30T09:02:56+09:00 Subject: [ruby-talk:14418] Re: Embedded Ruby w/ Apache: Forbidden error The .rhtml probably has access permission for owner and group only and not "other". Try setting the permissions for "other" for the file. B. --- J J wrote: > Hi, > > While trying out the pickaxe embedded Ruby example > around pg. 151, I added > the requisite lines to httpd.conf. The best I can > get out of Apache is: > > I go to http://192.168.0.67/embruby.rhtml and the > server replies: > > Forbidden > > You don't have permission to access > /cgi-bin/eruby/embruby.rhtml on this > server. > > embruby.rhtml is in /home/httpd/html > eruby is in /home/httpd/cgi-bin > ruby is also in /home/httpd/cgi-bin > > Opening a file like: > http://192.168.0.67/cgi-bin/rubyform.rb works fine. > Running eruby on embruby.rhtml from the command line > looks like it works > fine (lines have line numbers). > > I'm at a loss, does anyone have any ideas? > > Thanks, > JJ > > -- > Be Kind, Be Careful, Be Yourself > -- > Solid, reliable software at reasonable prices > http://www.johnjohnsonsoftware.com > > > > _______________________________________________________ Do You Yahoo!? Get your free @yahoo.ca address at http://mail.yahoo.ca