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)

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

DocumentRoot and Directory - necessary outside of VirtualHosts?

The default config had the following in the root: DocumentRoot "${SRVROOT}/htdocs" <Directory "${SRVROOT}/htdocs"> Require all granted </Directory> Is it correctly ...
0
votes
0answers
16 views

Custom ports broke apache

I wanted Apache (v2.4.41) to listen to port 802 and 44302 instead of 80 and 443 on my Ubuntu (v20.04) server so I did the following: Edited the port numbers in /etc/apache2/ports.conf. Now the file ...
0
votes
1answer
20 views

Correct permissions for WordPress directories and files on Ubuntu 20.04 with Apache

My client's website is hosted at Digital Ocean and is running Ubuntu 20.04 with Apache. I have WordPress installed and running with some issues. The ability to upload or update plugins and themes is ...
0
votes
0answers
65 views

Application alias rewrite using apache

I am new to apache and i am trying to rewrite an application default alias to a more elegant one using apache but unfortunately i struggle and i can't find a way to do it Can you help me please ? What ...
-2
votes
1answer
33 views

Why does Apache send HTTP/1.1 when client requests HTTP/1.0? And many other very similar problems

Apache sends HTTP/1.1 when client requests HTTP/1.0? Why? So the request is: Connected to example.com port 80 GET / HTTP/1.0 The response is similar to: HTTP/1.1 200 OK Server: Apache It says HTTP/...
1
vote
0answers
19 views

Apache 2.4.46 launched from working AWS EC2 AMI runs but will not respond

I launched a new instance of an Amazon Linux 2 server (from a daily backup snapshot). Everything looks normal and Apache starts but it will not respond to requests. I have ssh access and I can see ...
0
votes
0answers
15 views

Cross file Define

I'm trying to implement a system for safer updating and testing of updates to my website. The idea is to have two virtual hosts, one pointing to the production version, and another for the development ...
1
vote
1answer
41 views

Apache Do Action Only If Path Contains

I'm using the following in an .htaccess to remove the extension from .php files: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php [NC,L] It works great, but how can ...
-1
votes
1answer
32 views

How to group data being split and posted to two backend Apache servers behind a frontend Nginx load balancer?

For a requirement of my client, I want to set up a load balancer using Nginx with two upstream backend Apache webservers. I think it should be like: Server1: Nginx Load Balancer. Server2: Apache Web ...
1
vote
1answer
51 views

Redirecting HTTP to HTTPS without DNS or static IP

I've setup web servers in the past, but now I'm working on an embedded Linux project that is a bit different. I need the embedded Linux device to run an Apache server support DHCP not require any DNS ...
1
vote
1answer
29 views

Apache SSL Proxy Pass not working, but it does with VirtualBox NAT port forwarding

I configurated Apache proxy pass on port 80 and 443. Port 80 works but it seems that for 443 I do not get any response. From my public ip I got no response from server. This are the virtual host ...
0
votes
1answer
47 views

Apache Site Goes To Wrong Page If I Manually Enter HTTPS:// in the URL

If I type in example.com into the URL it redirects to https://www.example.com which is great, same with typing http://example.com I get the correct redirect to https://www.example.com. However if I ...
0
votes
0answers
17 views

WordPress error: This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php

I have some WordPress websites server with root access, and at the time of creating the server, everything was fine and WordPress itself and plugins and themes were updating without any issues, but I'...
0
votes
1answer
21 views

How to restrict access between folders on the same virtual host

We plan to host WordPress Blog and an Ecommerce store on the same domain, so the URL's will look like this: example.com <--- Magento Store example.com/blog/ <--- WordPress Blog Our main concern ...
0
votes
0answers
19 views

Change time in Xampp Apache [closed]

I want to know if there is a way to change Apache time to another time. for example, we are in 2021,31, March. but I want to set time in Apache to 2021,1, March to test my applications. Let me know if ...

15 30 50 per page
1
2 3 4 5
350