search for: docroot

Displaying 20 results from an estimated 83 matches for "docroot".

2006 Sep 06
1
31K failed stat64's when viewing a simple (no db) rhtml page?
...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 what we''re seeing when we trace the process: stat64("/www/mysite/docroot/rails/../config/../vendor/rails/actionpack/lib/action_view/helpers/../../action_controller/vendor/html-scanner/soap/ encodingstyle/handler.so", 0xbffe2b10) = -1 ENOENT (No such file or directory) stat64("/www/mysite/docroot/rails/../config/../vendor/rails/actionpack/lib/action_view/vendor...
2008 Apr 24
4
If/else issues.
.../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 config files to use it, if not set it to the apache default. My init.pp: class apache{ if $docroot{ # Set Document Root to the new directory. line{"$docroot": file => "/etc/http/conf/httpd.conf", line => ''DocumentRoot "/var/www/html"'', ensu...
2009 Oct 24
5
BUG? $name inside a definition 'method signature' different to within a body ?
...I want to get at the name of the definition (''bar'' in the above example). Once i''m inside the body of the definition, $name seems to be set correctly (inside templates called from the definition, etc.). [I''m writing an apache module, and want to infer a default docroot of ''/docroot/www-vhostname'', but allow an option to override it. how can I do that ? (and is this a bug?) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to th...
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. build...
2009 Jul 29
0
[PATCH server] Remove ununsed utils.rb file.
...ml.root.elements["target"].elements["permissions"].add_element("mode").add_text(mode) - end - - def shutdown - if @remote_pool_started - @remote_pool.destroy - end - if @remote_pool_defined - @remote_pool.undefine - end - end - - def xmlequal?(docroot) - return false - end - - def self.factory(pool) - if pool[:type] == "IscsiStoragePool" - return IscsiLibvirtPool.new(pool.ip_addr, pool[:target]) - elsif pool[:type] == "NfsStoragePool" - return NFSLibvirtPool.new(pool.ip_addr, pool.export_path) - elsif...
2009 Jul 09
1
[PATCH 1/5 ovirt-server] Add glusterfs to task-omatic API for {task_storage,utils}
...ger.debug("Creating new volume on pool #{@remote_pool.name} - XML: #{@vol_xml.to_s}") + result = @remote_pool.createVolumeXML(@vol_xml.to_s) + raise "Error creating remote pool: #{result.text}" unless result.status == 0 + return result.volume + end + + def xmlequal?(docroot) + return (docroot.attributes['type'] == @type and + docroot.elements['source'].elements['host'].attributes['name'] == @host and + docroot.elements['source'].elements['dir'].attributes['path'] == @remote_vol) + end +e...
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
...in $instances, would that be done in "class webserver::instances" or else where? Here''s the example... node ''webserver'' { apache::vhost { ''drupal-multisite1'': domain => ''com'', docroot => ''/var/www/example2.com/html'', options => ''None'', override => ''All'', protocol => ''http''; ''drupal-multisite2'':...
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
...ogger.debug("Creating new volume on pool #{@remote_pool.name} - XML: #{@vol_xml.to_s}") + result = @remote_pool.createVolumeXML(@vol_xml.to_s) + raise "Error creating remote pool: #{result.text}" unless result.status == 0 + return result.volume + end + + def xmlequal?(docroot) + return (docroot.attributes['type'] == @type and + docroot.elements['source'].elements['host'].attributes['name'] == @host and + docroot.elements['source'].elements['dir'].attributes['path'] == @remote_vol) + end +e...
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?)
...39;ve also noticed a couple other issues. 1. When specifying a pid file that''s not in the default, you can start up mongrel fine and it writes the pid(s, this is clustered) to the correct location, say /tmp/mongrel.*.pid, but the stop command always tries to find the pid in /path/to/docroot/log/tmp/ mongrel.*.pid, basically appending the absolute path to the default location. This is handy if you want to move symlinks around and still have the ctl script find the pids. 2. the -r (--root) option and the :docroot yml pair don''t seem to have any effect whatsoever. Tha...
2006 Mar 18
4
Mongrel Console 0.1 -- script/console meets mongrel
...^C=> nil irb(main):004:0> reload Reloading rails... Done reloading rails. => nil irb(main):005:0> restart Server stopped. Exiting. Shutdown waiting for 20 requests Mongrel running in development mode on 0.0.0.0:3000. => nil irb(main):006:0> status Mongrel running with: * mime: * docroot: public * server: #<Mongrel::HttpServer:0x253441c> * tracing: true * rails: #<RailsHandler:0x25344d0> * host: 0.0.0.0 * port: 3000 => nil irb(main):007:0> stop Server stopped. Exiting. Shutdown waiting for 20 requests => nil irb(main):008...
2009 Mar 02
2
Need help extracting info from XML file using XML package
...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 <- xmlValue(docroot[[52]][[3]][[7]][[3]][[3]][[1]][[1]]) but this is hardly general! I'm hoping there is some relatively straightforward way to use functions from the XML package to recursively descend the structure and return the text strings representing t...
2007 Oct 04
2
Selector syntax error on Debian Etch
...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 ) { $vhpath = "/etc/apache/coetc/apache/conf.dd/$domain.conf" file { $vhpath: require => File[$docroot], content => template("vhost.erb"), ensure => $enable ? { true => p...
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 deploy the codebase multiple times either (since it''s identical) so we''re trying to figure out...
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
...opts.on("-p", "--port", "Port that Webrick shall use"){ |port| OPTIONS[:port] = port } opts.on("-m", "--home", "Home directory for app"){ |home| OPTIONS[:home] = home } opts.on("-r", "--docroot", "Document root directory"){ |root| OPTIONS[:docroot] = root } opts.on("-t", "--path", "Path to Ruby executable"){ |path| OPTIONS[:path] = path + '' '' } opts.on("-h", "--help", &qu...