search for: a2enmod

Displaying 17 results from an estimated 17 matches for "a2enmod".

2010 Mar 04
3
Dependency cycles, please help.
...------------------------ $apache2_sites = "/etc/apache2/sites" $apache2_mods = "/etc/apache2/mods" class apache2 { [...] define module ( $ensure = ''present'' ) { case $ensure { ''present'' : { exec { "/usr/sbin/a2enmod $name": unless => "/bin/readlink ${apache2_mods}-enabled/${name}.load", notify => Exec["force-reload-apache2"] } } ''absent'': { exec { "/usr/sbin/a2dismod $name":...
2013 Jun 26
1
use of exec in puppet
Hi, I''ve tried to to exec function in puppet for enabling module for apache. Here is the code that I am using: class apache::mod { exec { "a2enmod" : command => "a2enmod proxy_http", path => "/usr/sbin/", notify => Class["apache::service"], require => Class["apache::install"], } } But in agent I''m getting the following error, notice: /Stage[main]/Sudo/Package[sudo]/ensure:...
2008 Jul 14
4
Execute some steps if a file isn't present
...imes I got this problem: I want to execute a few things if a file isn''t present on the puppet client. For example: I want puppet to check if the mod_passenger apache module exists. If not: installl passenger from gem. Execute the installer, copy the config file and enable the module with a2enmod. What would be the right/appropriate way to do this? At this moment I don''t have a clue. Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send ema...
2008 Dec 29
4
Using an Exec inside a define
I''m working on a definition for activating/deactivating Apache modules on an Ubuntu system. Inside my Apache class I have this definition: define module($ensure) { case $ensure { enabled: { exec { "a2enmod": command => "/usr/sbin/a2enmod $name", logoutput => on_failure, creates => "/etc/apache2/mods-enabled/$name.load", notify => Service["apa...
2015 May 11
6
Authenticating Apache Against Active Directory
Hello, Using Nagios on Ubuntu 14.04.1 LTS. I'm attempting to authenticate users against Samba 4.2.1. When I edit 'apache2.conf' with <Directory /> Options FollowSymLinks AllowOverride None Require all granted Allow from all AuthName "AD authentication" AuthBasicProvider ldap AuthType Basic
2010 Apr 24
5
About your application's environment URL not found
Hi I am a newbie (which you probably guessed from the subject) and have just installed ruby 1.8.7, rails 2.3.5 and apache 2.2.12 on ubuntu 9.10. I have created a rails app and edited my apache config as shown below. The Rails "Welcome aboard" page displays, but when I click on "About your application''s environment" I get "Not Found The requested URL
2013 Mar 12
4
PuppetDB http web interface user access
Hi All, Has anyone figured out a nice way to restrict user access to puppetdb''s http web interface? Such as a .htaccess method or something similar? I would prefer something along those lines instead of setting up firewall rules. -Zane -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and
2020 Jun 22
1
Wrong version of php
...in the /etc directory: the FHS (q.v.) gives reasons why this is a Good Thing. > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos I read up on alternatives but it seems to require a2dismod and a2enmod which apparently are Debian solutions. I did try: update-alternatives --set php /opt/rh/rh-php72/root/usr/bin/php but that did not make any difference to this script. It must be reading the location of php from somewhere else. Surely there must be a system-wide way of forcing all uses of php to...
2006 Dec 29
9
Error : No protocol handler was valid for the URL...
...9;s logs I found that : [warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. I googled this error and I found that I have to load 3 differents modules, so I typed : a2enmod proxy a2enmod proxy_http a2enmod proxy_balancer each time I get this return : This module is already enabled! So I have no idea to what can i do ... This is my config : ----------------------- cat /etc/apache2/mods-enabled/proxy.conf <IfModule mod_proxy.c> #turning ProxyRequests on a...
2015 May 11
0
Authenticating Apache Against Active Directory
...ror on line 159 of /etc/apache2/apache2.conf: > Unknown Authn provider: ldap > Action 'configtest' failed. > The Apache error log may have more information. > > I'm not seeing anything of help in the Apache logs. > Have you enabled the Apache LDAP module with "a2enmod authnz_ldap"? -- John Yocum, Systems Administrator, DEOHS
2011 Jun 14
5
puppet dashboard
I am using Ubuntu 10.04 and ruby-enterprise (not ubuntu ruby) and installed puppet via gem. How can I install puppet-dashboard if I don''t see a gem available and if I use the ubuntu package, i get the whole slop of ruby packages sucked in (which i am trying to avoid)? # dpkg -i puppet-dashboard_1.1.0-1_all.deb Selecting previously deselected package puppet-dashboard. (Reading database
2005 Dec 08
3
lighttpd proxy w/ apache2
...lHost *:80> ServerName example.com ServerAlias www.example.com #ProxyPreserveHost on #<-apache2 only ProxyPass / http://example.com:8000/ ProxyPassReverse / http://example.com:8000/ </VirtualHost> changing the example.com to my URL. 4. I got an error so I used a2enmod proxy. Stopped and restarted apache2 5. After doing that when I go to my URL I get a 403 error: Forbidden In fact, I can''t go to any IP/URL on that server without seeing a 403. So even the PHP stuff broke at that stage. It''s linked to the ProxyPass statements somehow. I'...
2011 Dec 14
30
How can I get RVM/Passenger/Apache2 to play nicely together
Hello all, Can anyone point me to any solid documentation on how to set up a production server using RVM, Passenger, and Apache2? I have been at this for a week with absolutely no luck at all so I thought I would post here to see if anyone has managed to get this to work and written down the steps they used. Right now with my current implementation, I am getting a 404 error when I attempt to
2006 Jun 15
12
RoR on Apache2
...tml [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly" ---end segment---- /home/crvoelker/src/ToDo/public/.htaccess $ a2enmod fcgid This module is already enabled! $ dpkg --get-selections | grep cgi libapache2-mod-fcgid install libfcgi-dev install libfcgi-ruby1.8 install libfcgi0 install...
2020 Jun 22
2
Wrong version of php
On 06/22/2020 05:21 PM, Pete Biggs wrote: >> I have googled without finding the answer but how do I make sure >> /all/ processes use php72 rather than the default 54 in CentOS 7? >> Surely there must be a better way than overwriting /usr/bin/php. What >> have I forgotten to do? >> > You can't/shouldn't do that. The point of the Enterprise OS is that >
2006 Mar 15
5
Apache (both 1.3 & 2) not calling dispatch.fcgi on Debian
We''re trying to run Ruby on Rails on Debian with Apache and FastCGI, but can''t get it to work. As far as we can tell, it seems to go wrong in the final stages; Apache appears not to be doing anything with dispatch.fcgi, even though FastCGI looks to be set up correctly. We''ve followed several "how to"s, but we don''t get any other results. What
2010 Sep 08
25
Setup 2.6 + apache, passenger
Hi! I''m testing Puppet 2.6 and got all the basic stuff working with the default webricks. I read that it doesn''t scale very well and is not suited for production environments and the recommended setup is Apache/ Passenger. Is there a step-by-step-guide on how to set it up? Any help is very appreciated. Regards, Freddie -- You received this message because you are subscribed