Search results

  1. N

    Rails 3 site not working

    Hi, I'm trying to get a Rails 3 (latest version) site running on Litespeed (also latest version). I have installed ruby-lsapi 4.0 and ruby 1.9.3p194. When I start Litespeed I get the following error in stderr.log: Any ideas how I can fix this? Many thanks in advance. Kind regards, Nick
  2. N

    Rails page caching with multiple domains same vhost

    Ok I got it. Only problem left is when I request www.domain.com/ . Right before I get to the rewrite rules of the rails context, I get: [REWRITE] strip base: '/' from URI: '/' in the logs so now I have to match an empty string. I want to redirect www.domain.com to...
  3. N

    Rails page caching with multiple domains same vhost

    Ok, I found the correct rewrite rule. But I have encountered two problems: 1. when there is no cached file Litespeed returns file not found. It should however instantiate Rails so that a cached file can be generated 2. http://www.a.com/file/show/1 gets redirected to...
  4. N

    Rails page caching with multiple domains same vhost

    Found the rewrite rule under the rails context, I tried the following rule: RewriteRule ^/public/index.html ^/public/%{HTTP_HOST}/index.html [L,R] But that didn't do it. Are there standard rules for this, since Litespeed already looks for cached pages when there is only one domain...
  5. N

    Rails page caching with multiple domains same vhost

    Hi, I have multiple domains running from the same vhost. I have enable page caching in Rails to speed things up, but Litespeed isn't serving these caches. Below is an example to explain the problem. Suppose I have three domains running from the same vhost: www.a.com, www.b.com and www.c.com ...
  6. N

    Problems installing OpenX 2.6

    I've got a strace log file. Can I send it to you? Thanks. Nick
  7. N

    Problems installing OpenX 2.6

    Good news and bad news. I have changed extension_dir from ./ to /php5/lib/php/extensions/no-debug-non-zts-20060613/ and now mailparse shows up in phpinfo. But I still get the 503 error page. And the following gets recorded in stderr.log 2008-08-26 20:05:16.345...
  8. N

    Problems installing OpenX 2.6

    It doesn't show up in the phpinfo page. If you like I can mail you an URL to my phpinfo page. How do I load it as a zend_extension? Thanks. Kind regards, Nick
  9. N

    Problems installing OpenX 2.6

    Mailparse.so was already in the directory. And I put extension=mailparse.so in my php.ini file. But I'm still getting the same error. Kind regards, Nick
  10. N

    Problems installing OpenX 2.6

    Hi, the phpize works and I can also do the make and the make install, but it still doesn't work. I get the following output if I run make install: /bin/sh /home/user/tmp/mailparse-2.1.1/libtool --mode=install cp ./mailparse.la /home/user/tmp/mailparse-2.1.1/modules cp ./.libs/mailparse.so...
  11. N

    Problems installing OpenX 2.6

    You are right, I find the following error in stderr.log: 2008-08-26 14:52:58.661 PHP Warning: PHP Startup: Unable to load dynamic library './mailparse.so' - ./mailparse.so: cannot open shared object file: No such file or directory in Unknown on line 0PHP Warning: PHP Startup: Unable to load...
  12. N

    Problems installing OpenX 2.6

    Hi, I'm trying to install OpenX 2.6 (www.openx.org) on my server. I get to the installation step where OpenX lists all the directories in which it is going to save its information. When I go to the next step I would normally configure the admin password, but all I get is: 503 Service...
  13. N

    New 3.3.3 version not showing up in version management

    Yes, that did the trick. Thanks.
  14. N

    New 3.3.3 version not showing up in version management

    Hi, I noticed that version 3.3.3 is already out a couple of days. But the 3.3.3 version doesn't show up in my version management of my admin panel. I'm still stuck at 3.3.1. What should I do to make 3.3.3 show up in the version management? Kind regards, Nick
  15. N

    How to set environment variables in Rails context

    Hi, that did the trick. Everything is working now. Thank you very much for your help. Couldn't have solved it without you. Thanks. Kind regards, Nick
  16. N

    How to set environment variables in Rails context

    Thanks for the quick reply, unfortunately it didn't work. My ruby processes al run as user nobody. So I changed the destination folder to nobody:nobody and 777, but that also didn't work. Also changed it to the user of the public folder but no luck either. BTW writing to the public folder works...
  17. N

    How to set environment variables in Rails context

    Thanks for the tip. Increasing the memory limit with quite a bit did the trick. The Java VM gets started. Now I have encountered another strange error. I have a file which is chmod 644 and nobody:nobody. I want to copy it in Rails (FileUtils.cp(source, destination)) to the home directory of a...
  18. N

    How to set environment variables in Rails context

    Thanks for your reply. Just send my strace output to support at lite... Hope it tells you something more about my problem. Thanks. Kind regards, Nick
  19. N

    How to set environment variables in Rails context

    The reason I asked this is because I have a script that tries to open a Java Virtual Machine within a Rails project. The code is: require 'rjb' #Ruby Java Bridge Rjb::load('lib/itext-2.0.6.jar') It runs on the latest version of Litespeed and Centos 4.4. I have set the following variables...
  20. N

    How to set environment variables in Rails context

    I have found it. Do I just add JAVA_HOME=/usr/java/jdk1.5.x/, to set the environment variable? Thanks. Kind regards, Nick
Top