Latest Server related questions

Score: 0
Abe avatar
Private file storage area settings in Drupal 9.3 ($settings['file_private_path'] =)
de flag
Abe

I use Drupal 9.3 and I have created a private folder outside the root directory. I followed the documentation [link] and added the following line in my settings.php file in drupal:

$settings['file_private_path'] = '../private';

The private file exists outside of my web root directory as follows: /var/www/example.com/private with web root in/var/www/example.com/html.

I am using nginx and I want t ...

Score: 1
HAProxy APIs - Reload Config
cn flag

I notice there are two APIs for HaProxy. DataPlane and Runtime.

I don't see anything obvious that will just tell the system to reload and parse the .cfg file.

Seems like a no brainer thing to want to do. I have a lets encrypt container running in docker and I want to just, via https, or some mechanism tell HaProxy to reload the ssl certs or in general load up a changed .cfg file.

I'm aware of the ind ...

Score: 1
Providing Guest VM to connect to Internet through Host on ESXi with only one adapter
se flag

I am new to virtualized environment. I have a bare-metal server provided by a hosting company which has ESXi 6.5 running on it. It has only one physical adapter, one Management Network and one VM Network, which has the virtual machine. I want to allow VM to access internet through the host connection. Will it be possible? I am planning to create a private LAN and make the current VM as a domain controll ...

Score: 1
jakeprog123 avatar
Why does dig not show the authority section and how to make it show the authoritative name servers that hold the DNS query`s answer?
br flag

I started recently to learn about DNS, and I got stuck when using dig command in Linux. More exactly, I'd like to see the authoritative name servers (their names or IP addresses) that hold the answers to my DNS queries and I don't know how. As you probably already know, the dig's command output has 5 sections: HEADER, QUERY, ANSWER, AUTHORITY and ADDITIONAL. The last 3 include resource records found in  ...

Score: 0
successfull log4j exploitation or just normal traffic
us flag

First, thanks in advance and sorry if I'm asking some really silly thing, this is not my expertise :)

I have a webserver just for testing my things. Last week I checked if it was vulnerable to log4j CVE and it seemed only Jenkins was using some trace of log4j but inside slf4j (https://www.slf4j.org/log4shell.html) which doesn't seem to be vulnerable on that version.

/var/lib/jenkins/plugins/ssh-sla ...
Score: 0
Allow any user with specific uid to manager an entire OU
au flag

I have a domain (let's call it dc=example,dc=org)

The domain has a branch (ou=users,ou=ftp,ou=services,dc=k9999,dc=z9999,dc=infra,dc=example,dc=org).

There's a simpleSecurityObject in this domain (uid=admin,ou=managers,ou=ftp,ou=services,dc=k9999,dc=z9999,dc=infra,dc=example,dc=org).

I need the uid=admin,*** user to have full (manage) access to the ou=users,*** branch, so I added the following olcAccess ...

Score: 0
Apache Filesmatch regex issue
ye flag

I'm trying to block all files that contains the keyword cpf

and I've entered this into the apache2 configuration:

<FilesMatch "cpf.*$">
    Require all denied
</FilesMatch>

and this blocked a file called name.cpf, but not name.cpfs and name.cpfs.bak

me and regex isn't compatible..

and if possible, throw a 404 not found instead of access denied?

Score: 1
Tristan avatar
Postfix - lost connection after STARTTLS - SSL_accept error from unknown
ke flag

I have set up a mail server on my Debian 10 VPS with Postfix and Dovecot. I can send email and receive email from some servers, but not all.

When I test my mailserver at internet.nl I get the following message:

enter image description here

The mail.log shows the following:

Dec 26 21:01:20 mail postfix/smtpd[24531]: lost connection after STARTTLS from internet.nl[62.204.66.10]
Dec 26 21:01:20 mail postfix/smtpd[24531]: disconnect fr ...
Score: 0
Postfix stops delivering mail
cn flag

My server crashed and after that postfix won't deliver mails anymore. In the logging the following messages appear:

Dec 26 21:21:00 xx postfix/smtpd[14725]: connect from localhost[::1]
Dec 26 21:21:00 xx postfix/smtpd[14725]: warning: lookup jaap@xxxx.nl, NIS domain xxx.nl, map mail.aliases: internal yp server or client error
Dec 26 21:21:00 xx postfix/smtpd[14725]: warning: nis:mail.aliases lookup ...
Score: 2
Afshin avatar
Creating new datastore and VMFS
cn flag

I was currently working on the ESXi lab and trying to do some work with it. So I have an ESXi that is running on a server and I installed 2 ESXi on it (two ESXi are running on the primary ESXi). The problem is after finishing installing 2 ESXi, none of them had a datastore. So I had to create a new VMFS. But I faced this problem: There is no device in the list so I can create anything! enter image description here enter image description here

Score: 0
Resizing Boot Disk isn't taking effect
in flag

I have a VM Ubuntu 20.10 instance on GCP. It initially had 40 GB Boot disk space which got full and to increase it I had followed google official tutorials and it's showing on console that it has resized to 100 GB but when I SSH into instance it shows the disk is still 40 GB. Attached are some screenshots for reference

SSH Command to check disk Size

VM Name

Disk Name

I had restarted Instace several time ...

Score: 1
jz22 avatar
How to use a wildcard subdomain with static subdomains with Google Cloud services?
de flag

Let's assume we own the domain example.com. In Google Cloud, I would like to achieve the following setup.

There are two Cloud Run services available at api-a.example.com and api-b.example.com.

There is a third backend service running in App Engine available at api-c.example.com.

There are is a dockerized Nginx container with a frontend deployed to App Engine at frontend-a.example.com. This is the  ...

Score: 1
sanjib avatar
Proxmox public IP for VMs in OVH
in flag

I have a Proxmox setup in OVH I have purchased 8 IPs out of which 6 are useable So I want that my virtual machines are reachable from the internet.

The Ip block I have purchased

53.87.160.116/29

Ip from OVH to the Proxmox machine

44.63.32.23/24 it is received via DHCP

So this is my file contents

cat /etc/network/interfaces

# network interfaces
    auto lo
    iface lo inet loopback
    
  ...
Score: 0
iAlusion avatar
Apache server dead
mz flag

I've been struggling around to get my website running with HTTP redirect https and ssl.

Apache 2.4.41 Ubuntu 20.04 LTS

Current data:

iptables -> https://www.toptal.com/developers/hastebin/acufujubuz.sql

It was a bit long so I decided to paste it in a url

UFW ->

Status: active

To                         Action      From
--                         ------      ----
Apache Full                ALL ...
Score: 0
Apache/2.4.43 -> .htaccess -> require Rule not working
th flag

I have /srv/www/vhosts/wp_website/wp-content/.htaccess with the following content:

    Require all denied
    <Files ~ ".(xml|css|js|jpe?g|png|gif|pdf|docx|rtf|odf|zip|rar)$">
    Require all granted
    </Files>

But the file /srv/www/vhosts/wp_website/themes/responsive/css/custom_script.css gets a 403 error.

If I rename .htaccess do deactivate it, it works.

1.) Are the rules correct an ...

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.