Configuration is a general term that can refer to the arrangement of functional units according to their nature and characteristics. Also, it can refer to software configuration which more suitable for server-related topics.

learn more… | top users | synonyms

-1
votes
1answer
35 views

Redirect for https and www

I currently have my rewrite rules in the post_virtualhost_2.conf file this in inserted into the httpd.conf file at the absolute end. I have two blocks that don't seem to be working <IfModule ...
-4
votes
0answers
16 views

WEBSVN Configuration [on hold]

I have downloaded, installed and configured WEBSVN in my Unix server. AFter the server restart when i load the SVN URL am getting the below error Not Found The requested URL /websvn/ was not found ...
-1
votes
1answer
16 views

Append RewriteRule to existing virtual host

My server configuration example.com.conf uses a virtual host for example.com. It contains a few rewrite rules. Now I'd like to add another rewrite rule on the same example.com domain, without editing ...
0
votes
1answer
25 views

Does Apache mod_status give any insight to tuning Apache config?

Does the Apache mod_status output give any insight to tuning Apache prefork config? For example, using Apache's mod_status, I figured out that My server gets 3 requests/sec average, the range is ...
0
votes
2answers
51 views

Nginx www to non-www, forward to http, and forward to https at specific location

In my nginx config, I intended to reach purposes below: forward www to non-www forward https to http only use https on uri with pattern 'secure' Code below reach the goals, except that ...
0
votes
1answer
23 views

Setup SSL keys when using roles-profiles pattern with Puppet

Here is a scenario. I have two web applications (lets call them webapp1 and webapp2) that needs apache, php (with some modules), and the web app's code it self. This is how I set this I set this up ...
0
votes
1answer
23 views

How to define a host group on Nagios 4

I would like to define a host group on Nagios 4. In recon it should be defined somewhere in /usr/local/nagios/etc. I tried creating a file hostgroups.cfg that with contents: define hostgroup{ ...
0
votes
1answer
36 views

Many connections in state, How I can prevent this more # number

Please, by this command I can know the number of connections for each IP: netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1 Sometimes greatly increase the number of contact ...
1
vote
1answer
27 views

Configure postfix to send email only from authenticated and receive from anywhere

I`m having problem configuring postfix to receive emails from any domain but block senders for only authenticated users in localhost My main.cf is like : mydomain = domainname myhostname = ...
-1
votes
0answers
16 views

How to reuse a config file / How to build a config inheritance in nginx? [closed]

On my server (VirtualBox with a Debian 7.4 Wheezy guest system on a Windows 7 host) every VHost config file manages multiple VHosts, e.g.: my-vhosts-file server { listen 80; server_name ...
1
vote
0answers
33 views

Ansible using role template vs copying static configuration file [closed]

I have been using ansible to manage the haproxy configurations for a few servers and I really like the tool. It makes deploying new servers and keeping the configurations in sync a breeze. One ...
1
vote
1answer
38 views

Configure Centos7 Apache 2.4 php-fpm to run as user

I would like to configure a Centos 7 Apache 2.4 Linode to use php-fpm to execute php as the file owner. The docs for earlier Centos6 / Apache2.2 don't work and the configurations I have seen for ...
4
votes
1answer
89 views
+50

Best way to restrict some SSH users to publickey authentication only (disable password authentication)

I'm running Mac OS X Server.app on Yosemite and I have SSH enabled for users with the default settings in /etc/sshd_config (publickey and password auth enabled by default). However, I need to ...
0
votes
0answers
60 views

Loose the header REMOTE_USER after reverse proxy

I have a configuration file that enables me to do a reverse proxy. The problem is, before the proxy I am viewing all the headers and REMOTE_USER is not null but after the proxy, the same variable is ...
1
vote
0answers
14 views

Elseif not working on Apache2.4

I want to redirect to maintenance page people which have NOT a specific header (my admins). So people which have a USERID header in the following list should not enter into the Elsif condition, and ...
0
votes
1answer
13 views

Disabling nonce check in Apache mod_cluster

I am trying to write a shell script on my Apache server with mod_cluster to enable and disable contexts. However, it is not working because of the nonce. How do I disable the check for this? Googling ...
2
votes
1answer
28 views

Apache - protect a subdirectory but not the root

I have a website, it should be accessible by anyone, but one directory should request http authorization. I have added following lines to website.conf: <Directory ...
0
votes
1answer
48 views

How to serve first Nginx regex server_name servers

I have a Nginx config which look like this : server { server_name sub2.sub1.example.com; listen 80; return 301 https://$host$request_uri; } server { listen 443 ssl; server_name ...
0
votes
0answers
84 views

Random speed on downloading files from Nginx/lighttpd

I've tried both lighttpd and nginx as webservers. All to very same result: In the morning, when the load is low, files are lighting fast to download. But later, when the load is a BIT more, server ...
1
vote
0answers
10 views

IIS 8, Shared Configuration and server specific HTTP Header

Is it possible in IIS 8 use Shared Configuration and set an HTTP Header for each server with a different value?
3
votes
1answer
30 views

Additive SNMPd configuration in CentOS

I have a small program that I am preparing for release. As part of its functionality, it queries SNMP for a few statistics. The MIBs in question are installed by the default net-snmp package, but are ...
0
votes
0answers
45 views

nginx config - pass all to https apart from one folder [duplicate]

I've been banging my head on this for 3 days day and I'm getting nowhere. I transferred the whole site over to ssl and that change over didn't go too bad and the site was only down for about 30 min. ...
0
votes
1answer
34 views

Sharing simple tasks across roles in ansible?

I have a couple of different machine types that all need to have the official postgres APT repo defined for them in order to be able to apt-get install the right version of tools. These different ...
0
votes
0answers
15 views

Disable gd library on a specific website

I am trying to disable gb library on a specific website so it won't affect the other websites which are hosted on the same server. Is it possible to do this with htaccess or is there another way?
0
votes
0answers
39 views

NGINX, how to strip location prefix in $fastcgi_script_name

I've already read that : how to remove location block from $uri in nginx configuration? but is there a way to strip the location blocks's prefix from the $fastcgi_script_name without using regex ? ...
-1
votes
2answers
24 views

MySQL configurations are not saved after restarting windows server machine

I have a PHP application hosted on a windows server 2008 R2 machine. I had a problem with strict mode in MySQL and solved it by disabling the strict mode using the following command set ...
0
votes
0answers
51 views

NGINX: add_before_body with .php

worker_processes 8; events { worker_connections 1024; } http { gzip off; root htdocs; add_before_body subsites/dropletlocal/library/global/func-global.class.php; #DOESN'T ...
-1
votes
1answer
73 views

Can squid work as reverse proxy server for ftp, pop3 and smtp [closed]

OS is Ubuntu 14.04 Can squid work as reverse proxy server for ftp, pop3 and smtp? I need a server can work as reverse proxy server mode to proxy the http and ftp. I configure quid3 but I find it can ...
1
vote
1answer
89 views

How to Disable TLSv1.0 and TLSv1.1 in Nginx

I'm trying to figure out how to disable TLSv1 and 1.1 Nginx and ONLY allow connections on 1.2. This is for testing reasons more than in production use and for the life of me cannot figure out why ...
0
votes
0answers
36 views

Server IP variable in received_header_text in exim config

I would like to change received_header_text in exim config and I need to use server IP in it. Is there a variable that I can use there to get server IP? What I try to do: See related question. I ...
0
votes
1answer
58 views

Can't find received_header_text in exim.config file

I would like to modify received_header_text to add additional "Received: ..." header for authenticated mails - so gmail import will check SPF against our server, not client IP. But my exim.conf does ...
0
votes
0answers
18 views

Where can I find the DRAC bulk configuration tool?

I need to reconfigure and reset the DRAC configuration on hundreds of servers. This document indicates the tool I need is called "RACT" or "AD with the Dell RAC Tool" The hyperlink in the document ...
0
votes
1answer
41 views

how to put server configuration in git on linux

I want to track random config files / directories from my server into git repository. I do not mean tracking the /etc, here are some examples: /etc/named.conf /etc/named/* /var/named/* ...
0
votes
0answers
101 views

Apache 2.4 git integration

After a long fight I managed to cleanup all Apache configuration and authentication errors, but remote access to repo still fails: mcon@ariag25:/tmp$ git clone ...
0
votes
0answers
18 views

Virtual Host showing error 11001 even after chown and chmod

I am trying to create a virtual host to just test a basic html website. Guest OS - Ubuntu 14.04 Host OS - Ubuntu 14.10 In the Host OS, I connect through a proxy server which requires me to enter a ...
0
votes
0answers
33 views

The apache2 server only work under tcp6 for ftp, how to make it work tcp4?

I use apache 2.4.7 on ubuntu. I already added proxy and proxy_ftp module. The ftp site configuration is: <VirtualHost *:21> RewriteEngine On ServerName ftp.mydomain.com ProxyPass / ...
0
votes
0answers
11 views

configuring solr for second role in multicore mode

I am running solr 3.5 on an ubuntu machine in multi core mode. Until now there was only one project. Workes fine for this one. Now I want to add another project and I am having dificulties with the ...
1
vote
0answers
62 views

Setting up Infiniband network - wrong route

So I'm trying to set up an Infiniband network alongside my Ethernet network. I have 10 compute nodes and one conductor node. All 11 machines are running CentOS and are plugged in to an Infiniband ...
1
vote
1answer
55 views

2 nics and 2 public ips

I have a server with 2 nics (interfaces) running ubuntu 14.10 I need to connect each nic to a different router (each being a gateway to different internet connections from different ISPs. I also ...
2
votes
1answer
87 views

Is there any reason to keep the power option on default “Balanced” instead of “high performance”?

We rent our servers at a local hosting partner, they manage the setup and settings and we just use them. But we have as well admin rights, but the management is at their side. So if I switch importend ...
0
votes
1answer
72 views

Using an Ansible Do-Until loop to manage outdated directories

I have a directory that will have a series of subdirectories added to it, and I want to maintain only the most recent 5. Here are the two tasks that I think should accomplish this: - name: Get ...
-1
votes
2answers
143 views

Apache Prefork MaxClients cannot exceed 256 [closed]

I manage a Centos 6.6 server (with cpanel expired license / maybe it's not important) with 8 cores and 64GB RAM and my HTTP server becomes very slow when it reaches between 250 and 300 simultaneous ...
0
votes
2answers
18 views

Replicating My Production Environment

I have a CentOS production server that I am currently doing my development on (I know this is awful) I'm bringing on some new developers and I want to set up appropriate development, staging and ...
0
votes
0answers
43 views

Domain routing to incorrect domain on Digital Ocean server

I have 2 sites hosted on my LAMP droplet. The subdomain.domainX.com site is routing to domainY.io I have 4 configuration files in my /etc/apache2/sites-available: default, default-ssl.conf, ...
0
votes
0answers
36 views

Clarification on Tinc VPN Configuration

I've been looking at docs like the tinc manual and Arch's tinc wiki page and am still somewhat mystified as to how to configure my setup. The hosts (all Arch or Debian linux or rooted Android) to be ...
-3
votes
1answer
56 views

Increasing server upload speed tricks [closed]

Server : IBM X3630 CPU : 2x Intel Quad Core E5620 (8265 point) RAM : 16GB DDR3 Hard Disk : 4x300GB SAS 15k Bandwidth : 10 TB Uplink Port Speed : 1 x 1000Mbps Full-Duplex With above features my ...
0
votes
0answers
49 views

Multiple upstreams and nginx subdomains not working

I am trying to setup a subdomain in nginx which proxies and calls a webserver running behind. I am trying to do api.mywebsite.com. I have the following nginx.conf file. user nginx nginx; ## ...
1
vote
2answers
319 views

Using ansible to add users' public keys to one user's authorized_keys file

Trying to add two people's Github public keys to a user's authorized users file. I am able to successfully retrieve the SSH keys: --- - hosts: 127.0.0.1 connection: local vars: my_users: ...
0
votes
1answer
48 views

How to specify exceptions from wildcard settings in a logrotate configuration file?

For my logfiles I have the problem of all but one (or a few) files use the same configuration, while the rest has another one. I tried to realize this by giving a general configuration for all files ...
0
votes
2answers
126 views

Docker (systemd) ignores change of default directory (docker.service)

I want to deploy docker on a server, but I want all docker-related data to be in a separate partition from the base system. I have thus mounted said partition at '/srv' and made the following changes, ...