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.

Filter by
Sorted by
Tagged with
4 votes
2 answers
34k views

What does "apache2ctl:: command not found" mean if Apache IS installed and running?

Trying to run the command "apache2ctl restart" and just got this message "apache2ctl:: command not found" -- thing is, Apache IS installed, running, and I'm actively doing development on the server ...
0 votes
1 answer
239 views

Difference between "location /" and Nginx default server block values

What is the point of defining location / { } since, if I understand correctly this will match all potential URIs and "lose" any battle against a location with a more specific URI ? My ...
0 votes
1 answer
2k views

Basic setup of an Aerohive AP245X via CLI

I recently acquired an Aerohive AP secondhand without a GUI. I reset it by pressing the button for however long. Now I want to set it up as a normal WiFi AP w/o any fancy Hive stuff. Just one SSID ...
0 votes
0 answers
2k views

How to use environment variable in apache config condition?

In my apache config file I'm trying to set a virtual host on port 443 IF my environment variable is not dev I have a docker container running via docker-compose which specifies the environment ...
1 vote
2 answers
2k views

Guacamole only listening on IPv6 localhost

I have recently installed Apache Guacamole on Ubuntu 20.04 and also tested with the same result on 21.10. I have it all working but have had to do some workarounds because of this issue. Here is the ...
0 votes
0 answers
2k views

how to configure a network interface on ubuntu server 22.04 lts?

I would like to configure the ethernet network interface of a server but I am completely lost. I saw on the internet that you could do it with the nmcli tool but also with netplan, I saw some people ...
1 vote
1 answer
2k views

How to convert this from nginx to haproxy

How can I write this proxy pass example from nginx: code one: location /appDir/ { proxy_pass https://Name/appDir/; } to haproxy? additionally: the below is from haproxy site. code two: ...
0 votes
2 answers
3k views

HAProxy ACL to multiple backend ports not working

I'm trying to set up haproxy to navigate between the multiple applications running on the same server. If my understanding is correct, I should be able to use ACL rules in the frontend to switch ...
5 votes
1 answer
3k views

exclude IP from nginx access log

How to exclude some IP address from access log? This is my config: server { listen 443 ssl; [...] access_log /var/www/web/log/access.log; error_log /var/www/web/log/error.log; location / { ...
0 votes
1 answer
56 views

Is PHP's error_log dependent on the OS, config file or something else?

I have two HTTP servers: Live LAMP server. Local WAMP server. When an error occurs on the live server PHP will generate an error_log file in the directory of where the script error occurred. The ...
2 votes
1 answer
4k views

How do I disconnect a VM from a Log Analytics workspace that has already been deleted?

I created a Log Analytics Workspace (LAW) and connected the SQL Server to it in order to test a theory. I then deleted the Log Analytics Workspace (LAW) but did not "Disconnect" it from the LAW. I ...
3 votes
1 answer
3k views

Enforce loading of php.ini files from current folder

My goal is to increase the maximum file size for uploads in WordPress. I have followed the steps on this SE answer and this tutorial (except the .htaccess part, because it's runnning nginx and AFAIK ...
1 vote
2 answers
2k views

nginx multiple paths (too many)

i got this working nginx config: server { listen 80; server_name mydomain.com; root /var/www/mydomain/wordpress; index index.html index.php; location /customer1 { alias /var/www/...
1 vote
1 answer
373 views

tools for refactoring Apache config files

I am facing a taks of cleaning up an unreasonably big Apache config. It accumulated crud over almost a decade. I am starting with refactoring it, fixing tabbing/indentation, breaking out sections into ...
8 votes
1 answer
2k views

How do I get an aggregate of all the stats from all uWSGI vassals using uwsgitop?

TL;DR Can anyone tell me how I may get uwsgitop to monitor all of my vassals in my emperor-vassal setup in one shot? I have an emperor-vassal setup for my uWSGI server, and I need to monitor all my ...
0 votes
1 answer
2k views

What is th tap100i0 device on my debian with KVM?

I want configure a network for virtual machines on KVM. I created a bridge. But I found a new tap100i0 devise was created. Should I take it into account to get the virtual network running?
1 vote
1 answer
2k views

Cisco ISR 4431 ACL Blocking when it should permit ssh traffic

The intention here was to create a access-list that would permit any device with an IP from two different /24 subnets (lets call them 192.168.1.0 and 192.168.2.0) to SSH into the ISR while denying ...
0 votes
1 answer
469 views

Multi Hop SSHing using RequestTTY Method

I tried to map the following multi hop using a ssh configuration file: ssh -tt -l jumphost 192.168.1.5 ssh -tt -l jumphost 192.168.2.111 ssh -tt -l inside_server 192.168.3.50 without using one of the ...
3 votes
1 answer
559 views

ssh_config equivalent to ssh -t

Is there an equivalent to ssh -t in the ssh config? I couldn't find anything in the man pages. OpenSSH >= 8.9
0 votes
1 answer
2k views

Rsyslog configuration for changing source interface

I'm working on rsyslog.conf upon CentOS 6.2. Is there any configuration in rsyslog.conf to change the source interface (eg - eth0, eth1), so that the messages being sent to syslog server contains ...
0 votes
1 answer
52 views

nginx doesn't properly route to webapp and omitting path

I am currently configuring a nginx reverse proxy. The docker instance of nextcloud is available on Port 8891 server { listen 8888 ssl http2; ... location /nextcloud/ { proxy_pass http://0.0.0....
0 votes
1 answer
2k views

Apache server-status: allow access only from one subdomain on same IP

I'm configuring server-status and get 404 error. I need allow access to server-status only from site subdomain on same IP. I put server-status location to virtualhost config, but it's not working. If ...
2 votes
1 answer
2k views

Nginx config to preventing non-browser requests to domain/IP

Having recently installed django 1.6 on a server hosting several django based sites, I'm getting a lot of errors for "ERROR: Invalid HTTP_HOST header". This is a known 'feature'. The problem is that ...
0 votes
3 answers
2k views

virtual host setup: can't access wordpress site without www

I would like to access my site both with and without using the www. Currently it only works with. Leaving out the www just goes to a blank page. Also, wp-admin just loads a blank page too. I have set ...
110 votes
7 answers
28k views

How can the little guys effectively learn and use Puppet? [closed]

Six months ago, in our not-for-profit project we decided to start migrating our system management to a Puppet-controlled environment because we are expecting our number of servers to grow ...
2 votes
2 answers
3k views

how do i turn off postfix bounce notice

In main.cf currently I have notify_classes = delay, policy, protocol, resource, software bounce_notice_recipient = 2bounce_notice_recipient = Followed another thread, and it recommends setting ...
0 votes
1 answer
709 views

How to use hostnames in smtp_bind_address in Postfix configuration?

It seems that Postfix does not allow hostnames in the smtp_bind_address config parameter. But it does allow hostnames in inet_interfaces. For SPF I want to make sure which address SMTP-clients bind to ...
0 votes
1 answer
3k views

Exim 4 route all but one user to alternate smtp

We are migrating our mail server away from EXIM and are struggling with emails generated on the host server such as webforms and system messages, as they are not being delivered to the new host. I'm ...
1 vote
2 answers
4k views

ONLYOFFICE - JWS secret doesn't work (can connect without)

I'm running ONLYOFFICE Document Server under an https:// vhost on nginx on Ubuntu Server 18.04 LTS. It's reachable at onlyoffice.example.com and I also have a Nextcloud instance at nextcloud.example....
2 votes
2 answers
2k views

Configure Centos7 Apache 2.4 php-fpm to run as user

I would like to configure a Centos 7 Apache 2.4 Linode to use php-fpm to execute php as the file owner. The docs for earlier Centos6 / Apache2.2 don't work and the configurations I have seen for ...
16 votes
5 answers
356k views

How to check if hardware RAID is configured?

I have several servers running Windows 2008 and Red Hat 5 that are capable of hardware RAID. How do I check that hardware RAID is configured?
2 votes
1 answer
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
2 answers
2k 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 ...
0 votes
1 answer
3k views

Linux Server: Cannot upload files to any directory

I am working with an ubuntu server running apache2 but I can't upload files, but I can log in to ssh and touch test.txt When I log in to the server with filezilla and try to add a file to /var/...
2 votes
1 answer
3k views

IIS rewrite to add a query variable to every request

I know next to nothing about configuring IIS, but have been assigned a task to add a query variable to every request that is made through an IIS server that's being used as a Web proxy. We look for ...
1 vote
1 answer
509 views

Apache: <LimitExcept POST> not working (in .htaccess)

I am trying to set some controls in Apache via the .htaccess. This works: <LimitExcept GET> Order allow,deny Allow from all Deny from all </LimitExcept> while this does not: &...
0 votes
1 answer
2k views

Nginx not listening on 443 port (default nginx site)

Problem: The https://192.168.0.4/ page is not loading and returns (on firefox): Secure Connection Failed An error occurred during a connection to 192.168.0.4. PR_END_OF_FILE_ERROR The page you are ...
0 votes
0 answers
22 views

Connection drop

Trying to solve this problem here but not 100% sure what's the issue. 4 Fetal monitors and a PC in a clinic are connected to a switch. Those communicate with the PC. 1 to 4 times a day there is a ...
51 votes
2 answers
76k views

Redis Cluster: (error) MOVED

I have a Redis cluster with the following nodes: 192.168.0.14:6379 master (slots from 0 to 16383) 192.168.0.15:6379 slave (slots from 0 to 16383) 192.168.0.16:6379 master (without slots) ...
2 votes
0 answers
127 views

What are the conditions to have ssh_config re-parsed?

When setting up an ssh_config, we make use of host-name canonicalization. Unfortunately, in some unique cases, this canonicalization is not always possible and has to be done by adding an additional ...
0 votes
1 answer
2k views

Cisco router configuration for pppoe dhcp and nat

I am trying to set up a cisco 2800 series router in my home lab. yes its old, but cheap enough to play around with. So I am coming up against a problem configuring the router. I can ping out to the ...
10 votes
3 answers
66k views

AH01071: Got error 'Primary script unknown\n' apache2.4 php-fpm7.2

I seem to be getting these lines in my /var/log/apache2/error.log and the corresponding records in /var/log/apache2/access.log /var/log/apache2/error.log [Fri Sep 20 02:28:36.654357 2019] [...
4 votes
1 answer
308 views

Different ssh authentication policies for different accounts

I know that I can disable SSH authentication with clear text password for root user (using PermitRootLogin) and enable it for all other users. But I need to disable text passwords for some list of ...
0 votes
0 answers
35 views

Apache Server with single site, when scanning by IP address it's pulling local certificate

We have a single word press site running on top of Apache on CentOS. When one of our clients is doing a security scan it's scanning by IP address vs Domain Name and when that happens it's pulling the ...
-1 votes
1 answer
404 views

How can I download the cisco running config to my C drive's folder?

I am going to download the running config from the cisco router. I have tried the following command, but it needs to change the account's privilege level to 15 for downloading the running config. I ...
2 votes
1 answer
6k views

What system mail name do I put for Postfix configuration?

Following this guide, specifically going to figure 4, what should I put in the dialogue box? My mail subdomain is mail.example.com, but the advice from the dialogue box says that if a mail address on ...
1 vote
1 answer
11k views

WDS "Configure Server" fails. "Share name is already in use on this server"

I had WDS installed on this particular server (running Server 2012 Standard), removed it for various reasons, and am now trying to reinstall it. When I go through the initial configuration process for ...
0 votes
1 answer
2k 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
1 answer
657 views

Is basic Username authentication is enough for Dante SOCKS proxy?

so I'm making a SOCKS5 proxy for WebSocket connections and some HTTP calls on a few VMs in DO. The idea is that traffic from K8S cluster would go through the proxies so I could whitelist the IPs on ...
1 vote
1 answer
4k 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 ...

1 2 3
4
5
55