L
laredotornado
Hi,
I have Apache 2.2 installed on my Fedora Core 5 Linux machine. I
created this file, "test.rb" at my public document root
#!/usr/local/bin/ruby
print "Content-type: text/html\r\n\r\n"
print "<html><body>Hello everybody!!!!</body></html>\r\n"
and when i visit http://mydomain.com/test.rb, the output is
#!/usr/local/bin/ruby
print "Content-type: text/html\r\n\r\n"
print "<html><body>Hello SAm and Lisa!!!!</body></html>\r\n"
That's right, it's just the same file. So my question is, what
directives to I need to add to my "httpd.conf" file to make this file
interpret? I am surprised by how little documentation there is on how
to do this.
Thanks, - Dave
I have Apache 2.2 installed on my Fedora Core 5 Linux machine. I
created this file, "test.rb" at my public document root
#!/usr/local/bin/ruby
print "Content-type: text/html\r\n\r\n"
print "<html><body>Hello everybody!!!!</body></html>\r\n"
and when i visit http://mydomain.com/test.rb, the output is
#!/usr/local/bin/ruby
print "Content-type: text/html\r\n\r\n"
print "<html><body>Hello SAm and Lisa!!!!</body></html>\r\n"
That's right, it's just the same file. So my question is, what
directives to I need to add to my "httpd.conf" file to make this file
interpret? I am surprised by how little documentation there is on how
to do this.
Thanks, - Dave