Search results

  1. J

    Rails and Tomcat

    I reinstalled Tomcat 6 and JSPs worked again. When I compared this installation with the previous, I realized that I had modified Tomcat's server.xml file, adding this configuration: <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127.0.0.1,0:0:0:0:0:0:0:1%0,::1" />...
  2. J

    Rails and Tomcat

    I set up a second virtual host, but did not configure a Rails context for it. I set up the same External App, Script Handler, and Java Web context configuration as the other virtual host. For this second host, the index.html file was returned when accessing the "/examples/" URI. So I think the...
  3. J

    Rails and Tomcat

    In lsws/logs/error.log, with debugging turned on, there are numerous lines including: Failed to execute 'mpstat' command: No such file or directory Failed to execute 'vmstat' command: No such file or directory By the way, my server is a PowerMac G5 running Leopard, Mac OS X 10.5.4. The java...
  4. J

    Rails and Tomcat

    Under the General tab in the Virtual Hosts settings, the Index Files setting is set to "index.html". I also tried setting this under the Java Web App context. Still getting the 404 response whenever I leave off "index.html" from the end of the url.
  5. J

    Rails and Tomcat

    I am using Litespeed Web Server 3.3.14. I am attempting to configure a virtual host to serve bothrails apps and jsp pages. I have setup a Rails context for the virtual host with a URI of "/" and a location of "$VH_ROOT/". This works well, and I can serve static pages under the public...
  6. J

    authorization realm in rails context

    That did the trick. Once I created an empty admin directory, with Accessible set to "Yes", authentication worked. I was prompted for username and password the next time I accessed the /admin URI. Thanks.
  7. J

    authorization realm in rails context

    I have setup a virtual host using the EasyRailsWithSuEXEC template, and I have instantiated it. Lite Speed is properly passing on control to the Rails application. The URL "http://mydomain.com/admin" returns a page generated by Rails. I want to add a context to this virtual host that will limit...
Top