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

2
votes
2answers
137 views

Basic auth Apache with Tomcat

I have the following server setup: Apache Tomcat 7 running Atlassian's Jira (http:// <server-ip>:8081/tickets) Apache 2.4 web server as reverse proxy serving only the jira application at the ...
0
votes
0answers
68 views

Nginx + Php-fpm stuck High Traffic & not all cores are used

My website has a hight traffic up to 8k online users on Google Analytics but from time to time (30-40min) i have to restart php-fpm because it get stuck and the traffic from analytics begin to ...
0
votes
1answer
279 views

ProFTPd configuration mod_auth_file cross folders with different rights in groups

I have decided to use mod_auth_file, and made AuthGroupFile and AuthUserFile but each user points to own home directory /home/username as described in AuthUserFile. How to get server to work in ...
0
votes
1answer
44 views

Salt: Read property file into Postgres database

I have a Salt script that, among other things, initializes a Postgres database. After initializing the database, I want to read some properties from a file, and do an INSERT (into a configuration ...
0
votes
0answers
14 views

Centralized management of app.config parts for self-hosted .NET services

What will be the best way to handle these scenarios, if they are not one-time, but regular: Self-hosted services on a quite a bunch of machines are needed to be repointed to different database in a ...
1
vote
2answers
2k views

Horde complains for conf.php

I have a minimal Debian 7 box and install Horde from this instructions: https://wiki.debian.org/Horde. Request on http://localhost/horde gives A fatal error has occurred This system is currently ...
0
votes
1answer
2k views

The mod_negotiation seems to be enabled, but .php files without extensions return 404

I have the following problem - after moving to a new platform PHP files aren't found unless URL contains their extension. So, if /var/www contains file problem.php, the URL http://localhost/problem....
-3
votes
1answer
229 views

Configuring nginx to use default port and index [closed]

I am brand new to nginx and have it running on a VM (mynginx.example.com) and successfully serving back some static content. So far so good. However, it appears to be configured so that you need to ...
0
votes
2answers
17 views

Downstream IBM Httpd Server returns 404 only when accessed through another upstream IHS web server

We have a current setup like the following: HTTPServer - IBM HTTPD Server v? WASServer6.1 - WebSphere Application Server v6.1 (Running App "A") The basic communication is as follows on the listed ...
0
votes
0answers
93 views

Postfix, allow specific users to send to selected domains

I'm looking into whether it is possible to allow specific users(senders) to send to a given email address. This is to be used, so that only the management can mail all@domain. I have looked into the ...
5
votes
1answer
1k views

postfix TLS configuration for incoming gmx-mail

I set up my mailserver with postfix 2.7.1 and dovecot 1.2.15 and everything seemed to work just fine, but now I found out that people using @gmx.net addresses cannot send emails to me and rather ...
1
vote
1answer
107 views

nginx: [emerg] “server” directive is not allowed here in /etc/nginx/sites-available/default:16

I am new to linux + nginx. I've installed nginx and tried to do some modifications in ~/sites-available/default file but forgot to make a backup of this file. So, now I get following error: nginx: [...
-1
votes
1answer
53 views

Host two apps on Nginx and Apache using same port and IP

I have a Rails app (example1.com) host on a Nginx server using the following configuration : server { access_log off; passenger_enabled on; client_max_body_size 5M; listen 10.10.10....
0
votes
0answers
1k views

Cannot reset base url in apache server

I just uploaded my project on an apache server. I use angular and I set the base url in my code like <base href="/nik/awesome/"> my project is single page application, I set the routes like ...
29
votes
7answers
43k views

How do I run a local bash script on remote machines via ssh?

I am looking for a way to push configuration from one central machine to several remote machines without the need to install anything on the remote machines. The aim is to do something like you ...
0
votes
2answers
226 views

HAProxy: use_backend ignored because backend has no frontend capability

I have an HAProxy config file that's being built programmatically and I'm getting an error like the following for every single backend that's defined: [WARNING] 073/153725 (1663) : parsing [/etc/...
1
vote
1answer
27 views

Nginx point subdirectory to root

How can I point www.domain.com/ru/ to open the content of www.domain.com/ ? Not a redirect. I have tried alias and root but can't figure how to make it work. Thank you.
0
votes
0answers
1k views

How to configure each location point to a seprate upstream in nginx

How to configure each location point to a separate upstream in nginx? I need functionality like this. www.mysite.com --> 127.0.0.1:9900 or upstream. www.mysite.com/serviceA --> 127.0.0.1:9901 ...
2
votes
1answer
220 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
14 views

How to configure virtual host to stop foreign domain traffic [duplicate]

In the question How can I stop someone from displaying my website on his domain? someone suggests a solution using virtual host configuration. Can someone indicate how to configure virtual host ...
3
votes
2answers
58 views

Apache Virtual Hosts (Ubuntu) ponting to wrong document root

I'm trying to setup an Apache server with several virtual hosts (www.domain.com & store.domain.com), but for some reason, when I just have one of them enabled (store.domain.com) Apache redirects ...
107
votes
3answers
54k views

ssh hostname returns “Bad owner or permissions on ~/.ssh/config”

When I try to ssh to another box, I get this strange error $ ssh hostname Bad owner or permissions on ~/.ssh/config But I made sure that I own and have rw permissions on the file: ls -la ~/.ssh/ ...
0
votes
0answers
56 views

Why Redis Sentinel can't manage 2 master servers?

I'm trying to configure Redis to have a master in each of our two main data centers. But the second Redis master keeps being demoted to slave of the first sentinel array. My version is 3.0.5. In each ...
0
votes
1answer
94 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. ...
4
votes
2answers
7k views

Apache redirect and set cache headers?

Doing a redirect in Apache is easy (mod_alias): RedirectMatch ^.*$ http://portal.example.com/ Setting cache headers is equally easy: Header set Cache-Control max-age=0 Header set Expires "Thu, 01 ...
0
votes
1answer
179 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 ...
8
votes
7answers
14k views

Can't SSH into a Vagrant Virtual Machine

Local Vagrant machine installed at IP address 10.0.0.23 with hostname lamp-vm. Using vagrant ssh command, I can connect just fine and do everything I need. This creates an error $ ssh vagrant@...
2
votes
1answer
2k views

Proftpd configuration to run ftp/ftes ftps and sftp at the same time on different port

I have compile version of proftpd 1.3.4d with ftp, ftps, sftp and mysql authentication. So far I can have working at the same time on port 210: ftp and ftpes and on port 211 the sftp. ServerName ...
1
vote
1answer
3k views

Configuration Error: 'Logon failure: the specified account password has expired.'

My boss just made several Windows updates to our server computer last night and in doing so we can no longer access the server from within the application. I went on the server to try and see what ...
3
votes
1answer
2k views

How to migrate LDAP (database,schema,configuration) to other machine

I'm using openldap 2.4.40, and i need to migrate my existing ldap database, configuration, and schema (basically everything ldap server related) to a new machine. the problem is, I use cn=config ...
0
votes
1answer
37 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 ...
1
vote
1answer
4k views

network configuration (bridging) proxmox

I bought yesterday an proxmox license. All works fine only the network configuration is very complicated. My network configuration: 84.200.50.186 -> hostsystem ip 84.200.50.186 -> VM ip 255.255....
3
votes
2answers
2k views

nginx: Specify custom headers in rewritten location blocks

I'm trying to set some headers only for specific location blocks in nginx. The problem I have is that those location blocks contain rewrite statements, which apparently seem to drop the custom ...
1
vote
1answer
5k views

FTP using VSFTPD “Access Denied”

I'm running Ubuntu 10.04 i386. I use Cyberduck (FTP GUI client) to connect to my server mysub.domainname.com (changed here). This is what I want to be able to do: 1) Change apache2 root from /var/...
0
votes
1answer
49 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 ...
0
votes
0answers
23 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 ...
0
votes
1answer
1k views

Exim4: How to add or rewrite Reply-to: header in outgoing messages?

How can I configure exim header rewriting to take care of forgotten Reply-To: headers in emails leaving our company? We want to have certain Reply-To: headers added to all official emails leaving ...
1
vote
2answers
799 views

PureFTPd is using ports above 50000 even with PassivePortRange specified

I have installed the pure-ftpd package with PureFTP 1.0.24 on Ubuntu 10.04 using apt-get. Even though, this is the default port range, I've added the file /etc/pure-ftpd/conf/PassivePortRange ...
0
votes
1answer
467 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 ...
7
votes
3answers
10k views

How do you conditionally include files in Nginx vhost?

In the lines below, I might have a site-specific configuration file that contains additional fastcgi_params unique to that site. If this file exists I want to load it. server { listen 80 ...
6
votes
2answers
7k views

Custom fail2ban Filter for phpMyadmin bruteforce attempts

In my quest to block excessive failed phpMyAdmin login attempts with fail2ban, I've created a script that logs said failed attempts to a file: /var/log/phpmyadmin_auth.log Custom log The format of ...
1
vote
1answer
232 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
35 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
1answer
20 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
87 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
34 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
57 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
110 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
92 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
197 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 ...