Questions tagged [apache2]

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)

The Apache HTTP Server is a popular Open Source Web server. This tag should be used for general questions about Apache HTTPd.

Although there is large degree of commonality between the different versions in the 2.x branches, please consider using the Apache-2.2 or Apache-2.4 tags instead for more specific Apache HTTP Server related questions.

Documentation for all major versions is both comprehensive and has a high degree of accuracy.


1741 questions
0
votes
0 answers

Does certbot mask apache2?

I recently ran a certbot command using --webroot on a server. Everything worked fine for 8+ hours. This morning my frontend went down. Upon investigation I discovered that the apache2 service was down. It was masked for some reason so I unmasked it.…
Bix
  • 101
  • 1
0
votes
1 answer

Installing Apache in different name and different port

If Linux server already has Apache web server running as httpd on port 80 to serve hosted website. and If I want to create a control panel to manage the server so I need to install a web server to serve the control panel GUI in different port for…
0
votes
0 answers

Renewing LetsEncrypt Certificate stops Apache based web site from working

I received an e-mail recently from LetsEncrypt telling me my website certificate was about to expire - I configured the website to use HTTPS only. The certificates were auto-renewing without any problems until now. I upgraded the OpenSSL libraries…
Skizz
  • 111
  • 7
0
votes
2 answers

HTTPS breaks Socket.io connection

Fault description I have in my test environment Rasa chatbots running in docker containers. Chatbot's fronted is a Botfront webchat widget in a website served by Apache2 in same server. I also installed Nginx as reverse proxy which then serves…
0
votes
1 answer

Apache2 simple reverse proxy forwarding http traffic to lxd container only loads plain html very slowly on graphic browser

The actual web servers run on LXD containers, while the host Apache2 simply forwards http traffic to the containers. The setup is simple on the host, everything else is default: ServerName example.com ServerAlias…
seamux
  • 1
0
votes
1 answer

Apaches virtual host config suddenly not working anymore; how to debug?

out of the blue my virtual host config doesn't work anymore. So my setup sould be quite easy: On Port 80, I want to deliver two WSGI apps, and that's the .conf file I'm using: ServerName mogli.secret.de ######### …
Standard
  • 53
  • 7
0
votes
1 answer

Nginx server keeps serving Debian main page

I am trying to set up a simple custom website. I have built a simple server using Golang and the Gin-gonic framework. My Go server is as follows: func main() { r := gin.Default() r.GET("/", ServeMainPage) …
0
votes
1 answer

Email click results in multiple requests from different ips and user agents

i run a small website that tracks game attendance for teams. Email is dispatched to the team players with 3 links in the email, 1 for attending, 1 for not attending, 1 for might be attending. Each user simply clicks on the link in the email to…
airyt
  • 101
  • 1
  • 3
0
votes
1 answer

Apache 2.4: How to log POST data?

I have my LAMP application hosted on AWS EC2 Linux 2 instance. I can see requests logs in /var/log/httpd/access_log but there is no POST data there. I could figure out that I can use mod_dumpio or mod_security but I cannot get it to work. I am new…
0
votes
0 answers

Home userdir is not working after enabled on Apache2

I'm trying to enable userdir in Apache2 but I only receive a blank page. I used: a2enmod userdir service apache2 restart My conf file /etc/apache2/mods-enabled/userdir.conf UserDir public_html UserDir disabled…
gvd
  • 109
  • 4
0
votes
1 answer

Apache mod_action producing 404s

I'm trying to setup a custom action handler for certain files in Apache (running on Ubuntu). It looks to me like I have my site config setup correctly for the action handler, but now when ever I access any file handled by it, it 404s. If I remove…
Adam
  • 101
  • 3
0
votes
1 answer

Can't upgrade debian stretch php to 7.x

I need to upgrade my server (debian 9) php version from 7.0 to 7.1 at least, but it seems that apt doesn't find any version. I did: apt update apt upgrade And now if I do apt install php7 or apt install php 7.1 (or 7.2 or 7.3 or 7.4) or even apt…
Entretoize
  • 135
  • 7
0
votes
0 answers

Server supports TLS1.3 but refuses 1.2

I have the following Problem: Im hosting my website and some tools on a VServer running Ubuntu 18.04 behind an apache2. Some people told me that they can't reach my website and I tracked it down with https://www.ssllabs.com/ssltest to being probable…
Johannes
  • 1
  • 1
0
votes
2 answers

"CORS Multiple Origin Not Allowed" - using parse-server and apache2

I am using apache2 as a reverse proxy for my parse-server. In order to allow Cross Origin Requests I originally tried setting: Header always set Access-Control-Allow-Origin "*" in the apache config file together with: ProxyPass /parse/…
0
votes
0 answers

Insecure Apache + mod_userdir configuration

TL;DR: How can I enable mod_userdir in a secure way? (meaning: each user should be able to create and serve their content in ~/public_html but they shouldn't be allowed to read each others content nor directly - cat /home/userX/public_html/file-…
Juanan
  • 301
  • 3
  • 7