LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > Search Forums > Search Results

Showing results 1 to 20 of 20 - Search took 0.00 seconds. Search: Posts Made By: thijs
Forum: Ruby/Rails 03-12-2008, 08:08 AM
Replies: 2
Views: 2,398
Posted By thijs
503 and log entry

I've been having some trouble that some sites on one machine crash, Litespeed gives a 503 after that.

I see these entries in the logs:

lscgid: setuid(): Resource temporarily unavailable

and...
Forum: Ruby/Rails 01-30-2008, 07:48 AM
Replies: 11
Views: 4,088
Posted By thijs
Thanks Grzegorz, you're suggestion seems to be...

Thanks Grzegorz, you're suggestion seems to be fixing the issue. I've modified it a bit for Rails 2.0:


controller_dir = "#{RAILS_ROOT}/app/controllers"
Dir.foreach(controller_dir) { |f|...
Forum: Ruby/Rails 01-30-2008, 07:20 AM
Replies: 11
Views: 4,088
Posted By thijs
I've been doing a bit more research. I've traced...

I've been doing a bit more research. I've traced the problem to constantize and finally to Object.module_eval

If you replace your constantize method in active_support/lib/inflector.rb with this to...
Forum: Ruby/Rails 01-27-2008, 06:23 AM
Replies: 11
Views: 4,088
Posted By thijs
Controllers with the same name in different namespaces

I've been having trouble getting a controller in a namespace with the same name as a controller in the root namespace. A simplified version of the code:

ActionController::Routing::Routes.draw do...
Forum: Ruby/Rails 01-27-2008, 06:11 AM
Replies: 2
Views: 1,917
Posted By thijs
Hm, it's behaving as expected now. But I didn't...

Hm, it's behaving as expected now. But I didn't make any changes since last time. Sorry for the inconvenience.
Forum: Ruby/Rails 01-24-2008, 02:47 AM
Replies: 2
Views: 1,917
Posted By thijs
Gzipping of all.js

Hi,

I've noticed that Litespeed gzips /javascripts/all.js, but it does not send a gzipped version if the url is /javascripts/all.js?1201174518 like Rails generates.

Is there a workaround for...
Forum: Ruby/Rails 06-18-2007, 09:15 AM
Replies: 1
Views: 2,004
Posted By thijs
Using a password realm for a subpath in a Rails context

I'm trying to put password protection on the /admin part of a Rails app. I only see an option to secure an entire context.

Is there a way to secure a subset of a context?
Forum: Ruby/Rails 03-12-2007, 03:56 AM
Replies: 3
Views: 2,371
Posted By thijs
Thanks, I know about that. That solution...

Thanks, I know about that.

That solution feels to much like security through obscurity to me. I don't feel comfortable putting those files on a publicly accessible location. And somebody could...
Forum: Ruby/Rails 03-12-2007, 03:54 AM
Replies: 1
Views: 2,095
Posted By thijs
Staging enviroment

Hi,

I'd like to setup a staging rails enviroment. Litespeed only allows you to choose between development and production. Is there a way to set an alternative RAILS_ENV?
Forum: Ruby/Rails 03-04-2007, 01:55 PM
Replies: 3
Views: 2,371
Posted By thijs
sendfile

I would like to start using the sendfile feature in Litespeed to serve files that are selected from the filesystem by my Rails app.

I had a look at the sendfile gem but it's not obvious to me how...
Forum: Ruby/Rails 12-18-2006, 12:55 AM
Replies: 7
Views: 2,918
Posted By thijs
Oh, I'm sorry. I misunderstood your reply. This...

Oh, I'm sorry. I misunderstood your reply. This works just fine.
Forum: Ruby/Rails 12-17-2006, 08:23 AM
Replies: 7
Views: 2,918
Posted By thijs
Sorry, to bring this up again but it's a bit of...

Sorry, to bring this up again but it's a bit of an annoyance.

Are there any plans at the moment to allow the awstats directory outside of the public root?

What exactly are the security problems...
Forum: Ruby/Rails 10-09-2006, 02:07 AM
Replies: 7
Views: 2,918
Posted By thijs
Thanks, but that wouldn't be a really clean...

Thanks, but that wouldn't be a really clean solution.

It would be great if this security constraint could be loosened in the next release.
Forum: Ruby/Rails 10-06-2006, 06:09 AM
Replies: 7
Views: 2,918
Posted By thijs
Awstats and Rails

I'm setting up the awstats integration, great stuff. I'm running into a problem though.

I want to place the awstats folder outside of the document root because the app is deployed by Capistrano...
Forum: Ruby/Rails 09-12-2006, 04:47 AM
Replies: 38
Views: 8,413
Posted By thijs
I've had the same issues, it sometimes builds up...

I've had the same issues, it sometimes builds up a huge number of processes and eats up all the available memory.

I did notice another thing, I'm running a few Rails 1.0 apps and they broke down...
Forum: Ruby/Rails 09-06-2006, 01:48 PM
Replies: 3
Views: 2,312
Posted By thijs
Wow, what a great feature. I could have...

Wow, what a great feature.

I could have noticed it if I had looked at ps aux, but I didn't and I ran into some permission problems because I assumed the user would be the same for the webserver...
Forum: Ruby/Rails 09-06-2006, 10:17 AM
Replies: 5
Views: 2,410
Posted By thijs
Hm indeed, I could just deny all access except...

Hm indeed, I could just deny all access except from localhost as an extra security measure.
Forum: Ruby/Rails 09-06-2006, 10:16 AM
Replies: 3
Views: 2,312
Posted By thijs
Feature request: Suexec for rails

I read the part about Suexec in the wiki, it's a bit cumbersome compared with the default Rails vhost template setup.

It would be great if the Rails context screen would have an option to set the...
Forum: Ruby/Rails 09-06-2006, 09:12 AM
Replies: 5
Views: 2,410
Posted By thijs
That's not exactly what I'm looking for. The idea...

That's not exactly what I'm looking for. The idea is that files are only sent to users that are authorized to download the file. The files shouldn't be in a public location so people can't paste the...
Forum: Ruby/Rails 09-06-2006, 07:12 AM
Replies: 5
Views: 2,410
Posted By thijs
Sending private files

I'm wondering if Litespeed has feature similar to lighttpd's x-send-file option.

If you turn the option on and the Rails app sends a X-LIGHTTPD-send-file header with a path Lighttpd transfers the...
Showing results 1 to 20 of 20

 
Forum Jump

All times are GMT -7. The time now is 11:49 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.