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
1answer
1k views

How to conditionally set php session cookie within php-fpm www.conf?

I need to set PHP session cookie domain dynamically using php-fpm configuration, pseudo code like this: <If "%{HTTP_HOST} !~ /[0-9]/"> php_value[session.cookie_domain] = ".mysite.com" </If&...
1
vote
1answer
427 views

How do I conditionally add the Access-Control-Allow-Origin header for fonts served through an X-Accel-Redirect in nginx

I am trying to serve some webfonts through a PHP script that tells nginx to do an internal redirect using X-Accel-Redirect. As the script serves many types of files, I only wish to add the Access-...
1
vote
1answer
186 views

gitweb refusing to blame

I'm attempting to get gitweb (git 1.8.4.2, via git instaweb) in a project dir on my Debian server to offer blame views. In my /etc/gitweb.conf: … # default logo, favicon, etc. settings $feature{'...
1
vote
1answer
452 views

Can not find Ajenti after installation

I just installed Ajenti to my server, that runs nginx. I have a domain already setted up and everything works, except Ajenti. I added this config to nginx, to reach Ajenti: server{ listen 80;...
1
vote
1answer
695 views

Apache2/glassfish|tomcat: Redirecting some (but not all) requests on 80 to glassfish on port 8080, where is the admin screen?

Using that answer: How to redirect traffic on port 80 to Tomcat port 8080 whilst still allowing the server to send/receive on port 80 I've configured my apache2 server to redirect some requests to ...
1
vote
1answer
126 views

Can not access tomcat's default page

I am quite new to Tomcat. I use win XP. I have installed Tomcat 7.0.3, started it. I have started a browser, go to localhost:8080 and I can see the congratulations page, saying that tomcat is working....
1
vote
1answer
105 views

Server specific usernames for each SSH connection in Chef with Knife

To set a default user for each ssh connection, I would normally adjust my .ssh/config file to Host *.server1.com User joe Host *.server2.com User mike I am now using Chef. The knife tool ...
1
vote
1answer
54 views

Testing rc.d levels

I have a hierarchy of programs running which have a very specific start and stop order. I think I got the run levels set appropriately, but I'm having issues with some of them not working in the order ...
1
vote
1answer
137 views

Recommended Configuration to setup Tomcat 7 on windows OS

I have created a small web application using java/jee which will be deployed in LAN environment. I want to know the recommended hardware configuration. Details are as follows 1) Expected number of ...
1
vote
1answer
159 views

Multiple ServerRoot directives in single apache

i came across a apache httpd 2.2 configuration recently in which multiple ServerRoot-directives were defined, each followed by individual prefork Settings. Sort of like this: ServerRoot root1 <...
1
vote
1answer
765 views

Change properties of tomcat on-the-fly

When we make some changes to .properties file in tomcat, the server should be restarted. The question is why the server needs to be restarted ? What should I do if I want to make on-the-fly changes (...
1
vote
1answer
113 views

how can I git-revise configs in my /etc/ dir? (sudo has different keys..)

I'd like to keep some of the folders in my /etc/ dir git-revised, cause I'm quite new to server administration and am constantly messing around in my /etc/nginx/ and /etc/bind/ directories. I've ...
1
vote
1answer
55 views

Apache sending error file after every request

We've got a problem with my apache2 here, which seems kind of hard to debug... or: to understand in the first place. Our environment is Debian Wheezy + Apache2 + mod_perl + Mason. The problem is, ...
1
vote
1answer
126 views

Backup Plan for Server Down Time

I am looking for a way to avoid as much actual downtime as possible (aren't we all). We have experienced a good deal server overload/problems lately. Our existing setup is as follows (they're Linux ...
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 ...
1
vote
1answer
2k views

SharePoint 2010 Server Configuration Error -> “Cannot connect to database master”

I recieve the following error when I try to configure SharePoint 2010 Server: "Cannot connect to the database master at SQL server at [computer.domain]. The database might not exist, or the current ...
1
vote
1answer
405 views

Tomcat Workers - Connecting Tomcat and Apache

I'm trying to resolve an issue about connecting Apache-HTTPD and Tomcat with mod_proxy_ajp. From reading I found that the problem might be the number of workers in HTTPD and Tomcat. So I try to find ...
1
vote
1answer
56 views

Automated Tests for System Configuration

In software development, i like to do tests. But are there any useful frameworks for automated tests for system configurations? I think like you may be able to test a Backup-MX configuration: - ...
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
494 views

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 ...
1
vote
1answer
485 views

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 ...
1
vote
1answer
610 views

IIS7 hangs on requests while uploading file

I am setting up a small ASP.net application on an IIS 7 server, but I have a small problem. A part of the application is uploading large files using a simple upload form. The problem is that, when I ...
1
vote
1answer
216 views

Help me better automate changes to our static routes

I have been assigned the task of maintaining and configuring my organization's firewall and gateway routers, and I'm looking for some advice on how to manage the static route table. (As context, ...
1
vote
1answer
217 views

Problem in Installing Wordpress

I try to install Wordpress in a Windows Client with WebPI which provided by Microsoft. I had tostop installation process 3 time and installing PHP and mysql Extention manually. but everytime I ...
1
vote
1answer
374 views

Apache outputs all urls of a second domain as a subfolder of the primary domain name

would anyone be able to possibly give me some guidance.. Basically, i have a 'shared hosting' account with a large internet hosting provider, and my account lets me have multiple seperate domains ...
1
vote
1answer
92 views

Windows Server 2003 Synchronize Not Sticking

We have a Windows Server 2003. It had Raid running on 2 disks. One disk failed and the Raid Controller failed. We replaced the disk and controller and restored everything. No data was lost. The users ...
0
votes
1answer
16 views

How do you list all the files managed by `puppet`?

I need to make some changes to a system but I am not sure if the changes I make are managed by puppet or not. So I want to check to see if puppet is managing the files I wish to change. How do you ...
0
votes
1answer
20 views

exim4 checking client certificates always invalid

My exim server is configured to ask for a client certificates when a connection is made. I set up an ACL (at rcpt stage) to log or add a header resp. of the outcome of the certificate check: warn ...
0
votes
1answer
53 views

nginx downloads php instead of processing it

I have been trying to make a simple alias in nginx and the furtherest I could get is to get the server to send me the file. When I visit /xhprof_html in my browser the server asks me to download the ...
0
votes
1answer
35 views

configure nginx log_format in sites-enabled

I have a log_format configuration I want to enable. The thing is that our installation adds a file to sites-enabled (or conf.d) in the nginx directory and we don't touch nginx.conf itself I want to ...
0
votes
1answer
86 views

No internet through VPN server

Recently I've posted almost the same thread on this forum about VPN misconfiguration. Eventually, I've resolved this question just by reconfiguring from scratch the server side, and it started to work ...
0
votes
1answer
27 views

How to stop OpenVPN tunnel if server doesn't response?

I have two openvpn servers, but both routes to the one network. It made for the fault tolerance. If one of them is down traffic should go via another one. Clients receive routes with different metric, ...
0
votes
1answer
32 views

PXE boot cannot find syslinux config file, where is it looking?

I am running a PXE server mock up in VMware Workstation. I have the DHCP and TFTP servers working and I can get my to grab an IP address and boot the firmware for their platform. Where I seem to be ...
0
votes
1answer
57 views

How to disable timeout for nginx?

On a local development machine, I have a nginx reverse proxy like so: server { listen 80; server_name myvirtualhost1.local; location / { proxy_pass http://127.0.0.1:8080; } server { ...
0
votes
1answer
26 views

PostgreSQL configs are ignored

I have a custom postgresql build, that shows the following output on pg_config BINDIR = /var/buildout.webstacks.xwiki/bin DOCDIR = /var/buildout.webstacks.xwiki/share/doc/postgresql HTMLDIR = /var/...
0
votes
1answer
22 views

Putting ELB in from of my ECS Cluster / Service

I’m trying to put an ELB in from of my ECS service, using this terraform file But applying it, gives the below error. Any ideas on the setup that I’ve gotten wrong? $ terraform apply ... ...
0
votes
1answer
22 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
1answer
42 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, ["no_sslv3"...
0
votes
1answer
63 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
1answer
49 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
343 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
40 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
23 views

nginx server directive not allowed here issue (simple code)

I realize there's tons of similar issues like this out there, and I've looked at most of them, I'm building this on a VM for a "prove to myself I can do it" type of thing. running nginx with Ubuntu ...
0
votes
1answer
206 views

Override context-root of ear file in wildfly config

We are using wildfly 8 and 9 in standalone mode to deploy our applications. In front of the wildfly there is a shared apache reverse proxy. The proxy maps /test/ to one wildfly and /test2/ to another ...
0
votes
1answer
152 views

Ejabberd returning 503 Service Unavailable when trying in-channel registration

I've put the following snippet into my ejabberd.cfg, under the modules section: {mod_register, [ {ip_access, "my.ip.add.ress"}, %%% some default rules included ...
0
votes
1answer
1k views

Elastic Beanstalk S3 access via .ebextensions

I have a simple file in my .ebextensions folder: 00-myconfig.config Resources: AWSEBAutoScalingGroup: Metadata: AWS::CloudFormation::Authentication: S3Access: ...
0
votes
1answer
217 views

VSFTPD Cant perform anon uploads. 500 OOPS

I can't get my vsftpd config to allow anon root uploads. $ vsftpd -v $ vsftpd: version 3.0.2 $ cat /etc/vsftpd.conf # Example config file /etc/vsftpd.conf # # The default compiled in settings are ...
0
votes
1answer
145 views

What are the configuration differences between Apache (httpd-2.2.3-22.el5.centos) in CentOS 5 vs Apache (httpd-2.2.15-39.el6) in CentOS 6?

I understand that the later version addresses security vulnerabilities: http://httpd.apache.org/security/vulnerabilities_22.html Supposedly, http://httpd.apache.org/download.html has a full list of ...
0
votes
1answer
324 views

IPsec VPN between Fortigate 60C and openswan up, but no traffic

I get visual confirmation that the tunnel is working from the fortigate GUI but, it also says i don't have 1 byte of traffic, the linux server also confirms the tunnel is open but i can't ping nowhere,...
0
votes
1answer
117 views

Nginx : autoindex not working

Hello all I'm following a guide https://www.youtube.com/watch?v=7QXnk8emzOU and exactly did everything same and I've checked other similar problems such as nginx autoindex doesn't work and Issues ...