Search results

  1. M

    Running Rails and PHP in parallel under the same virtual domain/host

    Sorry for the late response. just go through the posts during my vacation. Just add a static context with urI "/survey/", location: "path to /public/survey/", setup PHP script handler properly.
  2. M

    fastcgi perl (reload)

    Yeah, that's a smart solution. :)
  3. M

    fastcgi perl (reload)

    There might be. We are busy with other work, have no time for this yet. :) It should be faster than the FastCGI one, I believe. If you are good at C coding, you can even make one yourself, should be pretty easy as LSAPI is similar to FCGI's interface. Just use the FCGI.pm as prototype.
  4. M

    fastcgi perl (reload)

    Running perl CGI inside mod_perl is completely different to running perl FCGI. What you want is possible, but as I know, no other web server can do that right now, including Apache, if you use FCGI. We have a perl runner FCGI script, lsws/fcgi-bin/lsperld.fpl, which is similar to Apache's...
  5. M

    Log rotation/gzip creates files as root, how to fix?

    this feature request is just in time for 2.2.5 release. :)
  6. M

    phpmyadmin and litespeed on FreeBSD 6.x

    It is tricky to use symbolic link, better make a copy, if you have to, make sure the vhost has not been "restrained" and symbolic link related configuration under "security" tab has been set properly.
  7. M

    multiple rails apps on a single IP/top level domain

    There is a Wiki entry for suEXEC as well.
  8. M

    multiple rails apps on a single IP/top level domain

    You can configure the vhost to run rails app in suEXEC mode, the user who own public/ folder, please check our wiki. If it is not in suEXEC mode, change ownership to the user that lshttpd run as. Just make the user that ruby run as can write to the temp folder.
  9. M

    multiple rails apps on a single IP/top level domain

    You need to change the ownership of /home/ubuntu/dev/myapp/tmp/ to the same as that of public/ folder. You are doing well. :-)
  10. M

    external application "name" for rails easy context

    You can copy RailsRunner.rb or dispatch.lsapi in our ruby-lsapi source code package, RailsRunner.rb needs the RAILS_ROOT env, dispatch.lsapi does not. It is a lot easier to use the easy rails context, load balancer via proxy via LSAPI, there are extra overheads, but should be minimum, if the...
  11. M

    Dedicated IP VirtualHosts from httpd.conf

    sorry, should be http://www.litespeedtech.com/packages/2.2/std/lsws-2.2.5-std-i386-linux.tar.gz
  12. M

    external application "name" for rails easy context

    Answers to you questions: 1) If you want to load balancing, you cannot use the rails easy configuration, have to follow the step by step configuration. 2) for the local rails install, you can use the "lsws/fcgi-bin/RailsRunner.rb", just add a environment variable "RAILS_ROOT" pointing to your...
  13. M

    Dedicated IP VirtualHosts from httpd.conf

    Fixed! The SSL configuration issue has been fixed in 2.2.5 release. :) Download URL for linux is: http://www.litespeedtech.com/packages/std/lsws-2.2.5-std-i386-linux.tar.gz replace "std" with "ent" to get the Enterprise release.
  14. M

    Rails_env

    Hi Bob, Upgrade to the latest ruby-lsapi release should fix this. In earlier release, ENV['RAILS_ENV'] has been unset after initialization, not any more. :) Please make sure do not mix manual and gem installation together, stick to one installation method only. I think the manual installation...
  15. M

    Apache Rewrite to LiteSpeed Contexts

    Maybe another non-matching context with higher priority get into the way. Please change the sequence number of this context to a lower number to give it higher priority. Or only define this context under this vhost.
  16. M

    Apache Rewrite to LiteSpeed Contexts

    Do not use CGI contexts. Static is fine. You need to make sure URL "/help/showsection.php?section=..." work properly first. LiteSpeed's rewrite behave the same as Apache's, will not redirect (change URL in user's brower) unless '[R]' flag is used, PHP_SELF variable may change though, as Apache...
  17. M

    Apache Rewrite to LiteSpeed Contexts

    Maybe browser cached the result when you testing different configuration. It should work if URL "/help/showsection.php?section=..." works. Please try clearing your browser cache.
  18. M

    Very odd PHP error, any file name that starts with admin (admin.php/admintest.php)

    Please try disabling .htaccess see if it is the cause. You can also dump phpinfo in your script to help identify the problem.
  19. M

    Very odd PHP error, any file name that starts with admin (admin.php/admintest.php)

    Looks like a cookie path problem.
Top