Displaying 20 results from an estimated 20000 matches similar to: "Route my.psyguide.org to www.psyguide.org/myguide?"
2006 Jan 24
9
ActionMailer: Mail isn''t delivered
Hi all
I used the search for this, but I got an Application Error, so sorry for
the newbie question.
I have tried to send an e-mail using ActionMailer. I have to following
config (environment.rb):
ActionMailer::Base.server_settings = {
:address => "mail.psyguide.org",
:port => 25,
:domain => "mail.psyguide.org",
#:authentication => :login,
#:user_name
2011 Jun 09
1
subdomain based namespacing makes RSpec incorrectly state that the route doesn't exist
Hello,
I''m doing namespace routing based on subdomain, rather than path, so
that http://admin.example.com/pages leads to app/controllers/admin/
pages_controller.rb. Cucumber is following this fine, but RSpec is
complaining that the requested route doesn''t exist even though "rake
routes" shows the route. When I add a standard namespace below the
"scope :admin"
2006 Jun 05
0
route help using accounts but not with subdomain
Hi all,
I''ve just started trying to figure out rails routes
and am having some difficulty.
I want to have the directory structure start with the
/:account_name/ instead of using the subdomain with
the exception of account/create and account/list
I tried:
map.connect ''account/create'', :controller =>
''account'', :action =>
2006 Mar 25
1
routes mapping, subdomains and page-caching
Each of its own is no problem, but the combination of them is confusing my
head !
I want to to map in routes.rb an url for an article which is identified by
its permalink. The permalink is unique per subdomain.
Has anybody done that and can post an example ?
Should I do subdomain filtering in routes.rb so I can get page-cachabled
URLs (and URL rewriting in Lighttpd form subdomain-urls to
2011 Apr 21
1
Rails 3 Foreign Domain routing - cannot get this to work!
Hello,
I''m trying to build an app (mysuperapp.com) that allows users to create
an account in which a default subdomain (IE: joeshmoe.mysuperapp.com) will
be
created as their homepage. In their profile settings, I also want to give
them the ability to add their own domain name so their homepage now can be
joeshmoe.com. I know this is possible in rails w/ plugins like
subdomainfu
2006 Mar 23
10
Domain Requirements in Routes (Edge Rails)
I saw on the bottom of the following page that you can route requests to
different controllers based upon which subdomain is being requested.
http://wiki.rubyonrails.com/rails/pages/Routes
with_options :requirements=>{:subdomain=>''first.com''} do
map.connect '''', :controller => "first/catalog"
map.connect ''featured'',
2012 Oct 18
1
routing issue with mounted engine - Rails 3.2.8
I mounted the Forem::Engine in my app
MyApp::Application.routes.draw do
scope "/:locale" do
...
resources :sites, :only => [:none] do
get ''home'', :on => :collection
get ''events'', :on => :collection
end
..
mount Forem::Engine, :at => "/forums", :as => :forums,
constraints: lambda { |r|
2006 Apr 04
1
subdomain routing
According to the wiki (http://wiki.rubyonrails.org/rails/pages/Routes)
you can handle subdomain routing in routes.rb. Like this:
with_options :requirements=>{:subdomain=>''first.com''} do
map.connect '''', :controller => "first/catalog"
map.connect ''featured'', :controller => "first/catalog",
2006 Mar 19
0
wishlist: revisiting subdomain access in routes.rb
Several folks on the list have, over time, expressed interest in being able
to access the subdomain info inside routes.rb. This was discussed in great
detail late last year by several folks:
http://wrath.rubyonrails.org/pipermail/rails/2006-January/008114.html
In summary, routes can''t access the domain, so your best bet is to stick a
before_filter in your application.rb.
This
2006 Jan 16
0
Using subdomain names in routes?
Scenario...
We want to use the name field of our Market object for URLs like...
foo.example.com/groups/view/groupname
bar.example.com/groups/view/groupname
...and other similar URLs, basically using the subdomain as a key for
the app to know which Market (there is a markets table where the
subdomain field corresponds to Market.name) to use. In this example,
both pages are viewing the group
2006 Jan 28
0
[Frank] How can I access the domain name in routes.rb?
I am trying to setup an application where the URLs must be of the format
1) sub.domain.com/sub/category
and
2) sub.domain.com/search/something
In the first path the first part of the subdomain must match the folder name.
I tried to use request.domain(2) to get the domain information but keep getting errors.
I was thinking that may be I can setup regexp to math the
2007 Mar 31
1
Subdomains, Routing, and Subdirectory Controllers
For reference, this question is similar to "Subdomains, Session Data,
& Routing" posted Oct. 31, 2006. Link:
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/d3c5072c3588a1e0/f87d0fdfded31650
----
I would like to set up a subdomain and, using the request_routing
plugin, have requests to that subdomain call corresponding "sub-
controllers" inside a
2007 Mar 19
2
Controller url_for modifies request object?
Hi,
In my controller, I do something like this:
MyMailer.deliver_signup_notification(url_for(:subdomain =>
account.subdomain, :controller => ''hello''))
And a few lines later:
redirect_to :action => ''index''
Much to my confusion, the redirect routes me to the subdomain used in
the url_for. I''ve tried
redirect_to :action =>
2011 Feb 08
2
Rails + WordPress.org + Nginx = HELP
Running a rails app with Nginx and trying to add wordpress.org in as
either a subdomain or subdirectory with same URL.
Is this possible? Would running Rails and WP on different servers
help?
Found plenty of documentation with Apache, but Nginx lacking.
Thanks!
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2005 May 18
0
A cautionary tale on multiple databases under a single Rails app
Here is a cautionary tale to help others avoid my folly!
I kept running into bizarre problems with my rails app. I run the latest
Rails with FastCGI, Oracle 10g and Apache 1.x. After moderate load the
server would throw up application errors. Looking in the logs I noticed
that my underlying Oracle DB was complaining that it had opened too many
processes and won''t open any more. Hmm...
2006 Sep 29
0
Authentication question
I have a slightly odd need, and since I''m still somewhat new to Rails,
I''d love your feedback.
My app has a set of public stuff, (which will live at
www.mydomain.com), a set of admin pages (which will live at
admin.mydomain.com), and the bulk of the app, which will live at
subdomain.mydomain.com, where "subdomain" is chosen by the user when
they sign up for my service.
2006 Jun 21
4
Simple Subdomain Routing
Hey all,
I hope this is a relitively simple question, but I have not been able to
arrive at a workable solution for myself.
What I''m wanting to do is a very simple pattern match on a subdomain:
www.* forwards to mydomain.com/www_controller
and everything else forwards to mydomain.com/other_controller
The idea is to forward logged in users to username.mydomain.com, but all
the
2004 Jun 27
1
Asterisk on 64 bit... and testing e164.org
Dear Duane:
Thanks for the steer (presently I route calls to 1800 via iaxtel, but
I'll turn that off for that test)
I came up with a thought for an interesting e164 service last night -
distributed custom ringtones, and custom announcements on a callerid
lookup via enum. You'd be able to embed a
RINGTONE - an url pointing to either a ringtone definition or a wav file
that contains
2018 Mar 04
1
Samba AD + Kerbero + NFS "Client no longer in database"
I am soo lost trying to get Samba AD 4.7.5 as a Kerberos source for
NFSv4. The NFS server is the Samba AD server running Ubuntu Server
16.0.4.3 and the client is Linux Mint 18.3
This export WORKS and mounts on client
########## /etc/exports ##########
/mnt/fileshare *(rw,no_subtree_check,async)
############################
This export DOES NOT
########## /etc/exports ##########
2016 May 23
0
ISC's dhcp server, radvd and bind9 now adding samba as an AD DC
Hi,
Why modifying a working conf when you can build your DC on others systems
(VM)? That could be really nice to learn but you add a lot of complexity in
your process, I think.
Why not using DLZ to access your AD zones? I expect Bind to be able to mix
its behaviour: flat file for some zone, DLZ for others...
Now regarding:
update-policy {
grant AD.DOMAIN2.SUBDOMAIN.TLD ms-self *