similar to: Altering the starting URL for webrick

Displaying 20 results from an estimated 40000 matches similar to: "Altering the starting URL for webrick"

2005 Dec 30
2
scgi apache routes help needed
I''m trying to get an application running in a sub directory of a site using apache and scgi. The application runs fine with webrick. I have a site. Let''s call it "mysite.org". There is a variety of content on that site. I would like to add a rails application to that site. Let''s call the application "myapp". So we will have urls of the form
2006 Feb 22
13
Mongrel 0.3.6 -- Win32 Service/Rails Real Good
Hello Folks, This release of Mongrel should make the win32 folks go crazy. Thanks to Luis Lavena it supports a full service system for installing any Rails app as a service. This lets you start your rails apps from either the command line or the Service console. Stopping is still a bit problematic but we hope to have that solved in the next release. You win32 folks should probably send Luis
2007 Oct 05
11
Session handling busted on Oracle
Hi, Ruby 1.8.6 (one-click) Camping 1.5 I''d submit this as a bug, but the tracker says I''m forbidden, so here you go. The first problem is that the sql to create the sessions table is broken. This is what it tried to send: CREATE TABLE sessions ( id NUMBER(38) NOT NULL PRIMARY KEY (38), --> Problem here hashid VARCHAR2(32), created_at DATE, ivars CLOB DEFAULT
2005 Dec 06
4
Errno::E232 (The pipe is being closed.)
I get this error on occasion using both Webrick and Apache2/FCGI: Webrick Debug: [06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is being closed. (Errno::E232) [06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is being closed. (Errno::E232) C:/MyApp/Server/public/../config/../vendor/rails/actionpack/lib/action_controller/cgi_process.rb:158:in
2006 Jul 07
6
mongrel/win32/apache2 link modification question.
I have apache2 - mongrel 0.3.13.3-mswin32 running, on a server 2000 pc, by folowing the ''Serving Multiple Rails Applications on Windows with Apache and Mongrel'' ( http://tinyurl.com/z9ftz ) the question I have is why is why is http://localhost/myapp/ addded to the front of all my links and how can I stop it? origanal link using webrick /employees/edit/1214 now
2006 Jan 08
9
URL/Site structure
Greetings, I''m fairly noob with rails and making my first DB driven site with it. I''m using the scaffold generator to develop the admin side of my site (admin_controller) I have three sections that I want to have the administrator edit, and I want to call these from the admin controller that has a layout with navigation to these three sections. When using the scaffold
2006 Jul 21
4
Using a controller to initiate a plugin?
Folks I am new so I apologize if I come off as a totaly tool. I am finding Rails to be an amazing framework to use and having fun with it. I have run into a frustrating snag however with PLUGINS. I have a plugin installed in: /myapp/vendor/plugins/ When I run: ruby script/server in /myapp/ my WEBrick starts normally and I can access IP:3000. I get the default rails index page. How do I
2005 May 14
4
Problems with custom service and webrick
Hi all, Windows XP Pro Ruby 1.8.2 I''m having a couple of problems with the following service. The first issue is that the code in service_start doesn''t seem to fire off. The second problem is that any attempt to do ''require "webrick"'' within webrick_daemon.rb causes the service to fail on start. Any ideas? # webrickctl.rb
2006 Apr 12
6
distinguishing mapped urls from ordinary action urls
I want to present different view depending on the url. example below: http://myapp/start/show?url=xZq http://myapp/xZq both addresses are controlled by a single controller and the same action. the second url is only mapped in routes.rb how can I distinguished the mapped url and present a slightly different view in it? Sabon -------------- next part -------------- An HTML attachment was
2006 Oct 31
3
works with webrick,lighty, not mongrel
Hello, I''ve been working away to setup mongrel as my production server, however I am running into an odd problem and am not sure where to investigate for the answer. When I run using mongrel_rails start most things work fine, but a I get a few inexplicable undefined method errors, for example: undefined method `send_qbxml'' for #<Sync:0x2aaaafa7aa78> The method is
2006 Apr 06
3
Apache as proxy for webrick
Hello, We have a webrick server running our nice app, and an apache server being used to serve the rest of the site and act as a proxy for the webrick app. <code> <IfModule mod_proxy.c> ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /appname http://server.com:3000 ProxyPassReverse /appname
2006 Jun 14
2
How to do routing ?
Hi folks, I am working in Fedora Core 2 Linux, and using Apache 2.0 and mod_fastcgi, as per mentioned in the following link, to support Rails. http://wiki.rubyonrails.org/rails/pages/RailsOnFedora I had created virtual host and specified the path to my application''s /var/www/html/myapp/public/ directory as a value for DocumentRoot directives. Now what is happening is that, my
2008 Jan 30
3
Not all mongrel starting (Errno:EEXIST)
I''m playing with the mongrel clustering, and am having a problem getting 2 mongrels to start up reliably. This should be a pretty simple cluster, with just 2 instances running. My mongrel config (mongrel_cluster.yml) looks like: cwd: /deployment/installed/myapp/current log_file: log/mongrel.log port: "8000" environment: production address: 127.0.0.1 pid_file:
2007 Nov 06
5
textarea fails on rows attribute
Hi, Camping 1.5.180 Ruby 1.8.6 It looks like Camping is choking on the ''rows'' attribute for input tags: input(:name => ''cuid'', :type => ''text'', :size => 10, :rows => 3) That will fail with: Markaby::InvalidXhtmlError no attribute `rows'' on input elements:
2006 Feb 06
1
How to pass an additional parameter from the url to a xmlrpc service?
guys, I have a RoR App with a xmlrpc service, which attende a several clients recently I need to change the xmlrpc service in order to provide an additional parameter from the clients, but I don?t want to force a change in the clients''s xmlrpc code, so is possible to pass this additional parameter in the url? every client append his own new parameter to the url to access the xmlrpc
2007 Nov 07
11
Links go to ''localhost''
I am using Apache2.2 + Mongrel on my machine. Now I am accessing it over LAN. When I enter http://mymachinename/myapp it opens fine but when I click on any link in my rails app, it replaces mymachinename with localhost (http://localhost/myapp/controller/action) and thus I am unable to access it from remote location.
2006 Jan 03
3
RoR and Apache2 and app in local directory
Hi all. I''m at my wits end.. I''m trying to set up a Rails app (on a Ubuntu system), within the public_html directory in my home directory (as opposed to the /var/www/ directory). ie. in /users/john/public_html/myapp I have a simple app setup, and using the Webrick server it works fine. But trying to get Apache to work is becoming a pain in the *&^*. I followed the
2006 Feb 16
1
setting the right routes
I''m trying to create an admin section in my application which can be accessed through www.myapp.com/admin. I''m going to need to administer two models through the admin section. I have a generated the controllers for Admin::Image and Admin::Project. That created a subdirectory under the controllers directory called admin and I can access each controller through
2006 Jul 26
5
Mongrel + mod_proxy URL issues
We have a Centos server with a number of virtual hosts, and my rails app runs under one of those virtual hosts using mongrel_rails. The app lives in /home/mydomain/railsapp where /home/mydomain/railsapp/public is the rails root. It runs under mongrel on port 8008, so to get to it users invoke the url http://www.mydomain.com:8008/ - all is fine to this point. Now I have some users whose
2007 Jan 25
6
NOT FOUND error
I''ve been hunting the web and reading the mailing lists all day but I''m not finding any guidance on this problem. When I try to talk to my mongrel it simply responds with NOT FOUND and nothing else. I can''t find anything on google because this has to be the second most commond phrase in existence. Any help or guidance would be greatly appreciated. Sincerely, Chuck Vose