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
1 answer

Apache2: How to Proxy the same url with different ports?

we have multiple different /apex instances. now we want to proxy the requests trough an Apache2-Server like this: request for instance1: http://proxy:8080/apex -> http://apex1:8080 request for instance2: http://proxy:8081/apex ->…
BrotCast
  • 11
  • 3
0
votes
1 answer

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 web pages to clients that belong to a specified…
Anirban
  • 103
  • 3
0
votes
1 answer

Apache does not start

I am trying to start Apache on my Webserver but I keep getting this error: httpd.service: Failed with result 'protocol'. Any solution would be appreciated. Edit: Log Entries Jun 3@ 63:41:59 racknerd-eaebS1 httpd[147681: AH@8558: httpd: Could not…
0
votes
1 answer

Apache2: apache2.conf rules for only one website ? ("virtualhost" websites)

I have multiple websites that I host on the same server (Apache2 / Debian). Therefore I use VirtualHosts (separate conf files in site-available folder) for each of my websites. I would like to test the following directive (and other directives as…
0
votes
0 answers

Smoothly handle access to secure site via VPN or Fixed IP

I am starting to sell a service, from a secure site to clients. Some have access via fixed IPs from their offices, some have VPN (softEther) access. I also have redundancy and hot cut over. Currently these all have different IP addresses which I…
Andyj12
  • 149
  • 1
  • 5
0
votes
1 answer

Apache2 SSL: None of the common names in the certificate match the name that was entered (works with www. but not without)

I'm using https://www.sslshopper.com/ssl-checker.html to check my site, and it's failing with this error message: None of the common names in the certificate match the name that was entered (example.net). You may receive an error when accessing this…
HC_
  • 101
  • 2
0
votes
0 answers

Apache logs AWS EC2

I'm new to AWS and just created an AWS EC2 instance using Ubuntu to host a website. The website is up and running but whenever I got in /var/log/apache2 to view the access.log file, it shows the public ip address when I access the site on my phone…
0
votes
1 answer

403 after pointing A-Record of subdomain to IP of other server

I have two servers X and Y. Server X: I have a VHOST for the subdomain test.api.konfigurator.company.de pointing to a directory which simply has a index.html containing the word "it works!". First I tested it locally, by editing my hosts file in…
Black
  • 461
  • 1
  • 8
  • 20
0
votes
0 answers

My Apache2 server got pwned, need some help uncovering impact

So I'm pretty sure that my home Apache2 server got hacked. This is in a VM running on my server. I was using this server as a https proxy/reverse-proxy for my other applications I have running at home. What happened was that I created a too small…
0
votes
0 answers

connecting domain to a server and port forwarding to show website hosted on another server

I have a website on server A with IP address of 1.1.1.1 and the domain is example.com. I also have another server B which IP address is 2.2.2.2. I want to connect the domain example.net to server B and somehow config the server so when users browse…
0
votes
1 answer

How to redirect port 8080 with apache?

I'm running a tomcat webserver on port 8080 behind a apache2, and want to redirect some ports. For testing, I'm trying to redirect to an invalid location, as follows: ProxyPreserveHost On RequestHeader set…
membersound
  • 275
  • 1
  • 5
  • 13
0
votes
0 answers

.htaccess deny access to subdirectories from a certain domain

I have a server with a security flaw: There's the main site https://example.com (on server /var/www folder) Then there's an additional app (on server /var/www/app/public) that is configured to be on https://app.example.com. So the app is also…
0
votes
1 answer

reaching apache public reverse proxy virtualhost url from localhost behind a NAT using iptables

I have an issue with a guest using virsh behind a server running with iptables firewall. This guest hosts websites, one is mattermost with reverse proxy. Everything is working well. I then installed collabora online 1:…
gstlouis
  • 119
  • 3
  • 12
0
votes
1 answer

Request exceeded the limit of 10internal redirects on cPanel Server

I just created a subdomain called virtual from cPanel and its return 500 error. When I check the error_log I see below error: AH00124: Request exceeded the limit of 10internal redirects due to probable configuration error. Use…
0
votes
0 answers

How to permanently change niceness of apache2 process on a Debian server?

I have Debian 11.2 with Apache2. I'd like to change niceness of all of my apache2 processes, or at least mod_wsgi processes, to +5. How can I do it? Adding Nice=5 to /usr/lib/systemd/system/apache2.service didn't change anything, probably because…
Xilexio
  • 111
  • 4