search for: interkonect

Displaying 19 results from an estimated 19 matches for "interkonect".

2007 Mar 25
2
Mongrel & Mint (PHP related)
Hi, Does anyone have the Mint stats package setup with their Rails application. I have uploaded Mint to the public folder, but when I try and request domain.com/mint/index.php the page is served as a download instead of being processed by mod_php. Im guessing this isn''t really a Mongrel problem but what I actually need to do is prevent Apache proxying certain requests to Mongrel.
2006 Sep 25
5
HTTP Parser (Regal)
Hi I was interested to see how Mongrel uses Lex/Yacc to parse the HTTP requests using a Regal generated parser. I downloaded the source but do not see the lex and yacc files...
2006 Sep 04
11
balancer://mongrel_cluster
A couple of questions please: What is the benefit of having more than one Mongrel/Rails instance on the same machine, could one instance not serve as many requests as say three instances? Is Mongrel Cluster a Apache add-in (like mod_*) or a separately running load balancer which runs on a separate port, I could not work it out from the sample Apache config... |# Redirect all non-static
2007 Mar 08
10
bad URI(is not URI?): c:\boot.ini
Please note this message is not related to my previous one from yesterday, this is on a different server (textdrive server). I have only one mongrel application running but ''randomly'' it will go down, the mongrel.log file shows: ERROR: undefined method ''request_uri'' for #<URI::Generic:0x5383948 URL:*> ERROR: bad URI(is not URI?): c:\boot.ini [FATAL]
2005 Sep 22
5
Adding Categories to the Depot example in the Agile Rails book
Hi ya, I want to add categories to the depot example in the Agile rails book. These are my thoughts: Create a new table called categories with id, title, description, and image fields. Add a new field to the products table called category_id Create a model called Category with "has_many :products" Now I should have a one to many link between the products and categories tables? Now
2006 Jan 31
2
Liquid templates and forms
I have started to experiment with Liquid templates and all goes fine as long as I just display my stuff. But I want to get user input (using forms), and I couldn''t figure out so far whether and how liquid facilitates the use of forms, something like the form helper tags in .rhtml. Anybody knows about that ? -- Roberto Saccon - http://rsaccon.com -------------- next part --------------
2006 May 19
14
Running Rails from embedded Ruby
Is it possible to run a Rails application from embedded ruby? I''m thinking of replacing dispaches with a C application which will then call the normal Rails dispaches and so on... Is this do-able? Many thanks, Kris. -- Posted via http://www.ruby-forum.com/.
2006 Sep 21
5
Static files in public
My question is about the static files in the Rails public folder. These files should be served by Apache instead of Mongrel, so do I need to upload these files to Apache''s htdoc''s or will Apache cache them the first time they are requested from Mongrel... Im not sure how this works? Many thanks.
2006 Sep 06
7
Error on Windows and FreeBSD
First off Windows, because actually what I appear to be getting is a Rails error which only occurs when I use Mongrel, using Webrick I do not get this error. I start Mongrel using: mongrel_rails start I have mongrel, win32-services and mongrel-service gems installed even through Im not using mongrel as a service at the moment. The whole application works apart from one action. The error I get
2006 Oct 11
7
Mongrel HTTP Header Problem
Hi, I''ve recently been trying to setup Mongrel behind Pound so that I can do mutual SSL authentication. I''ve had a few problems with Pound (documented at [1]), but now have it working correctly. However, I think there is a problem with Mongrel and how it deals with the headers Pound adds to the HTTP header block. One of the extra headers Pound adds is
2006 Apr 04
26
Models accessing the session...
Can someone tell if there is a reason models shouldn''t access the session? Models could easily be made to access the session or some other shared persistant data store such as a file or a table. _This is the problem_, a model needs to know certain information eg. the id of the current user. But the model has no idea about anything outside of its self, because it can''t access
2006 May 01
0
Scaling the database for write intensive application
I am developing a large scale financial application which is going to be very intensive write-wise, and use a lot of transactions. I can see how the the web and application servers can be scaled and load balanced quite easily, but not the database. The setups I have looked at so far seem to deal with coping with a lot of reads, and minimal writes - this maybe because they are largely content
2006 Mar 03
1
starting webrick from ruby (tar2rubyscript.rb)
I am using tar2rubyscript to package up a rails application and run it as one file from the server. If you run script/server and have lighttpd install it will start lighty instead of webrick. So, thanks to Erik Veenstra''s suggestion, I add ARGV.unshift("webrick") to the init.rb file to force webrick to start: ARGV.unshift("webrick") load "script/server"
2006 Sep 06
0
Tracing a HTTP request/response through a scaled server deployment
Would anybody be interested in tracing a HTTP request/response through a typical Rails scaled server deployment? I already posted something similar on the rails list but the post appears to have disappeared... I am happy to write it up if I can get help at certain stages, I thinking something like this while might not particualy help people on this this list, since you are most likely
2006 May 04
2
Enterprise Database Tier (XA transactions, COBRA and MIDAS)
I am developing a large scale financial application which is going to be very intensive write-wise, and use a lot of transactions. I can see how the the web and application servers can be scaled and load balanced quite easily, but not the database tier. The setups I have looked at so far seem to deal with coping with a lot of reads, and minimal writes - this maybe because they are largely
2006 Dec 18
3
Using a network drive to share files between Mongrel/Rails instances...?
I have a Apache proxying to a number of Mongrel''s on different physical machines. What I need to do next is share files between the Rails instances. I am creating dynamic files which will be created by Rails and stored on disk. The file is then recovered and served at a later date by an ajax request. But because of the proxying the ajax call my be routed to a different machine.
2006 Feb 14
5
SSL and domain as account key
Say I have an hosted application which allows the user to use their own domain name (company.com) to access it, and that application must be accessed over SSL, how do you go about our SSL certificate not being registered to their domain. Sure the connection will be safe but the browser will pop up a warning saying the certificate is invalid for this domain. I dont think this problem occur
2006 Jun 12
14
Scope of a global
If I set a global can it be access from all instances of Rails (on the same application server)? By instances of Rails I mean for each user who use the application? Many thanks, K. -- Posted via http://www.ruby-forum.com/.
2006 Mar 31
11
Model and Controller relationship
My question is about where certain kinds of logic sit in the Model and Controller objects or more specifically the relationship between Model and Controllers. Does an Model class contain a Controller class, the otherway round, or are they two seperate classes that talk? 1. Should the Models be treated as the primary objects within a program and the matching controller is simply a way of