Latest Server related questions

Score: 0
Host Header Redirect to another domin when Host is changed to another domina in HTTP Request
cn flag

Click for the image of issue for HOST Header Redirect

Please Refer to the image

The issue arise only on 302 and 301 Redirect request On Apache Server. What i did is selected one 302 and 301 redirect request and then change the Host to another domain, and after forwarding the request the application redirect the user to the listed domain mention in HOST Header, I want the application to give either an ...

Score: 0
Sara June avatar
How to set service_endpoints and delegation in subnet part of vnet in azure using terraform?
cn flag

I have a working block of terraform vnet,subnet and NSG of it.

provider "azurerm" {
  features {}
}

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West Europe"
}

resource "azurerm_virtual_network" "example" {
  name                = "example-vn"
  location            = azurerm_resource_group.example.location
  resource_group_name = azurerm_resource_gr ...
Score: 0
Amedeo Braggio avatar
I need more space but i cant add space to /dev/mapper
us flag

Sorry my english, but I'm italian, today on my vps with ubuntu I restarted emby server, but it didn't start and doing service emby-server status, it gives me the error: Unhandled exception. System.IO.IOException: No space left on device

but the space is there, the same error gives me apt upgrade ... then I went to see with df, and I found that / dev / mapper / vg00-lv02 is 100% full

then i tried to  ...

Score: 0
Christian avatar
Pacemaker/Corosync: how to emergency-shutdown all resources (VMs qemu/kvm)
cn flag

Good morning everyone -

Running a 6 node Pacemaker/Corosync cluster with lots of productive qemu/kvm VMs on it, we were wondering how to best do an "emergency shutdown" of the whole lot, ie. when the UPS signals "AC fail" and "low battery". After reading docs and forums, we are still not sure about the following:

  1. is there a way of addressing all running resources at once we did not see? Neither  ...
Score: 0
xabikip avatar
Can't put correct date & time on LXC container with ubuntu
pk flag

I'm tryig to put correct date and time, on Proxmox LXC container with ubuntu but I can't. There are some info of my server.

➜  ~ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu ...
Score: 0
Arthur Deslauriers avatar
Environment variables in Jenkinsfile
tn flag

I have a github project with my Jenkinsfile used for deployment, actually managing only the dev environment.

I'd like to manage the production environment as well, and some parameters would differ from dev to production.

Is it possible to manage this through the same Jenkinsfile, or do I need to create a separate Jenkinsfile to manage the prod settings in it ?

Score: 0
Handling DDoS HTTP Attack
ca flag

I’ve experiencing DDoS attack today and I’ve configured Cloudflare rate limiter, also activated WAF. Cloudflare blocked several hundred thousands request. Unfortunately, my server still experiencing pretty high flood request. I don’t know why it passed Cloudflare, even if I’ve setup rate limiter.

At last I forced to disable Cloudflare proxy and let AWS Web ACL handle it. Did I miss someth ...

Score: 0
Maurice avatar
Does packet size influence the response latency?
ua flag

I am testing my web application locally against an amazon micro database thats situated in north virginia. I live in Groningen the netherlands. When i send a select query over the public internet it takes 2616(ms) to return a resultset of 42 kilobytes.

[INFO ] 2022-01-17 10:22:02.147 [http-nio-8080-exec-1] http_access_log - method=GET uri="/api/journal/get/virtual-scroll" status-code=206 bytes=42350 durat ...
Score: 0
IanJ avatar
Unable to serve images from wordpress site - response is malformed
in flag

I'm trying to deploy Wordpress behind Traefik on Azure, using a PersistentVolume backed by Azure Files. For the most part, it works. I could set up wordpress, configure it, access it externally, make content edits, etc.

The docker image is the official one up on Hub (https://hub.docker.com/_/wordpress). The only change I made is to tell the MYSQL client to use SSL, otherwise everything else is vanilla. ...

Score: 0
DevPy avatar
Monitor local SQL Server traffic
us flag

I am running a local instance of MS SQL server 2014 Developer Edition, I enabled the certificate based encryption on it, so I want to verify that all the incoming and outgoing traffic is encrypted. I used Wireshark for that, but suddenly Wireshark stop showing the traffic of the SQL server. Furthermore, I uninstalled and reinstalled the SQL server may cause the issue. Am I missing any configurations tha ...

Score: 0
Mafklaper avatar
Windows RDS add server to use RDS
cn flag

I hope you can help me with the following problem. I currently have a managementserver in my domain that is used by our helpdesk. We want to migrate the server to 2022. For this I want to allow more than 2 RDP sessions. I already have this working on my old management server. But I can't figure out how to allow more than 2 RDP sessions on my new Management server

Score: 0
He Ra avatar
RPi4 (pivpn) - how to route traffic from vpn-client on wlan0 through eth0 into LAN and back?
tr flag

An external company needs vpn access to a specific PC. On this PC (Win10) a program is running which is to be controlled remotely via rdp. This PC then connects to a server (Win10).

I want to avoid any access from this PC into our LAN. Therefore the server got a second network card.

We use a wlan router with SIM card for internet access in the office. Our normal LAN (192.168.1.X) is connected to the ...

Score: 3
mlom avatar
Linux: Is it possible to replace a routing table atomically?
in flag

Is it with help of ip route or similar a way to replace a routing table atomically? I would like to prepare a routing table and then replace an old routing table with the newly created one atomically.

ip rule?

UPDATE: I would like to prepare a routing table and replace the one that is currently active as a atomic operation. I need to do this from my own daemon.

Score: 0
Azure Vpn Gateway with IP Range conflict - workarounds?
vn flag

First of all I am fairly new to network topics and Azure itself, so maybe I might oversee a trivial solution here.

We have a production system in Azure and some of our customers want to connect via S2S VPN to our network. To achieve this we have a Hub-VNet with an AzureVpnGateway that is peered to the production VNet to allow communication between the to VNets. We have the following setup:

  • Production-IP ...
Score: 0
ssh Unknown error IPv6 windows10
in flag

I need to ssh a device from LAN.

I've been able to do so in IPv4 in linux and windows10 but for IPv6, it only worked in linux. enter image description here

ipconfig PC LAN:

ipconfig This is the error I got in windows10:

ssh -vvv  Admin@fdaa:bbcc:ddee::1
OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2
debug3: Failed to open file:C:/Users/SST/.ssh/config error:2
debug3: Failed to open file:C:/ProgramData/ssh/ssh_config error:2
debug2: resolve ...
Score: 0
Ben avatar
mysql not inserting through php cli
ru flag
Ben

I have a simple php script which is ran from cli. I have tried many different variations of mysql code, but regardless, the line isnt inserted in the database even though php says it is....

<?php
$link = mysql_connect('localhost', '***', '***');
if (!$link) {
    die('Could not connect: ' . mysql_error());
}
mysql_select_db('***');

mysql_query("INSERT INTO email_log (to, from, subject, headers, ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.