Displaying 20 results from an estimated 70000 matches similar to: "masking sub-domain in routes?"
2008 May 05
2
httpd reverse proxy
I am trying to figure this out and I always seem to have trouble
configuring apache to do more than basic stuff...
I have a web server that has several cnames assigned to it.
I want srv1.tobyhouse.com to be served by apache.
I want to proxy connections to www.tobyhouse.com to cms.tobyhouse.com
(different system)
If I do this...
<VirtualHost www.tobyhouse.com:*>
ProxyPass /
2013 Sep 14
1
Problems joining Samba4 domain
Hi!
I've installed Samba4 like described here on Ubuntu 12.04.3
http://www.matrix44.net/cms/notes/gnulinux/samba-4-ad-domain-with-ubuntu-12-04
DNS with BIND_DLZ backend seems to work and i can add DNS records
without a problem with Microsoft RSAT.
When i try kinit on the server i get the following:
root at PDC:~# kinit administrator
Password for administrator at MYDOMAIN.LAN:
->
2005 Feb 19
5
Routing: How do I use what is left from an URL
Hi,
I have this scenario. I have the full path of a page stored in the
database (column ''path''). I want to be able to have very short urls for
retrieving the pages, so i have this route in my map
map.connect ''-/:title'', :controller => ''page'',
:action => ''view_by_title'', :title => nil
so when I go to
2008 Sep 23
5
Problem getting Rails to emit the correct (proxy) domain in route urls
Behind the scenes my app runs like this:
http://myapp.mydomain.com/myapp and
and
https://myapp.mydomain.com/myapp
are Apache 2.2 virtual hosts proxy-balanced to a mongrel cluster
on the same machine.
But I need to make these available here:
https://www.mydomain.com/myapp
and
https://myapp.mydomain.com/myapp
are on a second server using ProxyPass and ProxyPassReverse to
2006 Jun 18
5
[slightly OT] Apache 2.2.2 proxy config
Apologies, this may be off-topic.
I''ve been wrestling with upload issues and Apache 2.2.2 /
mod_proxy_balanacer / mongrel_cluster / Mongrel on Mac OS X Server 10.4.5.
Typically the first upload would be fine but the next would make the mongrel
instance remain running (ps state = "R") essentially locking up that
instance. Apache would then eventually do:
[Fri Jun 16 16:45:54
2008 Apr 04
1
Problem when i try deploy mephisto
Hello everybody... now i finish my first mephisto application and try
deploy. In my development machine everything is fine on Rails 2.0.2
and last version of mephisto on Mephisto repository. But when i try
deploy and run rake db:bootstrap RAILS_ENV=production to make my db
ready fo mephist i get strange error:
uninitialized constant CodeRay::Encoders::PluginHost
The suport on rails playground
2009 Jan 30
1
fcgi/suexec problem
I have a number of vhosts configured with SuexecUserGroup
to run the scripts with limited privileges and the dept. web-site on one
of them. The problem is the webmaster can't read online context help
which comes with the cms the site is using. Most help files (>2K) have
*.php.html extension. *.php and *.html scripts both work as I suspect
they should, but when it comes to *.php.html suexec
2006 May 13
1
newbie question - routes.rb on server
Hello,
I am new to Ruby but not to programming. I have a domain name and server
space with a host who said that ruby on rails should work on the server.
All I want to do is make sure that a test ruby application works online
so that I can begin development on an app. I am able to get the test
program to work locally but not online.
In C:/ruby/projects/test/controllers/TestController.rb:
2007 Sep 03
0
website project assessement - how hard/easy would this be?
hello,
I have a website project pending and i hesitate between using ruby on
rails or a CMS like joomla for it. Therefore, i welcome your insights
to assess of how much work would be needed using RoR and if it is a
better choice than using the CMS. ...Instead of talking a lot, let me
present what the website should exactly do. ;)
Basically, the website is intended to be a sort of vault for free
2014 Jun 10
1
apache server-status permission denied
Hey all,
I'm having a slightly weird issue with apache server-status on just one of
my nodes.
In my httpd.conf I have the following:
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1 10.10.160
</Location>
If I do a ps grep I know that I'm using the right config:
[root at webhosta apache2]# ps -ef |
2006 Feb 14
2
CMS-like routing
I''d like to set up routes like /<section>/<article>. Using a route like
map.connect '':section/:article'' works just fine, but I''ve also got an
admin area that is accessed through the route ''admin''.
Inside the admin area I''ve got subpages like admin/sections and
admin/articles. This is conflicting with the other routes
2006 Jun 17
2
URL based on acts_as_tree using routes
Hi There!
I''d like some feedback before I try to implement some funky rails
routes based on an acts_as_tree model.
I have a Page model that acts_as_tree. I''d like the URLs to look
something like this:
http://localhost/about-us/staff/jeff
or, another example...
http://localhost/what-we-do/products/our-great-cms/features/faqs/
So, as many sub-nodes the user creates,
2007 Jun 21
0
problem with redirect_to() and VirtualHost
I''m running into a problem with redirect_to() and Apache''s
VirtualHost facility. I have probably have something set up
wrong, but I''m not even sure how to approach the problem.
Background:
We have DNS set up to return the domain''s address for all
sub-domains. So, "dig xyz.cfcl.com" returns the same IP
address as "dig cfcl.com".
2008 Jan 05
5
multi-app merb
Ezra,
I love merb, especially because it''s keeping the things that Rails does
well and improves on things that Rails hasn''t done so well.
One of my biggest pain points with Rails has become multi-app
integration. A lot of web sites consist of multiple apps (e.g. a core
site, a forum, a blog/cms, etc.). Doing this sort of thing is very ugly
and inefficient with the current
2006 Jul 12
2
(Re-)designing a CMS
Hello Rails-list,
I''m working on a CMS in Rails.
The company that I work for currently uses a CMS written in PHP, and I
want to mimick it in Rails, and improve along the way.
The PHP variant works with templates like this:
In the root of the webdir, there are the template files, named
cms_news.html for example.
This page contains custom tags, in the form of definitions and
2006 Aug 11
0
Resotolog-1.2 - RESTful blog example (was Community request - can someone show me REST? )
On 8/2/06, Alisdair McDiarmid <alisdair@...> wrote:
> Here you go:
> http://randomoracle.com/stuff/RestBlog.tar.gz
Hi guys,
i modified a little the original Alisdair McDiarmid''s sources and
created very simple blog system. So the announce follows:
Restolog - RESTful blog example
=========================
Very simple blog system based on REST/CRUD ideas. Sources (all
2006 May 17
1
Apache config: Two different rails apps using same domain name (mod_rewrite issue)
The problem I''m solving here is that I have two different Rails applicatons
that uses the same domain name. One handles the www (e.g. www.mycoolapp.com)
and is used as the main site, and the other handles the user subdomains
(e.g.. someuser.mycoolapp.com). The DNS stuff and the Apache virtual hosts
were all set up, the two rails apps are in place in the file system, and the
proper
2010 Mar 27
2
Shorter Rails 3 routes
Hi,
I have a small blog application, and I would like to shorten its routes.
Here they are:
Blog::Application.routes.draw do
resources :categories do
resources :articles do
resources :comments
end
end
A rake routes command produce the following lines:
GET
/categories/:category_id/articles/:article_id/comments(.:format)
2007 Feb 26
2
Apache+mod_proxy_balancer+Mongrel+Mephisto, Apache kills CPU
Our Mephisto install kills Mongrels and causes Apache to pound the
CPU. This started when we moved to Apache+mod_proxy_balancer+Mongrel.
Here''s what we know:
The following things are working OK, except when used in the
combination listed above: mongrel, mongrel_rails, MySQL, Apache,
mod_proxy_balancer. We believe these are all OK because we moved five
other Rails apps to this
2006 Aug 18
0
Ruby on Rails CMS Breakdown - Do they all stink?
I put an article up on my Ruby on Rails blog that breaks down all of the
known (that I''m aware of) CMS into feature lists and explains the current
development situation as I see of it CMS w/ Rails.
The blog url: http://rubyonrailsblog.com/
Article specific url:
http://www.rubyonrailsblog.com/articles/2006/08/18/ruby-on-rails-cms-breakdown-do-they-all-stink
FeedBurner: