Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [apache-2.4]

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)

0 votes
0 answers
23 views

Hosting strategies for python django rest api very light weight applications in production environment?

I am currently hosting python web services on apache server with mod_wsgi in daemon mode. Everything is fine until, I have added a new virtualhost or changed existing virtualhost because when I have ...
RajKumar's user avatar
0 votes
1 answer
25 views

Apache Reverse Proxy - prevent AutoSSL from following redirects in Apache includes?

I have a cPanel server in which I wrote an include config file with a reverse proxy to point it to a react application hosted on the server. Here is an example: ServerName my.website ProxyRequests ...
HowardCodes's user avatar
0 votes
0 answers
21 views

Error 403 coming from nowhere

We have a Linux server hosting 2 vhosts: preprod and prod. We tested for a few weeks a python script as a cron job on the preprod side before deploying it to the prod vhost: this script call a PHP API ...
T'lash's user avatar
  • 131
0 votes
0 answers
21 views

Apache 2.4 WebServer Configuration : No 'Access-Control-Allow-Origin' header is present on the requested resource

I managed to deploy a map server: I want to set the Access-Control-Allow-Origin settings in a way that it allows only specific IP Addresses to visualize the map <VirtualHost *:80> ServerName ...
Raphael10's user avatar
  • 177
1 vote
1 answer
32 views

Setup nginx configuration

I am trying to convert some set of apache rules to nginx. RewriteCond %{REQUEST_FILENAME} -d [OR] RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^ ^$1 [N] RewriteCond %{REQUEST_URI} (\.\w+$) [NC] ...
Shivam Ahuja's user avatar
0 votes
0 answers
12 views

Redirect if not serving a PHP file

Consider these files on-disk: /dir/index.php /dir/page.php /dir/index.html /dir/image.jpg Consider these desired outcomes: https://www.example.com/dir Serve index.php https://www.example....
MonkeyZeus's user avatar
0 votes
0 answers
22 views

Apache 2.4 shows default SSL certificate instead of requested domain

I am running 5 domains on my Apache server using Vhosts. The first domain on the httpd-vhosts.conf and httpd-ssl.conf work fine. If I go to one of the other domains, it will try to use the default ...
Patrick's user avatar
0 votes
0 answers
76 views

Apache Machine-readable status metrics does not return all the metadata

OS: Centos 7 Apache: 2.4.6 Below is what I see as an output of the curl command. curl http://localhost/server-status?auto Total Accesses: 499 Total kBytes: 446 CPULoad: .152377 Uptime: 6438 ReqPerSec: ...
MIG's user avatar
  • 1
-1 votes
0 answers
21 views

"Connection timed out" error when connecting outside of local network

I am hosting a server which serves on port 80. When I try to connect to it outside of my local network, it gives a "Connection timed out" error and the requests do not show up at all on the ...
user1108416's user avatar
0 votes
1 answer
58 views

Get Apache to make subdomain redirect to the HTTPS version

I've set up the certbot and config file to be able to use the https://www.example.com correctly, these pages exist and show the website correctly: https://example.com https://www.example.com http://...
tygzy's user avatar
  • 111
3 votes
2 answers
327 views

Perl CGI Fails with Permission Denied - AH01241: Error spawning CGI child

I have a Perl CGI script Test.cgi at /var/www/cgi-bin/Test.cgi. The content is simply: #!/bin/perl -T print "Content-type: text/html\n\n"; print "Hello, World."; The issue is that ...
Aerozeek's user avatar
  • 143
0 votes
1 answer
74 views

Understanding mod_fastcgi apache2 module

I'm working in a Ubuntu 22.04.3 LTS I'm creating my own apache "arquitecture". I called it "myApache". The idea is that every user can run its own apache listening in its UID as ...
icalvete's user avatar
  • 141
0 votes
1 answer
102 views

Apache HTTP server under DDoS attack [closed]

One of the servers has been under attack for four weeks. First the attack was weak, but now it is aggressive after I started fighting him. It consumes CPU resources to keep starting the Apache server ...
Marcell Nemeth's user avatar
4 votes
1 answer
82 views

Case insensitivity for Cyrillic characters in Apache .htaccess RegEx does not work

Consider the following RewriteRules: RewriteEngline On RewriteRule ^services$ services.php RewriteRule ^новости$ news.php What they achieve is that www.example.com/services loads the content of ...
plsssineedheeeelp's user avatar
0 votes
1 answer
67 views

Apache2 additional virtual host config not working

I have 3 domains forwarded to my web server via DynDNS. The server has virtual host configs with the respective DocumentRoot, everything works fine. I registered a 4th domain and also have it ...
Kater lysator's user avatar

15 30 50 per page
1
2 3 4 5
404