Forum: Ruby mod_ruby

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
89e92cb3838243d829c4bcfabd2be43b?d=identicon&s=25 ImperfectFreak (Guest)
on 2006-01-03 20:33
I am running FreeBSD on my server, I have Apache 1.3.33 running. I have
installed mod_ruby, I think. I added "Include
/usr/local/etc/apache/httpd.conf.mod_ruby" to httpd.conf. I have a file
called test.rbx all it has is some basic stuff

puts "Content-Type: text/html"
puts
puts "<html>"
puts "<body>"
puts "<h1>Hello Ruby!</h1>"
puts "</body>"
puts "</html>"

and index.html is just has a link to test. When i click on the link I
get an error...

Forbidden
You don't have permission to access /test.rbx on this server.

Apache/1.3.33 Server at foo.bar.com Port 80
F3b7109c91841c7106784d229418f5dd?d=identicon&s=25 Justin Collins (Guest)
on 2006-01-03 22:31
(Received via mailing list)
You probably need to set httpd.conf to associate the execution of .rbx
files with mod_ruby. I believe the information is in the docs that come
with mod_ruby. Or possibly the permissions on the directory are not set
properly?

-Justin
4674615d2cf231975c741731be9a8685?d=identicon&s=25 why the lucky stiff (Guest)
on 2006-01-03 23:02
(Received via mailing list)
Justin Collins wrote:

>> Apache/1.3.33 Server at foo.bar.com Port 80
>>
>
>
Or the permissions of the script:

  chmod 755 test.rbx

_why
D8598ce8f08e821c8496b8e81645319a?d=identicon&s=25 Kashia Buch (Guest)
on 2006-01-03 23:15
(Received via mailing list)
Hi,

On Tue, 03 Jan 2006 20:34:03 +0100, ImperfectFreak
<fakeeemail100@eartthlink.net> wrote:
> Forbidden
> You don't have permission to access /test.rbx on this server.

You might want to check in your filesystem, if that file is readable and
executable by the user of Apache.

Kash
This topic is locked and can not be replied to.