Hi listers
Sofar, i found out, that an ajax responder cannot be in the cgi-bin directory, because, apparently, apache from this directory expects other headers and contents than usual ajax resonders send. That means, whenever i try to put an ajax responder into the cgi-bin directory, i get a 500 Internal Server Error reply to an ajax request.

Next i found this: When i put a ruby program into any directory of the current virtual-web (except into the cgi-bin directory), when i try to invoke it from the browser, i get the ruby text as response. That is not what i want.

Next i found this: When i put a php program into any directory of the current virtual-web (except into the cgi-bin directory) and i invoke it from the browser via ajax call, it replies as expected. i want to have this behaviour from a ruby script as well.

Next i found this: When i try to add a handler for ruby scripts in any directory (except the cgi-bin directory) of the virtual host, like so
<Directory /home/svn/work/test/>
  Action application/x-ruby /usr/bin/ruby
  AddHandler application/x-ruby .rbx
</Directory>
i get the following, when ivoking the ruby program klixe.rbx in this directory via ajax call:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /usr/bin/ruby/test/klixe.rbx was not found on this server.</p>
<hr>
<address>Apache/2.2.16 (Fedora) Server at dick.dyn.lan Port 80</address>
</body></html>

which is to say, that apache concatenates the relativ URL of the file i want to invoke with the handler-path, which certainly does not provide the response i want.

Where am i wrong? what do i miss?

Thanx for any helpx

suomix

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to