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

0
votes
1answer
35 views

Which config values is apache loading?

I ran in some trouble today after spinning up a new server. I did the following: Installed CentOS 7 Installed Apache + PHP Securing my server with SSL (letsencrypt) But when I checked my ...
0
votes
1answer
57 views

HAProxy config file error using req.cook

I'm following this tutorial (more or less) in an attempt to use haproxy for a quick-and-easy A/B testing setup, and haproxy doesn't like my config file for some reason that I just can't identify. ...
2
votes
1answer
165 views

Nginx aliases and proxy_pass

I'm using nginx as web front-end and apache2 as web back-end. Apache runs several websites locally and nginx access them. At the moment, different sub-domains are hosted, but I want to migrate them ...
0
votes
0answers
19 views

Cisco catalyst network module 3850-nm-4-10g link is off

I am going through the installation guide for the cicso module referenced above and It says if the leds are not on that "link is off". It doesn't say what this means or what causes this. Is it just a ...
1
vote
1answer
63 views

Trouble Shooting errdisabled Cause

I have a Cisco Catalyst 3850. I added a network module with 4 gbic for fiber connection. The module is not showing any lights on either side of the connection. After the searching the depths of the ...
1
vote
1answer
122 views

How to specify several variables in the map directive of nginx

Well I have a slightly different question than this one: I don't want to map two variables at the same time, I want to map one variable using two others as parameters. Indeed I have read in the ...
0
votes
1answer
18 views

Correct Format to Eval in an Apache 2.4 String in the Config File

I've read the documentation on Apache 2.4 Expr, but can't get it to work in the config file. Can someone give me an example of how to format the expression inside a string? The docs say the following ...
0
votes
2answers
71 views

Nagios define service for nrpe command in Windows environment

I'm trying to configure Nagios to monitor our network which is all Windows based. I'm totally new to it, so please forgive my naiveness. Fact is: I'm banging my head over a task. What I want to ...
1
vote
1answer
30 views

Monit sshd binary Checksum Check and Restart

I'm going over a monit config file and something doesn't seem right. I'm using monit to monitor the checksum of the sshd binary, if its different from whats expected it should reload a known binary. ...
2
votes
1answer
56 views

Under what conditions do I need to restart the Samba (smb) service?

This has been a long standing issue, and it would be nice to have an authoritative answer: Under what conditions do I need to restart the Samba smb service? I've had situations where I'd make a ...
0
votes
2answers
88 views

Installing libevent extension for php on Centos

How to install the libevent extension for php on Centos 7? I spent many many hours trying this, googling many times and really really struggled, so I'm going to document my own answer to this in the ...
-1
votes
1answer
87 views

Configure proftp ftp server on debian so that a user can only upload and does not see the files

I installed and configured proftp on Debian using this howto and it works nicely. Effectively, the changes to the config are: [...] UseIPv6 off [...] <Global> RootLogin off ...
0
votes
1answer
115 views

Cannot open config file when installing nagios

When trying to setup nagios, I'm running into some errors. Error: Cannot open config file ‘/usr/local/nagios/etc/hosts.cfg ;new file added ‘ for reading: No such file or directory Error processing ...
0
votes
2answers
31 views

Intention of www-data

So I have been wondering what the true purpose of www-data user/group is. Should I include other programmers into this group that will be editing the files in the website root? Should all of the ...
0
votes
1answer
70 views

How to configure tomcat.conf file

After running an update via yum on my CentOS 6.7 server, my Tomcat7 instance has stopped functioning properly. message during update: warning: /etc/tomcat/server.xml created as ...
0
votes
1answer
39 views

Secure ejabberd: protocol options and ciphers setting has no effect

I try to secure my ejabberd by configuring openssl ciphers like this for s2s communication: {s2s_use_starttls, required}. {s2s_certfile, "/etc/ejabberd/mycert.pem"}. {s2s_protocol_options, ...
0
votes
2answers
64 views

Nginx proxy_pass not normalising URL

I have the following config for an angular frontend on / and a node.js backend on /api/: server { listen 80; server_name example.com; location / { root /home/ubuntu/www/admin; ...
0
votes
0answers
11 views

One web application with a lot of web configurations

We have a web application, installed several times on different servers each time with a different configuration file. These configurations files change the behavior of the web application and right ...
1
vote
3answers
111 views

Nginx: Access same content from multiple URLs

I'm trying to configure nginx so that the same static content can be accessed through two different URLs without any redirects. For instance, if the client enters /path/to/A in their browser, I want ...
1
vote
0answers
95 views

Monit “check program” and restart based on exit code

When I use check process, monit will start the program I define under start program then monit will restart it if it stops. But when I use check program monit will not automatically start it. If the ...
1
vote
2answers
25 views

In an apache ServerAlias directive, what does a question mark mean?

Apache's documentation says: The ServerAlias may include wildcards, if appropriate. and The wildcard characters * and ? can be used to match names My colleague claims that the question ...
0
votes
0answers
50 views

How to restore with Duplicty if Temp space has 0 available?

Normally this command works properly for restoring: duplicity restore -t7D --file-to-restore folder/to_restore file:///where/is/the_backup/ /where_to_restore --no-encrypt But today I am having this ...
0
votes
1answer
180 views

Preloading Strict Transport Security (HSTS)

I configured my webserver to use Strict Transport Security (HSTS). I more or less used a configuration as in this manual. But I get the following in my SSL-report if I run a test on Qualys SSL LABS: ...
0
votes
0answers
22 views

Remove IIS configuration setting using AppCmd without clearing the entire section

I am using the following appcmd to add an autoStartProvider to the list of autoStartProviders: appcmd.exe set config -section:system.applicationHost/serviceAutoStartProviders ...
0
votes
1answer
37 views

What is the correct way to generate /etc/audit/audit.rules on Centos7?

At the top of /etc/audit/audit.rules on Centos7 it tells me: ## This file is automatically generated from /etc/audit/rules.d Okay, so I went and looked, and found /etc/audit/rules.d/audit.rules. It ...
2
votes
1answer
41 views

Security implications when only allowing logins via key and UsePAM setting is 'yes'?

When setting up a new server, I generally want to allow logins only via key authentification and not from the root user. Therefore, I edit the sshd_config like this: I change 'PermitRootLogin' to ...
1
vote
1answer
25 views

Nginx config subdomain exhibiting strange behaviour

I've got two identical droplets running on digital ocean. Both running Ubuntu 14.04 with nginx, gunicorn and Django. I am trying to park a subdomain of mine onto the IP of one of the droplets. On the ...
1
vote
1answer
21 views

Using DocumentRoot as a variable in other sections of Apache config file

Is there a way to use the DocumentRoot as a variable in further sections of a site's config file in Apache? Something as below: DocumentRoot /var/www/myNiceRoot <Directory ...
-1
votes
1answer
26 views

Change URL in Nginx Config

How can I change url to go to only one location rather than request coming from. URL : www.example.com/blog is going to /var/www/blog (which is correct) www.example.com/blog/abc should go to ...
0
votes
1answer
45 views

Wordpress Subfolder issue with Nginx Configuration

I am using wordpress and it's a multi-site subfolder config. - www.xyz.com is pointing to /var/www/project (Working) - (Wordpress blog) www.xyz.com/blog is pointing to /var/www/blog (Working) - ...
0
votes
1answer
51 views

Multi-site Subfolder Nginx Configuration

I have Nginx server. Currently, I have two projects: www.xyz.com -> /var/www/project/public; (This is working) www.xyz.com/blog -> /var/www/blog; (Error: This webpage has a redirect loop) How can ...
-1
votes
1answer
49 views

NGINX wont start: localtion directive is not allowed

Nginx is not starting or restarting, and gives the error: "nginx: [emerg] "location" directive is not allowed here in /home/admin/conf/web/nginx.conf:100". I understand that this is because a ...
0
votes
1answer
28 views

How can I query rsyslog settings?

I am using rsyslog for program logging and system logging so I have unified log files. I'm having some messages dropping out and I'm not sure why, but I think it may be a configuration option set ...
0
votes
1answer
35 views

Adding a new node to a Cassandra deployment

I have a basic Cassandra deployment that contains a single node. I want to add a second node to the deployment, and I want clients to have access to the same data regardless of which node they happen ...
0
votes
1answer
222 views

Have rundeck run on port 80

By default, rundeck runs on ports 4440 / 4443. Now, for security reasons which really ought to be obvious, I don't want this sensitive service binding to high-numbered ports. Once HTTPS is set up, ...
0
votes
0answers
31 views

Postfix: I've misconfigured my virtual forwarding, VIRTUAL@com.com is getting my email

So I've setup postfix for say me@example.com, I then forward emails to that address to my gmail as I don't want to store them on the vps. My /etc/postfix/virtual has equivalent; me@example.com ...
0
votes
1answer
32 views

Modsecurity Ignore/Whitelist IP

I have looked around on the net and have seen many common answers for this , however, none of them are working. I am trying to use this to ignore whenever our scans kick off in the morning. SecRule ...
0
votes
1answer
50 views

Apache SSL virtual hosts sharing same DocumentRoot

I have a web server with two domains pointing to the same document root. I have separate SSL certs for the two domains. I want (almost) everything that comes to the site(s) to run under SSL. All ...
0
votes
1answer
35 views

MySql ignores memory settings

I'm using MySql community server 5.6 on Ubuntu 15.04, I have /etc/mysql/my.cnf (no other config files). I've made changes to it and restarted MySql. When I use such query SELECT @@key_buffer_size ...
0
votes
0answers
105 views

How to use mosquitto_sub with `require_certificate false`?

My mosquitto 1.4.7 broker is configured like this: cafile /etc/mosquitto/certs/My-Sub-CA-chained.crt certfile /etc/mosquitto/certs/mosquitto.crt keyfile /etc/mosquitto/certs/mosquitto.pem ...
0
votes
0answers
60 views

Problems with Switch DGS-3420-26SC

I have a new SWITCH DGS-3420-26SC. Look at situation: On the first SWITCH Dlink DGS-3100-24TG, i have three VLANS: VID 99,132,100 99 this is our SERVICE VLAN; 100 this is VLAN of the neighbours ...
0
votes
1answer
21 views

Uniquely identify DiskStation in email report

I'm administering multiple DiskStations, each of which sends out all its status reports to me. Unfortunately, in the default configuration all of these emails look the same and I often have a hard ...
0
votes
1answer
133 views

Apache 2.4 Unrecognized header format %

Using Apache 2.4 and followed the examples here https://httpd.apache.org/docs/2.4/expr.html Here is my code <If "!%{REQUEST_URI} =~ m#files/cache/static/[A-Za-z_\-0-9]+.cache#"> Header ...
-1
votes
1answer
81 views

G-WAN: “no listener” error after installation on Ubuntu Server 14.04 with XFS filesystem

I'm desperately trying to start G-WAN since two days without any progress, so please let me now ask for your gentle help because I'm becoming (more) crazy ! Here is the log after a start with ./gwan ...
1
vote
0answers
47 views

Nginx / git / fastcgi server not working

I set up all the needed components for a Git server on Nginx using FastCGI and followed the combined suggestions of a few tutorials to end up with this configuration: server { listen 80; listen ...
0
votes
1answer
71 views

How to test conditions in apache configuration?

I want to test a configuration in apache. How can I "debug" the configuration file ? For example, let's say that I have : <IfModule mod_geoip.c> GeoIPEnable On GeoIPDBFile ...
0
votes
1answer
71 views

Configure squid to forward ftp requests to ftp server on some other machine

I have installed squid proxy servers and vsftpd FTP server on 2 separate VMs. How can I Configure squid proxy servers on machines-A (where squid installed)to forward ftp requests to machine-B (where ...
3
votes
0answers
145 views

Latency (wait ttfb) on EC2

My application is crawling a website. I use this crawler : https://github.com/rfussien/leboncoin-crawler On my dev environment, the latency is acceptable (3-4 sec) but on my prod server (ec2 ...
0
votes
0answers
52 views

Create user-transparent location block in nginx only if directory exists

I have a directory that sometimes exists and sometimes does not. If requested and existent, all files in it should be made available, e.g. like this location /my_dir { root /other/www/root } Thus ...
3
votes
1answer
36 views

Automatically assuming master for several zone files

Now that I'm moving my main server, I'm spending some time refining and simplifying some of its setup, and it has now come to the DNS server (bind 9.9.5 in the new setup). I noticed that in my ...