美多家商业巨头反对对华加征关税 称将损消费者利益
百度 我从小就特别喜欢小动物,五年前上大学的时候我在网上知道了救助站,看见网上那些小可怜的图片我就想着能为它们做点什么,当时我先当了志愿者,毕业后开了这家宠物店,想通过向有意购买宠物和宠物用品的人多多宣传救助站的事,尽可能地让他们以领养代替购买。
Version 2.4 of the Apache HTTPd Server. When asking questions about virtualhosts, please include the output of the following command: "apache2ctl -S" (or "httpd -S" depending on your OS)
6,156 questions
2
votes
2
answers
177
views
Apache vhost wildcard alias for single level subdomains only
I am trying to configure a single level wildcard subdomains, where foo.domain.com, bar.domain.com, etc. are accepted, but not foo.bar.domain.com.
I read that:
Wildcard characters only match a single ...
0
votes
1
answer
38
views
How to get current path for error log files if error_log got no value
I have a small php web app to view the log files, to see errors, specially PHP ones. My local Apache is different from the remote website servers, so I have to point the right directory in each case, ...
0
votes
0
answers
47
views
Why can't I have both <If> and Require expr in my Apache config?
I want to configure an Apache httpd 2.4 in the following manner:
Authorization is required for everything except /
All auto-generated indexes show a README file
The auto-generated index for / shows a ...
1
vote
1
answer
68
views
Unable to connect to HTTPs but only from the public IP on a WSL setup with containers
I have a docker deployment on wikiviogen.com, that until yesterday worked with the typical HTTPs setup.
I updated Linux that runs on Docker Desktop with Windows Subsystem for Linux (WSL), and now I ...
0
votes
1
answer
26
views
Apache/2.4.62 server only works on localhost domain, loads "It works!" for anything else
Im going crazy here, I dont know what to do anymore
I have this Apache/2.4.62 server running on an amazonlinux:2023 container, inside a docker. Its running a PHP application, using PHP-FPM
It works ...
0
votes
0
answers
14
views
Apache2 behind Sophos UTM9
I'm using Debian with an Apache2 Server behind a Sophos UTM9 firewall.
For the specific sub-domain I have already a LE-certificate. So external users are will get the certificate and there would be no ...
0
votes
0
answers
22
views
How use Typo3 and other WEB files on the same server (VirtualHost)
Up to now I have used Typo3 with IIS and was able to use the Typo3 pages as well as html and php pages. Now I have setup Typo3 on a Debian server with a Apache VirtualHost.conf file.Here my .conf file:...
0
votes
1
answer
31
views
Issue with mutual authentication in apache 2.4
With the following config (note the SSLVerifyClient require inside the <Location "/"> block:
<VirtualHost x.x.x.x:443>
SSLEngine on
SSLVerifyDepth 5
SSLProtocol +TLSv1.2 +...
0
votes
0
answers
19
views
Apache filling up scoreboard with "G" state workers when used as a WebSocket reverse proxy
From time to time we end up with a full scoreboard in Apache, filled up with workers in "G" state.
We are running event MPM and are (in addition to simply serving a PHP site) using Apache as ...
0
votes
1
answer
51
views
Mod_security with OWASP CRS - PL2 in a Single VirtualHost
I’m trying to configure mod_security on my Apache server to enable (CRS) version 4.16.0, along with the PL2 rules, but only for a single specific virtual host (vhost).
I want to keep mod_security ...
0
votes
1
answer
63
views
Wildcards in Apache's Location Directive
Let's establish a baseline.
URL: /TMPdenied/foo.txt
Location Directive:
<Location /TMPdenied/>
Require all denied
</Location>
Expected result: The request is served with 403 ...
0
votes
1
answer
50
views
"systemctl edit httpd.service" not working on Amazon Linux 2023, Apache 2.4/PHP8.4
I have an Amazon Linux 2 server running Apache 2.4/PHP 8.2.
On it, I've run systemctl edit httpd.service and added the following Environment Variables for my ODBC drivers.
[Service]
Environment="...
0
votes
0
answers
17
views
GCE apache reverse proxy failure to connect
I have an internet facing Google Compute Engine running ubuntu with an apache server set up to rewrite HTTP to HTTPS. It's currently hosting 2 domains. I'm trying to add a reverse-proxy to a backend ...
1
vote
1
answer
59
views
Apache redirect http to http except localhost
I know that there are several similar questions, but after many tests I am not able to get what I want.
First of all, I read that apache can redirect in three ways: redirect, mod_rewrite or with if-...
0
votes
1
answer
34
views
apache header authorization with negotiate is not added
I am using the mod_auth_gssapi and the function GssapiUseS4U2Proxy on.
The module does not generate an authorization header to the backend.
It sends an authorization: bearer header to the backend, ...