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

Cant access http public IP Adress with google cloud compute engine

What did i do so far? I tried restarting apache2, i tried to see if the firewall was open but still nothing seems to work. Can someone help me, the public ip address suddenly changed and from that moment it broke everything before that it worked…
0
votes
0 answers

How can I configure "apache2" correctly using multiple sites through VirtualHost?

I configured two sites using the "VirtualHost" method in apache2, but if there is an error in the first configuration file when I call my site, it enters the second site. my configuration files are: 1: audio-castle.live: Protocols…
0
votes
1 answer

Why does Apache server return 404 on subfolder, when it was previously working

I just installed some new SSL from GoDaddy on my Apache Ubuntu server. I then restarted via SSH and everything looks good. The root site (a wordpress install) now loads fine with https. However, there is another HTML site in the /app directory,…
Dave
  • 101
  • 2
0
votes
0 answers

How redirect 403 on apache2 ubuntu

When I enter http://ipAddress in the browser's address field, it works. When I enter https://ipAddress it returns NotSecured website. How can I change my configuration so that it generates a 403 error? ServerAdmin…
0
votes
0 answers

I couldn't upgrade apache2 from 2.4.41 to 2.4.5 on Ubuntu vps

I'm trying to use websockets on my website running on an apache2 (version 2.4.41) but since mod_proxy_wstunnel module is only available on 2.4.5 I guess I need an upgrade. I tried this sudo add-apt-repository ppa:ondrej/apache2 sudo apt update sudo…
0
votes
1 answer

Apache2: Disable web services and only use mod_proxy

Is there a way to disable the webserver functionality of the Apache2 webserver and only use mod_proxy?
Lucas Kauffman
  • 16,880
  • 9
  • 58
  • 93
0
votes
1 answer

How to fix TLS v1.2 issues? (SSL Lab)

I need to fix this problem. Tried a lot of methods to beat this problem, but all failed.
0
votes
1 answer

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 type in https://example.com it takes me to the…
Z D
  • 11
  • 3
0
votes
1 answer

Apache redirect URL to another virtualhost

I have two sites which runs independently on my VPS, let's call them site1 and site2. They are respectively located at /var/www/html/site1 and /var/www/html/site2 I don't have a domain name yet but I can acces my site using server IP, let's say its…
Arkaik
  • 113
  • 7
0
votes
2 answers

Apache2 react app + laravel REST api on same domain

So my goal is I have my domain named example.com conf for example.com ServerName example.com ServerAlias www.example.com ServerAdmin webmaster@localhost DocumentRoot /var/www/public_frontend …
0
votes
1 answer

How do I allow users from a specific group only to access (apache2, mysqli)?

I'm trying to set up an authentication system based on basic apache2 auth. For this I configured mod_authn_dbd to use a mysqli database set up like this:…
0
votes
0 answers

Issue with api request from linux

I have issue with http bearer auth json post to api. Used apps or and php methods wget console curl php curl file get contents Sucessfull scenarios - post request Computer connected to same network as server. request from wsl1 Debian request…
newman
  • 51
  • 3
0
votes
1 answer

Static files with Python, Apache (Proxy) and SSL

It's my first question in the community, i apologize in advance if I write something wrong I developed an application in Python (Django) and in the quality environment I am using gunicorn to provide the deploy: gunicorn --bind 0.0.0.0:8000…
0
votes
1 answer

curl: (60) SSL certificate : unable to get local issuer certificate - ubuntu

We run the following software versions: Ubuntu 18.04.5 Apache 2.4.29 curl 7.58.0 We run an education application, and as part of this we have numerous APIs which upload files to a third party website https://api.turnitinuk.com from our webserver…
mac987
  • 1
  • 1
  • 1
  • 2
0
votes
1 answer

HA-Proxy errors in configuration file

Below is the configuration file for my haproxy in which i want to setup the varnish as backend & in frontend want to configure the Port-80 for http & for the port-443 for https global log /dev/log local0 log /dev/log local1 notice chroot…
Vinod
  • 1
  • 3
1 2 3
99
100