Questions tagged [configuration]

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.

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.

A configuration file is usually a text file associated with a specific software which describes the initial settings of the software. Some applications provide tools to generate configuration files.

Some computer programs only read their configuration files at startup. Others periodically check the configuration files for changes. Users can instruct some programs to re-read the configuration files and apply the changes to the current process, or indeed to read arbitrary files as a configuration file. There are no definitive standards or strong conventions.

2704 questions
10
votes
3 answers

Managing iptables with Puppet

The idea of managing our iptables rules with Puppet has been brought up. I see that augeas has an iptables lense but it is currently experimental. Does anyone have any suggestions as to how to handle this? Ideally, I'd like to construct the chains…
Belmin Fernandez
  • 10,799
  • 27
  • 84
  • 148
10
votes
7 answers

Postfix Configuration problem (domain of sender address does not exist)

I am setting up a linux server that I want to send mail independently of our main mailserver (ie. directly). The problem is, when I send mail to an external address, it bounces with the message domain of sender address does not exist. (it is…
Brent
  • 22,857
  • 19
  • 70
  • 102
10
votes
5 answers

Is it safe to open port 3306 in Firewall for external MySQL Connection

I want to connect to a MySQL DB that is hosted with an ISP using something like TOAD, Navicat or HeidiSQL. I was told by the ISP that MySQL is listening on port 3306 but the hardware firewall is not allowing outside connections to access (only…
Don
  • 213
  • 1
  • 2
  • 6
10
votes
2 answers

Viewing complete computed Apache httpd configuration?

Is there a command / tool to generate the computed configuration that Apache httpd is using? I know I can manually go through the httpd.conf and other configuration files, but is there a standard tool to generate a configuration of all included…
jamiebarrow
  • 201
  • 1
  • 6
10
votes
1 answer

apache on centos 5.6 gives me permissions denied error

I'm running apache on centos 5.6 and whenever i try to load a php script in any directory, other than /var/www/html (the apache default root dir) it gives me a permissions denied error. However when i check the permissions of my new root dir…
koeder
  • 223
  • 2
  • 9
10
votes
6 answers

Inconsistent trailing slash in DOCUMENT_ROOT variable in PHP when using Apache

In different server environments, the PHP $_SERVER['DOCUMENT_ROOT'] super global sometimes has a trailing slash and sometimes it does not. I would have thought this issue is directly related to how the Apache DocumentRoot is defined in the…
Tom
  • 4,277
  • 11
  • 42
  • 52
10
votes
2 answers

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 Dec 1994 16:00:00 GMT" (I don't want this…
Jakob Borg
  • 1,453
  • 1
  • 10
  • 13
9
votes
1 answer

Apache 2.2 redirect all but one directory

I have this in my httpd.conf file: ServerName example.com Redirect Permanent / https://example.net/ This is successfully redirecting everything formerly at http://example.com to its new…
FKEinternet
  • 291
  • 2
  • 4
  • 11
9
votes
1 answer

Meaning of ssl_ciphers line on nginx.conf

What is the meaning of the following line from an nginx.conf file? ssl_ciphers HIGH:!aNULL:!MD5; I know the ssl cipher is specifying which algorithm to use to secure the server communication and I'm assuming !aNULL and !MD5 is specifying to not…
nobody
  • 201
  • 1
  • 2
  • 7
9
votes
2 answers

Nginx Site Config Templates and Variables

Hi I am looking to set up a simple nginx config, I read you can set variables using set $variable content; but so far I've had no luck... Below is what I have come up with so far/what I am trying to achieve: server…
Alexander Holman
  • 245
  • 1
  • 2
  • 10
9
votes
1 answer

Can someone explain nginx conditional flags? (-f, -d, -e, etc)

I'm in the process of migrating from Apache to nginx and have used http://winginx.com/en/htaccess to migrate the rewrite rules. I'm trying to understand what the translated ones mean though and I can't find any documentation on it. Here's an…
9
votes
4 answers

OpenWrt Configuring Tagged and Untagged VLAN on the Same Port

I have installed OpenWrt on a MikroTik Routerboard RB750UP (AR7240 CPU with AR9330 built in switch). I have included additional details below, but my question is: How do I configure an untagged and tagged vlan on the same port? I have successfully…
user173470
  • 91
  • 1
  • 1
  • 2
9
votes
4 answers

Debian - What to do when upgrading packages and a config file has changes?

I'm new to system administration and I'm helping admin a server for a student group. I was wondering, what is the best practice for when you're upgrading packages and a config file has changes. I've been looking at the differences and then usually…
Ibrahim
  • 394
  • 5
  • 12
9
votes
2 answers

Exim 4.71 does not add DKIM signature to outgoing emails

I am trying to add DKIM to my domain, I have created a key, added the following to /etc/exim4/conf.d/transport/30_exim4_config_remote_smtp: dkim_domain = mydomain.com dkim_selector = mail1 dkim_private_key = /etc/exim4/dkim.key Restarted exim…
firedev
  • 191
  • 5
9
votes
8 answers

Nginx phpmyadmin redirecting to / instead of /phpmyadmin upon login

I am having issues with my phpmyadmin on my nginx install. When I enter /phpmyadmin and logs in, I get redirected to /index.php? instead of /phpmyadmin/index.php? Nginx config file: user …
Frederik
  • 3,359
  • 3
  • 32
  • 46