Search results

  1. M

    Noob: How to set HTTP username/pass for virtual host

    Add a context with url "/" pointing to document root of vhost, then use your realm there.
  2. M

    litespeed plus rails memory usage

    That's normal. you also need to add up memory used for cache and buffer.
  3. M

    Noob: How to set HTTP username/pass for virtual host

    Please check the authentication realm configuration in the documentation.
  4. M

    two CA intermediate certs

    You can try "CA Certificate Path", or append the two CA cert into one file in the order that they were chained, then use "CA certificate".
  5. M

    Install help for connecting to oracle database

    I think you need to add "ORACLE_HOME" env to "Environment" configuration of lsphp as well. No need to use PutEnv(). LSWS has strict security policy, when LSWS start a external application, it will not set any environment variables in your current system environment, you have set them explicitly...
  6. M

    Install help for connecting to oracle database

    You need to change "lsphp" configuration under "external app" tab from the web admin interface. just add "LD_LIBRARY_PATH=...." to "environment" configuration entry, this environment varible must be set explicitly from there.
  7. M

    Install help for connecting to oracle database

    Try adding LD_LIBRARY_PATH to the "environment" section of the lsphp external application.
  8. M

    Issues when compiling PHP4 with LSAPI

    Are you using Sun 'make' under solaris? You need to install GNU make.
  9. M

    Ruby LSAPI warnings

    I think those are normal, ruby may dump some messages when it was stopped. You will always get "warning: already initialized constant ENV" when ruby-lsapi was started.
  10. M

    Install help for connecting to oracle database

    The Oracle PHP extension modules were compiled into the PHP binary with option "--with-oracle=... --with-oci8=...", you don't need to do anything about "extension_dir", that's for the pre-compiled Oracle modules. Your PHP binary should work well with Oracle now.
  11. M

    Install help for connecting to oracle database

    Yes, I think you probably need to install oracle client, at least make OCI client library and header file available.
  12. M

    Install help for connecting to oracle database

    Just follow the steps on our wiki to compile your own PHP binary with oracle module included.
  13. M

    can't increase timeout

    Thanks for the update. glad you figured it out.
  14. M

    Rails app suddenly stops working. RailsRunner errors?

    You may need to up the memory soft/hard limit for the ruby process under ruby tab, or the server wide CGI config under security tab.
  15. M

    can't increase timeout

    You can try initTimeout = 300, retryTimeout should be 0. We tried a request with "sleep 65" at the begining of the controler code, it works. The 503 error may not all caused by the timeout, check if you Rails log, see if the request succeed or not. Also check stderror.log and error.log. Maybe...
  16. M

    Frequent applicaiton errors on first page load

    There are a few environment variables you can play with to make children ruby process live longer. Please check the README file in ruby-lsapi directory under the gem directory if you installed it via gem. Or you can download the ruby-lsapi package from our web site. Answers to your questions...
  17. M

    whatever popen does isnt working in a rails app

    Thank for your sharing of your finding, it certainly will help others who has similar problem. :)
  18. M

    Redirect by rewrite & .htaccess

    OK, it should not be a problem then. Thanks!
  19. M

    Redirect by rewrite & .htaccess

    I am no expert of sed scripts, does your script change the permssion of service.pwd to 0644? It might be a security hole if it does. 0640 should be good to me if it is owned by "nobody" group.
  20. M

    Redirect by rewrite & .htaccess

    Thanks for the update and the script. I will update the cPanel wiki. Should the script be executed only once, or need to be executed for each account? How about account added later?
Top