Skip to main content

All Questions

Tagged with
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 ...
user8373873's user avatar
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 ...
H M's user avatar
  • 1
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: <...
roku's user avatar
  • 11
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> ...
Richlv's user avatar
  • 2,393
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 ...
deconstruct's user avatar
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 ...
Bushkin's user avatar
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, ...
pop's user avatar
  • 101
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 ...
Mnemosyne's user avatar
  • 131
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
Eng7's user avatar
  • 137
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 ...
Naruto Uzumaki's user avatar
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 ...
Raul Chiarella's user avatar
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 ...
Anirban's user avatar
  • 103
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 ...
Muhammad Shafiq's user avatar
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....
alanvictorjp's user avatar
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/...
Nico Nico Pizza's user avatar

15 30 50 per page