A
Albert
Hello all.
I've been trying to use eruby lately for my website. I installed a
userspace copy of Ruby 1.8.2 and the latest eruby, following the
instructions as per http://tinyurl.com/6mkeb
So I can get Ruby scripts working fine (.rbx files) and if I add the
shebang to .rhtml files and make them executable I can get them to work
too. But plain .rhtml files end up confusing the server. I get the
following error message:
File does not exist: /home/albert/public_html/cgi/eruby/GetEnv.rhtml
where GetEnv.rhtml is sitting in public_html and eruby is the exectuable.
It's almost as if Apache can't figure out that eruby is the executable.
Manually running eruby shows no problems. I think this is an Apache
configuration thing, and I really hope it can be solved via .htaccess
instead of me going through the hassle of begging my host to change his
httpd.conf. Any ideas?
I've been trying to use eruby lately for my website. I installed a
userspace copy of Ruby 1.8.2 and the latest eruby, following the
instructions as per http://tinyurl.com/6mkeb
So I can get Ruby scripts working fine (.rbx files) and if I add the
shebang to .rhtml files and make them executable I can get them to work
too. But plain .rhtml files end up confusing the server. I get the
following error message:
File does not exist: /home/albert/public_html/cgi/eruby/GetEnv.rhtml
where GetEnv.rhtml is sitting in public_html and eruby is the exectuable.
It's almost as if Apache can't figure out that eruby is the executable.
Manually running eruby shows no problems. I think this is an Apache
configuration thing, and I really hope it can be solved via .htaccess
instead of me going through the hassle of begging my host to change his
httpd.conf. Any ideas?