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
1
vote
0 answers

How do I get mod_userdir to work without a trailing slash?

(My apologies if this is in the wrong place or has already been asked.) I've just set up an Apache webserver and am having headaches with UserDir and trailing slashes. The UserDir directive is just: UserDir public_html And it works for…
1
vote
3 answers

MySQL slave reporting incorrect values for Seconds_Behind_Master

I have a MySQL slave that when it is 0 seconds behind the master, it correctly reports 0 Seconds_Behind_Master. However, if it gets even 1 seconds behind, it reports 14401 Seconds_Behind_Master (which is 4 hours and 1 second behind). The unix date…
1
vote
3 answers

How do I sync configuration between my ubuntu servers? And how do I automatically restart services when their configuration changes?

First of, I'm fairly new to this whole linux thing... So be gentle. The setup: I have a couple of Ubuntu servers... A pair of DNS servers running Bind, and a pair of servers running Nginx and HAProxy to load-balance requests to some back-end…
1
vote
1 answer

Apache subdomain redirect with subdomain representing parameter in URL

I am looking at updating my htaccess file to control a subdomain being created. I am having issues with a few things. Firstly I am setting up the domain where http://m.domain.com/ and that is directing to http://www.domain.com/mobile.php/mobile I…
1
vote
1 answer

Apache/PHP Configuration question - Where else can info.php be disabled besides php.ini?

Sorry for the bone head Q. but I rarely need to reinstall my server :) I wish to enable phpinfo() function. My php.ini config file has the disable_functions directive blank--which I understand is the way to turn this feature off. Except this…
xtian
  • 321
  • 3
  • 15
1
vote
2 answers

Configure apache virtualhost to not accept php requests

I'm setting up a virtual host in apache just for static files. Therefore I'd not add a php handler, which is fine. However, is it possible to configure the virtualhost to accept only jpg, gif and png requests or at least throw 404's for any php file…
1
vote
1 answer

How to give PHP permissions to write to files without globally opening up permissions to the directory

I'm running Centos 5.5. I need to create / write some files with a PHP script. The script only works if I have the permissions of the directory in which the files are to be created / written set to writable for everyone, ie: chmod a+w…
Joe
  • 201
  • 1
  • 4
  • 13
1
vote
1 answer

vLANs from Switch SMC 8748M to Dell PowerConnect 6248

I currently have a stack of SMC 8748M switches (total of 4). I'm using 2 VLAN on it (1 and 2). What I have so far : a trunk between SMC and Dell switches, (2 ports trunk). When I put a single port on a vLAN #1 on Dell switch, it is not…
David
  • 103
  • 1
  • 3
1
vote
2 answers

Performance on httpd.conf and/or php.ini files: Generic Comments?

Can anyone verify that there are performance reasons to exclude the "generic" comments from either httpd.conf or php.ini? Personally I find the admonitions and associated clutter to be more distracting than anything else, but I can't imagine that…
OldTroll
  • 1,686
  • 2
  • 12
  • 18
1
vote
1 answer

Limiting HTTP methods in Apache2

I have a default Apache installation on Ubuntu 10.04. I use the following Nmap scan to determine the available Apache methods: nmap -p80 --script=http-methods 192.168.1.66 The result is: http-methods: GET HEAD POST OPTIONS I'm trying to eliminate…
lisa1987
  • 881
  • 1
  • 9
  • 17
1
vote
1 answer

Outlook Addin Best Practice - Where to store the configuration when you deploy the addin from a server?

I've seen some posts about this, but i have a specific requirement. What is the optimal solution to save the configuration for an Outlook (2007/2010) Addin when you want to also make sure that the configuration can also be automatically deployed…
Steve
  • 111
  • 1
1
vote
1 answer

Accessing public files in a modularly structured web application

I know that it is a good idea to store php application code outside of public folder but it creates a problem. Let's say, we would like to create a completely modular structure like this one: modules shop css js images …
JustAMartin
  • 231
  • 1
  • 18
1
vote
2 answers

MS-SQL Which files on which drives?

I'm quite a novice at configuration of MS-SQL so would appreciate some advice. I've got a Dell PE2950 Twin Quad Xeon server with 32GB RAM running MS-SQL 2008 Web Edition. The drives are 4x73GB SAS RAID 6 and 2x160GB SSD RAID 0. Given that I cant…
1
vote
2 answers

Make a repository of an entire partition?

I like to have a good backup from my small debian server. Would it be a good idea to make a repository at "/"?
1
vote
2 answers

What does it mean to setup Postfix as “SMTP only”?

I am trying to setup Postfix a few different domains on a virtual host. I need to have email setup just to send out registration confirmations and new password requests. No one will have a mailbox on this server. It seems this means that I want to…
BryanWheelock
  • 205
  • 1
  • 3
  • 7