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
vote
1answer
14 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 ...
0
votes
0answers
13 views

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
45 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 ...
0
votes
0answers
10 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 ...
-2
votes
0answers
44 views

Proper network configuration on WAN interfaces [on hold]

I am curious about how this configuration works. The final result (by me): When I ping from PC0 to PC1 I get a response. I left the RIP empty for each router and I could still ping PC1 from PC0. ...
0
votes
1answer
9 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
25 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
36 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
64 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
6 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
28 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
44 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
29 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
31 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
0answers
30 views

Can I use named location with proxy_pass?

I configured webdav location in my nginx.conf file. I thought to make it as named location since it's for internal use. But looks like I can't use named locations in proxy_pass directive. Is it ...
-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
48 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
60 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 ...
0
votes
0answers
7 views

what is the value for setting a hostname in installation of oracle enterprise linux r6u5 should have? [migrated]

I am installing oracle linux r6u5 for my personal use in vmware workstation. While going through installatio i came to a point where I have to enter hostname, format specified init is ...
1
vote
1answer
60 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
26 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
41 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
16 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
40 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
74 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
26 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
10 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
53 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
52 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
68 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
54 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
108 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
17 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
40 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
33 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
51 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
44 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
1answer
194 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
39 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
100 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, ...
0
votes
0answers
38 views

PHP & MySQL config for IIS server under heavy load

I am running a PHP/MYSQL website on Windows Server 2012 using IIS 8. I had performance issues on my old server with the CPU spiking above 100% during peak times. So I've just upgraded my server to a ...
1
vote
1answer
34 views

Is there any way to disable an ISAPI filter at the application (NOT site) level in IIS 7.5?

We have a number of applications running under a single IIS site, but one needs to run in a 32-bit application pool due to an old library it uses. However, we can't currently do this because there ...
2
votes
0answers
53 views

Nginx Server break images on web browser after refreshed 3 to 4 times

Hi I am in very confusing state now. I have configured Nginx 1.6 on Centos 6 for serving only Code (js, css, html) pages all other images coming and calls happened through load balancer. My problem ...
0
votes
0answers
29 views

Supersede the default Apache config on a different config file

I'm using Ubuntu with Apache 2.4. The config file for Apache is found at /etc/apache2/apache2.conf at the end of this config file it's written # Current File: /etc/apache2/apache2.conf <Directory ...
0
votes
1answer
29 views

nginx: default_server directive not respected

I have multiple files each with a config for a different vhost. On one of these config files (included in the main nginx config file) I set the default_server directive: server { listen ...
0
votes
0answers
74 views

Changing status code from proxied backend server with nginx

I am proxying some paths to another server. That server responds with 302 Moved Temporarily. I need to change that particular status code to 200 OK. Otherwise I can pass response through as-is and ...
2
votes
1answer
24 views

Nginx config to redirect to $URI

I have a problem with nginx. If you call "example.com" or "example.example.com", nginx redirects it to "www.example.com" like I want without a problem. But it doesn't redirect if I enter an URI like ...
0
votes
0answers
52 views

Extracting Check Point firewall configuration to XML

I need to extract Check Point firewall configuration (roles, management definitions, logs policy and much more) into a readable .XML file. I know that Check Point has a visualization tool, but i ...