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

How can i make apache limit requests to a certain url within a certain time frame?

I'm trying to use mod_evasive and mod_rewrite to accomplish this. With the configurations below apache just blocks all access to those URI's regardless of how many times a visitor accesses them within a given time frame. So far i have create a…
0
votes
0 answers

Apache is not reading .htaccess file

I'm having trouble getting an .htaccess file to work on my self-hosted server. I'm trying to redirect all visitors to HTTPS and non-www using the following directives: RewriteEngine On RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} ^www\.…
RAD6000
  • 113
  • 3
0
votes
0 answers

Apache Virtual Host Server Name Bug Involving A Subdomain Name With Numbers

Hi I have a virtual host on my apache server that isn't working, i've narrowed it down to it being the server name, particularly the server1a (1) part because if I remove the 1 it works but have absolutly no idea on where to even start with fixing…
0
votes
0 answers

apache2 mod_md module is offering ".md" files to download

I have a apache2 server with mod_worker i have mod_md enabled and have configured a domain as follows : achace2ctl configtest is OK and the server started well the problem is it offers me the index.md file to download, instead to parse it to html Is…
Max Muster
  • 337
  • 2
  • 6
  • 27
0
votes
0 answers

Proxy apache2 to container gives 404 error

I am new to apache2 I've followed every tutorial on the internet, I think I've seen every question but it didnt help. The problem is that My container contains flask app. Container listens to 45654 port. assume my hostname is "myuni.edu" which is…
0
votes
1 answer

Getting 404 on a specific path /pricing with Apache server

I've set up an Apache server on Ubuntu 20.04 The site loads fine when I load the home page first (https://leadzilla.ai) and after that when I click on the pricing button and it takes me to https://leadzilla.ai/pricing and the that page loads fine as…
Saurav Gupta
  • 101
  • 2
0
votes
2 answers

nmap vuln script detects vulnerability "Apache byterange filter DoS http-vuln-cve2011-3192" in Ubuntu Webserver, but apache2 not installed on server

I am running an Ubuntu 20.04 LEMP (Linux, Nginx, MariaDb, PHP) webserver. I am also doing some nmap vulnerability tests form my MacOS Client machine. On MacOS, I am using Oh My Zsh! with the nmap plugin enabled. To do some vulnerability tests on my…
DanRan
  • 73
  • 1
  • 3
  • 22
0
votes
0 answers

Apache on OSX: "not running" and "already in use" for all processes?

OS: macOS Mojave 10.14.6 HTTP Server: Apache 2.4.55 When trying to restart apache server, I get "Address already in use..." message. Hm, so there must be a process that listens to that port, right? With this line (from elsewhere) in Terminal to see…
pop
  • 101
  • 2
0
votes
0 answers

Unable to Write, Permission denied

As an apache user, I was trying edit some files owned by a different user, lets call it docroot drwxrwxrwx 2 docroot docroot 327 Feb 15 20:34 . drwxr-xr-- 53 docroot docroot 8192 Jan 31 17:49 .. -rwxrwxrwx 1 docroot docroot …
asim
  • 101
  • 1
0
votes
0 answers

Apache reverse proxy websockets correct way

<---> <----> I don't want the Client A to connect to Server B directly, well it shouldn't that's why I'm using a reverse proxy, Server B can be easily accessed by Server A on the other hand Server B…
Steve Moretz
  • 173
  • 1
  • 9
0
votes
1 answer

Apache2 VHOST matches wrong server name

I'm running Apache 2.4.54 on Debian Bullseye and have 42 VHOSTs configured. Most of them are subdomains xxx.my.domain.com of our main domain, say my.domain.com. One client has a special domain. There is also a default VHOST to catch all the…
Powerriegel
  • 385
  • 1
  • 6
  • 16
0
votes
0 answers

Use ProxyPass only when upstream available in Apache

hope this question is not too silly. In Apache I'm using ProxyPass: ProxyPass http://localhost:3000/ However I cannot be sure the http://localhost:3000/ will be available. If not apache will crash. How can I make it still…
Murakami
  • 113
  • 4
0
votes
1 answer

How to disable ssl_request log on Apache?

Our internal Apache instance on a Windows server is regularly filling up the disk with C:\Apache24\logs\ssl_request.log.yyyy-MM-dd.log logs. They seem to be rotated, although their sizes vary (200 - 700MB). I see no value in these logs for this…
Martin
  • 589
  • 4
  • 10
  • 27
0
votes
0 answers

Apache2 SSL certificate error when other website site is enabled , server not picking up the right certification or configuration

I have 2 SSL configuration files for 2 sites. Both SSL are covering www and non-www versions of the sites. The first SSL one works for SiteA. As soon as I enabled Site B, it looks like my server uses the certificate for Site A and therefore says it…
0
votes
0 answers

Apache2 http server and Openvpn server on the same machine

Installed Apache2 server on my Linux Mint 20.3 Cinnamon and I could easily reach my http pages from web pointing to the static ip address of my router where I have configured the right http port. I decided to install on the same machine an openvpn…
papaya
  • 1
  • 1