Displaying 20 results from an estimated 83 matches for "docroots".
Did you mean:
docroot
2006 Sep 06
1
31K failed stat64's when viewing a simple (no db) rhtml page?
I''m trying to help the sys admins of my server figure out what is up
with our Rails installation (debian sarge - completely up to date).
Hitting a simple page yields 31,000 failed stat64''s and takes anywhere
from 8 - 44 seconds. They #! for ruby is correct everywhere, but it''s
like it can''t find Rails. These are box stock standard installs.
Here''s
2008 Apr 24
4
If/else issues.
Can some one point out to me what I am missing? I suspect I have
messed up the if/else some how. I am getting a ''
Syntax error at ''{''; expected ''}'' at
/srv/puppet/production/manifests/modules/apache/init.pp: 19''.
According to the Language tutorial this should be correct. I am
testing for an existence of a variable. If it exists chagne the
2009 Oct 24
5
BUG? $name inside a definition 'method signature' different to within a body ?
If I have something like this:
----------------------------------------
define bar($thing="/tmp/$name") {
file { $thing: ensure => present }
}
class foo { somedef{ "bar": } }
----------------------------------------
puppet will try to create a file called ''/tmp/foo'' , not /tmp/bar.
It seems like if I try to access $name inside the ''default
2003 Aug 09
1
synchronizing 4617 files (out of 1538823)
i have a list of files relative to a docroot that need to be synchronized.
example:
pc/action/apocalyptica/wrapper_gslive.html
pc/action/apocalyptica/wrapper_gslive_ice.html
pc/action/apocalyptica/wrapper_ice.html
pc/rpg/darkageofcamelot/buyit_unit.html
pc/rpg/darkageofcamelot/buyit_unit_ice.html
the actual docroot has 1538823 files. building the file list takes a very
long time. i would like
2009 Jul 29
0
[PATCH server] Remove ununsed utils.rb file.
Somehow I missed this.. this file is no longer in use by taskomatic.
Signed-off-by: Ian Main <imain at redhat.com>
---
src/task-omatic/utils.rb | 221 ----------------------------------------------
1 files changed, 0 insertions(+), 221 deletions(-)
delete mode 100644 src/task-omatic/utils.rb
diff --git a/src/task-omatic/utils.rb b/src/task-omatic/utils.rb
deleted file mode 100644
index
2009 Jul 09
1
[PATCH 1/5 ovirt-server] Add glusterfs to task-omatic API for {task_storage,utils}
---
src/task-omatic/task_storage.rb | 50 +++++++++++++++++++++++++++++++++++++++
src/task-omatic/utils.rb | 40 +++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+), 0 deletions(-)
diff --git a/src/task-omatic/task_storage.rb b/src/task-omatic/task_storage.rb
index 77363ac..97ae4fc 100644
--- a/src/task-omatic/task_storage.rb
+++ b/src/task-omatic/task_storage.rb
@@
2006 Jun 17
2
ROR deployment on Apache - DocRoot set to /
I am trying to get a ROR app running on a linux box running Apache 1.3
at my hosting comapny, but cannot get it running.
There is a fresh/clean ROR app in the base directory /
.htaccess, dispatch.cgi, dispatch.fcgi and dispatch.rb are all in /
All dispatch files have been set to 755.
ROR docs say to point doc root at /public/ and to put .htaccess,
dispatch.cgi, dispatch.fcgi and dispatch.rb
2011 Aug 17
3
Using back-ported create_resources in 2.6.x
Does anyone have some examples of using this create_resources
function, https://github.com/puppetlabs/puppetlabs-create_resources,
? Based on the README example I can''t figure out exactly how to
change from using defines to using this function. Maybe I
misunderstand the purpose of create_resources...is it to replace
defines, or is it to allow ENCs (for example) to use a define?
Below
2011 May 04
4
apache docroot permissions
I have a group of users (content editors) who need read-write access to
apache document root. The apache web server is running as user:apache and
group:apache. The filesystem permissions are currently set as apache:apache.
How should I modify filesystem permission so that content editors can have
read-write permissions and webserver can serve files as well? Following is
what I have setup now, but
2009 Jul 31
0
[TAKE-2][PATCH 1/5] Add glusterfs to task-omatic API for task_storage
---
src/task-omatic/task_storage.rb | 50 +++++++++++++++++++++++++++++++++++++++
1 files changed, 50 insertions(+), 0 deletions(-)
diff --git a/src/task-omatic/task_storage.rb b/src/task-omatic/task_storage.rb
index 8165818..77b0166 100644
--- a/src/task-omatic/task_storage.rb
+++ b/src/task-omatic/task_storage.rb
@@ -202,6 +202,8 @@ class LibvirtPool
return
2006 Dec 27
3
Multiple DocRoots
I''m wondering if it''s possible to setup mongrel to have multiple document
roots? The use case I''m trying to solve is one where I have a library of
shared CSS/JS/Images and would like multiple rails application to use them.
I have written a proxy controller and added some routes to serve the static
files and it works reasonably well, but is extremely slow, because
2006 Aug 14
1
Mongrel loading wrong database environment (& a couple other bugs?)
Hi There,
I''ve got a mongrel cluster running on redhat 9 proxied behind an
Apache 2.2 installation. I have run into a real stumbling block in
that, while the rails app runs in production mode (you get a
production.log file, for example, and I see this in the mongrel log:
** Starting Rails with production environment ... ), it always loads
the development database configuration
2006 Mar 18
4
Mongrel Console 0.1 -- script/console meets mongrel
This is a super quick announcement for a new Mongrel plugin called
mongrel_console. It was inspired by a request from Tobias L?tke who wanted
to tail out logs while Mongrel was running.
What mongrel_console does is combine the Rails script/console with Mongrel
so that you can control a mongrel server while using script/console. Sounds
weird but it''s quite awesome for development
2009 Mar 02
2
Need help extracting info from XML file using XML package
I have an XML file that has within it the coordinates of some
polygons that I would like to extract and use in R. The polygons are
nested rather deeply. For example, I found by trial and error that I
can extract the coordinates of one of them using functions from the
XML package:
doc <- xmlInternalTreeParse('doc.kml')
docroot <- xmlRoot(doc)
pgon <-
2007 Oct 04
2
Selector syntax error on Debian Etch
Hi all,
I''m having problems making some manifest work, and it''s so simple that I
don''t know where the issue is:
I get this error message when trying to load this vhost.pp file: "Could not
retrieve configuration: Syntax error at ''}'' in file
/etc/puppet/manifests/classes/vhost.pp at line 9"
define vhost ( $domain, $admin, $docroot, $enable )
2006 Mar 28
12
Rails & PHP
Hi there - I wanted to know if anyone has used Rails & PHP on the same
production server and whether they''ve experienced any problems.
I''m looking to install rails on our production soon, however I would
like to know if there are any issues I need to be aware about.
Many thanks,
Jared.
2006 Sep 06
2
Running multiple domains on one codebase, mongrel a good choice?
We''re working on rails application for a client that needs to be
deployed under a variety of domain names and needs the ability to
load custom configurations for the database, parts of the docroot,
caching, etc. based on the site we''re serving. We use mongrel to
host some other single domain apps and would like to do so here too.
We''d like to not have to
2013 Jan 15
3
Multiple class calls via dashboard
Hi,
I currently have puppet setup and backed into the dashboard and using ENC.
I wish to control as much of the configuration of machines via the
dashboard.
However, I have a requirement to call a module/class multiple times and was
wondering if this is possible? in a normal manifest I''d do this with the
following:
node "somenode" {
somemodule::submodule {
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
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