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
0answers
8 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
3k views

Can I regenerate the rsa key for SSH access to a Cisco router? Or should I completely erase the SSH config?

I have a production 2691 that I administer via telnet. I'd like to change that to SSH. Looking at the config, it looks like there have been keys generated in the past. I think the history here is ...
0
votes
1answer
9 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
10 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 ...
-1
votes
0answers
7 views

Php-fpm pools configuration for multiple websites in Centos 7

After following this tutorial for installing Lemp on Centos 7, I decided to host multiple sites on the same Virtual Server. Using Nginx i created a server block for each site, and everything worked ...
0
votes
2answers
2k views

How does samba usershare_acl parameter works?

Looks like it is not even documented on the samba website itself, or did I miss it?
4
votes
2answers
3k views

Can't successfully run Sharepoint Foundation 2010 first time configuration

I'm trying to run the non-GUI version of configuration wizard using power shell because I would like to set config and admin database names. GUI wizard doesn't give you all possible options for ...
0
votes
1answer
17 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
19 views

Truly dynamic configuration files [closed]

There is this nice feature in Ansible, which runs a dynamic inventory script Upon detecting the execute permission on the file. Is it possible to create similar solution for other configuration files ...
3
votes
1answer
434 views

Postfix - how to redirect email after they are rejected?

I have a problem with spam and postfix + postgray. Generally it works fine, but I have these problems: false-positives. good emails get rejected. Can I configure postfix (and postgray) so that ...
0
votes
1answer
45 views

How to setup IIS to use it for our intranet site?

I am new to IIS and have a Windows 2008 R2 web server called MYWEBSERVER. I have a new website called foo. I want to deploy to it and I want to know how I can deploy it so that it can be accessed like ...
0
votes
0answers
13 views

CLI tool for setting configuration options across projects [closed]

I need to setup multiple servers and for each I have to change some configuration options and add some new options. Is there an easy way to state that a given config file should have certain values ...
5
votes
3answers
2k views

Creating a fallback error page for nginx when root directory does not exist

I have set up an any-domain config on my nginx server - to reduce the amount of work needed when I open a new site/domain. This config allows me to simply create a folder in /usr/share/nginx/sites/ ...
0
votes
0answers
11 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
0answers
12 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
3answers
2k views

Centos MySQL optimization 4gb ram

I am using Centos 6 64bit on vps with 4gb ram. 1 wordpress website and 2 wallpapers script websites. Wordrpess have 10k visits daily. Site is slow. My.cnf # Example mysql config file for large ...
1
vote
1answer
22 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 ...
2
votes
1answer
29 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
18 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 ...
7
votes
5answers
11k views

How to parse and convert ini file into bash array variables?

I'm trying to convert an ini file into bash array variables. The sample ini is as below: [foobar] session=foo path=/some/path [barfoo] session=bar path=/some/path so these become: ...
-1
votes
1answer
21 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
22 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
31 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
27 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
18 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
48 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
1answer
16 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
17 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
34 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 ...
1
vote
2answers
86 views

Development Environment Sprawl

Development --> Staging --> Production A pretty typical workflow. This is fine. "Fine, you want a 'Beta' Environment to show off stuff to some users/customers that isn't quite ready for ...
0
votes
0answers
22 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 ...
1
vote
1answer
2k views

VCL - configuration for Magento and Varnish 3.0.2

I would like to kindly ask if there's someone who can help me configure Varnish for Magento to reach far more hits. My current ratio from varnishstat is: cache_hit=271 cache_miss=926 I'm kindly ...
0
votes
1answer
23 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 ...
-1
votes
1answer
61 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 ...
0
votes
1answer
3k views

Change server on sap client

I have a SAP business one 8.0 installed on my Windows server 2003. It uses sql-server express 2005 for the database. Then I installed the client on another PC. How do I configure the client so it can ...
0
votes
0answers
22 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
1answer
17 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
0answers
23 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
0answers
21 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
1k views

Apache configurations for php “AddType text/html php” or “AddType application/x-httpd-php php .php”

I am taking over an application server and discover that it contain the following settings: AddType text/html php Although it works, but my understanding is that it should set as following: ...
1
vote
3answers
2k views

How do I troubleshoot a page not found error when configuring IIS6 Windows Server 2003?

I have configured IIS6 in my windows server 2003 with this link: http://www.simongibson.com/intranet/iis6/ After that I create a new web site inside Web Sites directory. Inside the physical path I ...
1
vote
0answers
19 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 ...
6
votes
2answers
3k views

How can I disable the “Do you want to allow this website to open a program on your computer?” warning for a specific program/moniker?

I've been playing with new URL monikers in Windows for a utility I'm working on. When I run the new URL from Start > Run, it just runs. If I send the URL to myself via Notes or enter it into the IE ...
0
votes
1answer
34 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
4answers
4k views

Issues with nginx autoindex

I am trying to set up nginx so that a certain url produces the directory index of a certain directory on my server. Currently this is what my default.conf looks like. location / { root ...
31
votes
3answers
28k views

Command to check validity of Apache server config files

Im looking for a command that checks the validity of the config files in apache server (both Debian and RHEL distros - need to do it prior to restart, so there will be no downtime). I cant quite ...
1
vote
1answer
1k views

Can't setup 3 nodes MongoDB recplica set

I just follow instructions in MongoDB document Replica Sets - Basics to setup a 3-node Replica set. Everything goes fine when I do the initiate and add first node in the primary. [foo@host-a ...
1
vote
1answer
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 ...
3
votes
0answers
61 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 ...