Displaying 17 results from an estimated 17 matches for "mod_compress".
2007 Jun 05
3
Mongrel/Apache mod_deflate question
Hi Folks,
We''re moving from a single lighttpd-hosted Rails box to a Apache/
mongrel cluster.
In lighttpd, mod_compress had a very nice feature:
if there''s a static file, it would compress it in a user-specified
compress folder. If the file hasn''t changed, it would just serve out
the compress file; if the file has changed, it would recompress it
and serve it out.
Is there such a deployment o...
2006 Nov 04
2
[ Rails ] Multiple rails apps on 1 host
...f lighttpd.conf in
/tmp/app1/config/
and then started lighttpd
http://localhost:3000
gave me the splash page.
I shutdown the server
I added something to
/tmp/app1/config/lighttpd.conf
server.modules = ( "mod_rewrite", "mod_accesslog", "mod_fastcgi",
"mod_compress", "mod_expire", "mod_alias" )
Then I added 1 other thing:
$HTTP["url"] =~ "^/app2" {
alias.url = ( "/app2" => CWD + "/../app2/public" )
server.error-handler-404 = "/dispatch.fcgi"
server.document-root = CWD + &q...
2006 Feb 06
4
fcgi to run cgi scripts
Dear experts,
I have rail site that is running lighttpd and fcgi. I want the default
domain to serve the rails application, and I also want to have a
virtualhost (bugs.mysite) to resolve to a bugzilla instance.
Bugzilla is basically Perl application called through CGI.
I tried to find pointers on how to set fcgi to run both rails dispatcher
and other cgi scripts in a different virtualhost, and
2005 Jun 08
7
Rails/lighttpd: Changes to controller not being seen?
This is a weird one:
My app works fine on our local box with webrick. After uploading to TxD
server, the app starts behaving weirdly. I make some edits to one of
the controllers and my changes don''t seem to be going through. So I go
ahead and change the name of the controller file. The page loads
without error. I figure maybe I''m in the wrong directory, so I change
the
2006 Feb 16
11
Multiple Rails app on the same server?
..."mod_redirect",
"mod_proxy",
"mod_accesslog",
"mod_access",
"mod_fastcgi",
"mod_compress",
"mod_accesslog" )
server.document-root = "/var/www"
server.bind = "0.0.0.0"
server.port = 80
server.pid-file = "/var/run/lighttpd.pid"
server.tag = "lig...
2006 Jun 15
6
Problem with lighttpd
I have a problem with lighttpd on OSX.
Everything builds fine (and webrick runs just fine) but lighttpd barfs:
edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$
script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown
2006 Aug 18
3
Lighttpd Conf Help - Multiple Domains Multiple Apps
...'t the 404 inside the
railsapp/public folder.
Do hope someone can help me out what''s wrong with my conf. Here it is:
server.bind = "0.0.0.0"
server.port = 8282
server.modules = ( "mod_rewrite", "mod_accesslog",
"mod_fastcgi", "mod_compress", "mod_expire" )
server.pid-file = "/var/run/lighttpd.pid"
url.rewrite = ( "^/$" => "index.html", "^([^.]+)$" =>
"$1.html" )
#commenting the line below gives out an error that says: "a default
document-root...
2006 Apr 15
19
Trouble with Lighty
I''m trying to setup my rails application with Light+fcgi.
This is the error I''m getting when I try to start Lighttpd :
============
[getcapture@alpha getcapture]$ ~/etc/rc.d/lighttpd.sh start
Starting Lighttpd
2006-04-15 11:27:24: (mod_fastcgi.c.1022) execve failed for:
/home/getcapture/application/public/dispatch.fcgi No such file or
directory
[getcapture@alpha getcapture]$
2006 Jul 14
4
Rails Lighttpd Issue on Fedora
...c folder.
Here is my lighttpd.conf:
# Default configuration file for the lighttpd web server
# Start using ./script/server lighttpd
server.bind = "0.0.0.0"
server.port = 80
server.modules = ( "mod_rewrite", "mod_accesslog",
"mod_fastcgi", "mod_compress", "mod_expire", "mod_cgi" )
server.error-handler-404 = "/dispatch.fcgi"
server.document-root = CWD + "/public/"
server.errorlog = CWD + "/log/lighttpd.error.log"
accesslog.filename = CWD + "/log/lighttpd.access.log&quo...
2006 Aug 07
0
image uploads not working with lighttpd
..."mod_access",
"mod_alias",
"mod_accesslog",
"mod_rewrite",
"mod_redirect",
"mod_fastcgi",
# "mod_status",
# "mod_evhost",
# "mod_compress",
# "mod_usertrack",
# "mod_rrdtool",
# "mod_webdav",
# "mod_expire",
# "mod_flv_streaming",
# "mod_evasive"
)
server.max-request-size = 100000
$HTTP["useragent"...
2006 Apr 03
12
scgi?? do i need it for ruby?
This might be obvious to everyone but it is something that i haven''t
been able to find an answer to. Do I need to have either
scgi/fastcgi/cgi running on either lighttpd/apache for ruby scripts to
work? If yes, why? I have installed the scgi server and i can get the
service to run, i have also installed the following mod_fastcgi/2.4.2
mod_ruby/1.2.4 Ruby/1.8.2(2004-12-25) mod_scgi,
2006 Jan 27
8
ror/lighttpd - HTML files via port 80 become application/octet-stream?
...orks fine if port != 80).
My lighttpd.conf in total:
----------------------------------------------------------
server.modules = (
"mod_rewrite",
"mod_redirect",
"mod_access",
"mod_fastcgi",
"mod_compress",
"mod_accesslog",
)
server.document-root = "/www/TestApp/public"
server.errorlog = "/var/log/lighttpd/error.log"
server.indexfiles = ( "index.html",
"index.htm",...
2005 Nov 14
0
can't display controllers with lighttpd
..."mod_redirect",
"mod_access",
# "mod_auth",
# "mod_status",
"mod_fastcgi",
"mod_simple_vhost",
#"mod_evhost",
# "mod_cgi",
"mod_compress",
# "mod_ssi",
# "mod_usertrack",
# "mod_rrdtool",
"mod_accesslog" )
## a static document-root, for virtual-hosting take look at the
## server.virtual-* options
server.document-root...
2006 Aug 16
18
mongrel lighttpd and ssl
I am wanting to one run instance of lighttpd, many many instances of
mongrel. I also need ssl but only for one of my sites. I understand that
Mongrel does not play with SSL so I am forced to use Lighttpd. I think that
lighttpd only handles ssl or non-ssl on any given instance. Is there a way
for me to accomplish my goal of one lighttpd with multiple mongrels and the
occasional ssl connection?
--
2006 Oct 10
7
Problems with RJS w/ Lighttpd & Ubuntu
I have my code working on my local machine no problem, but when I upload
to the server the RJS effects I have aren''t working. The server is
running Ubuntu Dapper w/ lighttpd while on my local machine I''m using
webrick.
For kicks I shut down lightty and booted my app on the server with
webrick and it works fine. So it''s definitely a lightty issue.
Anyone else seen
2006 Apr 02
13
autocompletion: hooking ''afterUpdateElement'' in Rails
Hi everyone,
I need to trigger a Rails action after the autocompletion is completed
(when the user has selected an option).
From the scriptaculous doc, I figured out ''afterUpdateElement'' is the
place to be but I wonder if/how and where I can hook my javascript code
to this event in Rails code (I''d like to keep using the helper, if
possible)?
I tried passing many
2006 May 13
8
Which Linux flavor for a Rails server?
Hi folks,
I''m a linux noob, and I''m trying to pick a distro for my rails server. I
don''t want to start a flame-war about linux distros! I''m interested in the
best distribution for these criteria:
1 - Simplicity of getting ruby and rails set-up (gem updates)
2 - Stability (it is a server, after all)
3 - Support resources (community, and as a fall-back, paid