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
2
votes
0 answers

SFTP message authentication code incorrect / HTTPS upload errors

I have a number of Ubuntu Server 16.04 LTS instances running as virtual machines on Microsoft Azure. Since a week, we are having problems uploading bigger files via both SFTP and HTTPS to these servers. The strange thing is that nothing changed on…
2
votes
2 answers

Fail2Ban and modsecurity not working

so due some spamming attacks and stuff I decided to enable modsecurity on my webserver. I installed Fail2Ban and configured it like that: excerpt from jail.local: # # Custom modsecurity # [modsec] enabled = true filter = modsec action =…
Smoki
  • 131
  • 1
  • 4
2
votes
1 answer

Server throws LimitInternalRecursion error when using htacess

I'm quite new to .htaccess and I just didn't get into it enough to understand what's going on. The server just says, limit of 10 internal redirects exceeded even though I can't see any reason for it to "redirect". It only happens when I try to use…
user407022
  • 21
  • 2
2
votes
1 answer

AWS SNS Sending too many notifications

Problem In one sentence SNS Topic sending too many notifications to HTTPs subscriber. More detailed I have enabled events in one of my S3 buckets, and I have subscribed one of my applications to its SNS Topic via HTTPS. Everything was working fine…
2
votes
1 answer

.htaccess to allow only from Cloudflare with specified X-Forward-For IP

I want to allow people to access my page from specified IP. However, I am behind Cloudflare. The only way to get user IP is from X-Forwarded-For header. But I cannot trust X-Forwarded-For, because people can bypass Cloudflare and directly access my…
Monkey D Luffy
  • 405
  • 1
  • 3
  • 8
2
votes
2 answers

Using FilesMatch to target ALL files

I've tried unsuccessfully to use the Apache FilesMatch directive to process all files as PHP. Using this , I'm able to process specific file extensions as PHP, but I'm unable to find a directive that encompasses all file types,…
Ralph
  • 862
  • 11
  • 26
2
votes
1 answer

NFS home for multiple computers

I'm here to ask something that is taking me a lot of time and now I don' t know how to continue, and this is a really big(and awesome) community. Well, the problem is that I'm trying to do a distributed Linux system for schools and universities, It…
Brokes
  • 23
  • 1
  • 5
2
votes
2 answers

apache2 dbd authorization without authentication

I would like to authorize users just by username, ignoring any passwords. User name is a license ID. If you have it, you can access the site otherwise not. The system works now on Apache 2.2 with mod_auth_mysql by setting AuthMySQLNoPasswd On. Now I…
andi
  • 143
  • 1
  • 2
  • 12
2
votes
1 answer

Inheritance in apache2 configuration

I have a website with 20 different SSL certificates served with SNI. The current configuration file is rather long and have many duplicates, as I have 20 blocks, with mostly identical values, for ServerAdmin, DocumentRoot,…
iTayb
  • 791
  • 4
  • 10
  • 25
2
votes
2 answers

Access site without domain name via IP address on server with multiple virtualhosts

I have a single Digital Ocean droplet with 5 websites hosted on it via virtualhost. Everything works fine. Their domain names point to each one individually. Using Ubuntu 14.04 and Apache. I want to add a sixth "test" site, without a domain name…
2
votes
1 answer

Close HTTP connections to apache HTTPS port

When a client issues an http request to an apache https VirtualHost apache responds with: 400 Bad Request

Bad Request

Your browser sent a…

Cirdec
  • 121
  • 4
2
votes
2 answers

What happened to libapache2-mod-macro in Xenial?

Our server stack is quite reliant on the Macro mods for Apache. In previous distros (i.e. Ubuntu Trusty Tahr, 14.04), that functionality came in the libapache2-mod-macro package. However this package has disappeared from Xenial (Ubuntu 16.04). Does…
haz
  • 123
  • 4
2
votes
2 answers

WINNT Apache MPM "ThreadsPerChild" configuration on Windows Server 2008 R2

I am getting error and unable to start Apache when I set my ThreadPerChild to 200 , although I still have 60% free RAM. Server is Windows Server 2008 R2 With 4GB RAM. How to utilize more RAM to apache in this case? My Apache MPM Configuration: #…
2
votes
1 answer

Are there any top like utilities for real time HTTP traffic analysis

Near real time is also okay, I guess it will be possible say by parsing the access log continuously and show the real time status, e.g. most requested files, top remote ip. I heard about these tool before but cannot remember the name of it. Any one…
Ryan
  • 5,831
  • 24
  • 72
  • 91
2
votes
1 answer

Let's Encrypt automatically redirect to HTTPS not working

I have set up Let's Encrypt on my small Ubuntu server, and am using it on all non-IDN sites thereon. It has the option to automatically redirect HTTP sites to HTTPS. I selected that option. The Let's Encrypt daemon added three lines to each domain…
TRiG
  • 1,181
  • 3
  • 13
  • 30