Displaying 6 results from an estimated 6 matches for "virtual_hosts".
2007 Sep 30
9
Problems with testing nested routes using mocking
Hello forum
I have there to files
#----- virtual_host_controller.rb
class VirtualHostsController < ApplicationController
before_filter :capture_domain
# GET /domain/1/virtual_hosts/1
def show
@virtual_host = @domain.virtual_hosts.find(params[:id])
respond_to do |format|
format.html # show.rhtml
end
end
private
def capture_domain
if params[:domain_id].blank?
flash[:notice] = ''Need domain.''
redirect_to domains_url...
2007 Jun 05
3
custom type, recipe, how to solve this ?
Hi,
I have a little trickky thing i wanted to do with puppet, mainly this
is configuring web host on servers. I have a tree like this :
NODE
- WEB
-APACHE
- 1.x
- 2.x
- FTP
- VSFTP
- PROFTPD
- STATS
-AWSTATS
- if FTP then configure awstats for awstats
- URCHIN5
So my issue is that i want to be able to have
2008 Nov 20
9
create a file only if directory exists
I''m trying to create a virtual host file only if the document root
directory exists. It doesn''t look like puppet is seeing the require
metaparameter. Currently, the file is being created whether or not
the document root directory exists. What is the best way to currently
do this?
I''m trying to create a file called site1.conf in /apps/apache/conf.d
only if
2012 Jun 02
1
postfix+dovecat: virtual domains with imap+lmtp
...ins = mail.going-on.com mail.commundi.de
masquerade_exceptions = root, papinhio
relocated_maps = hash:/etc/postfix/relocated
smtpd_client_restrictions = check_client_access
hash:/etc/postfix/access
virtual_mailbox_domains = mail.going-on.com mail.commundi.de
virtual_mailbox_base = /var/spool/virtual_hosts
virtual_mailbox_maps = hash:/etc/postfix/virtual
virtual_uid_maps = static:0
virtual_gid_maps = static:0
mailbox_command = /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a
"$RECIPIENT"
dovecot_destination_recipient_limit = 1
mailbox_transport = lmtp:unix:private/dovecot-...
2011 Feb 23
1
web app deployment on a Debian server
Hello,
I would like to ask your advice for the simplest method to do deployment on a debian server. From my perspective the system should look something like this :
# web server node
node "prod.domain.com" inherits webserver {
webapp::project{app1:
domain => "app1.com",
package => "app1",
version => ''1.1.2''
2008 Feb 05
5
App upgrade steps from 1.2.4 to 2.0.2?
Hi all, experienced programmer but complete RoR newbie here, this is
my first rails post/question so bear with me. I have a working RoR
app on 1.2.4 and PostgreSQL, and my first efforts at running it in
2.0.2 show it does not cleanly upgrade without changes. Can anyone
give me some hints/pointers as to what I''ll need to change for 2.0.2
and how do I identify it other than trial and