All Questions
54
questions
0
votes
0
answers
231
views
Intercept HTTP POST response from Reverse Proxy in Apache
I have following configuration in my Apache server and requirement is to intercept HTTP POST request to /api/submit endpoint and trigger a CURL request to a remote URL before forwarding it to backend ...
0
votes
0
answers
77
views
What is the equivalent of /etc/apache2/envvars in EL-based systems?
In Debian-based systems, it's possible to source a bash script in /etc/apache2/envvars to dynamically set an environment variable. Here is an example:
Create a file (/etc/profile.d/myenv.sh) with the ...
1
vote
3
answers
236
views
apache2 rewrite is working, but doesn´t keep URL
I was looking around google for some days now and can´t get it to work.
With apache rewrite: domain.com > test.com/test (but keep the URL domain.com in browser)
The whole SSL Config:
<...
1
vote
1
answer
214
views
Use relative parent directory links in Apache httpd mod_autoindex
With Apache httpd mod_autoindex, the generated index pages use relative (without the leading slash) links for individual entries, for example:
<a href="failure/">failure/</a>
...
0
votes
2
answers
232
views
Apache Httpd: Logging Access for Non-privileged Users
I’m wondering if it is common for Apache HTTPD admins to allow read access or read access to copies of /var/log/httpd/${vhost}_error_log?
I administer an Apache web server for a University CS ...
0
votes
1
answer
330
views
Cannot Start Apache2 - httpd bound to port 80
I have a fresh install of Ubuntu Server 22.04, on which I installed apache2 via apt-get install
After the installation I got the following error whenever I tried to start Apache2:
(98)Address already ...
0
votes
0
answers
843
views
Apache on OSX: "not running" and "already in use" for all processes?
OS: macOS Mojave 10.14.6
HTTP Server: Apache 2.4.55
When trying to restart apache server, I get "Address already in use..." message. Hm, so there must be a process that listens to that port, ...
0
votes
1
answer
378
views
Apache2 how to generate random string for subdomain
I want to issue a redirect to a new randomly generated subdomain name for every request I get. Below you can find my vhost configuration. I want to do a redirect towards a subdomain containing some ...
1
vote
0
answers
22
views
Redirect docroot for specific URI path by .htacess
Is it possible to redirect a specific URI path to a specific docroot within the original docroot using the .htaccess?
For example:
example.com > docroot
Where
example.com/path > docroot/subdir
0
votes
0
answers
797
views
SSL certificate not working
I'm going to put an application on a new server (after upgrading it from PHP 7 to PHP 8). I can connect to the server(Red Hat) only using VPN (pulse).
my purpose is to run the application on the ...
1
vote
1
answer
1k
views
No space left on device: AH00023: Couldn't create the ssl-cache mutex
I saw another similar questions here but none had a answer that solved this problem.
From time to time, around 3am, my Apache server freezes and i see those errors in my logs...
(28) No space left on ...
0
votes
1
answer
777
views
How can I direct Apache HTTPd to serve only to specific IP address groups
I am using a Apache HTTPd server on Fedora Linux to serve a web suite for internal use only. However, My machine has only a single public IP address.
I want to configure HTTPd to accept and serve the ...
0
votes
1
answer
916
views
Apache server is very slow for high traffic
I am using Apache 2 on AWS ec2 instance. I have application load balancer with 2 instances/servers attached to it. Each instance type is m5.8XLarge.
My application is developed in Laravel, I am using ...
0
votes
0
answers
72
views
apache2, I can't suppress this line from apache logs
I've done this and other attempts, but not working for me:
<IfModule mod_ssl.c>
<VirtualHost *:443>
...
setEnvIf Request_URI "refresh.*" dontlog
CustomLog /home/alan/logs/apache....
0
votes
1
answer
937
views
Apache can't start because httpd is listening on port 80?
Hello serverfault community.
I'm setting up a nextcloud server, but apache is not starting.
When I run systemctl status apache2 I get:
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/...