Questions tagged [apache-httpd]

Use this tag for questions related to the Apache HTTP server (any version, but make sure to provide Apache version numbers in the question unless not relevant). Non-apache web server-related questions should use the tag: webserver.

ASF Logo

Apache is an HTTP server that has a large installation base within the UNIX & Linux community.

The server has already gone through several iterations, resulting in similar -- but not 100% compatible -- installations and configurations. Include the version of Apache in your question unless you are sure that it is irrelevant.

Apache ships with modern distributions, and extensions (e.g. 'mod_wsgi`) are available as separately installable packages.

Apache is one of many projects maintained by the Apache Software Foundation.

1767 questions
8
votes
1 answer

What do the "apachectl fullstatus" columns mean?

The columns are: Srv PID Acc M CPU SS Req Conn Child Slot Client VHost Request
camomileCase
  • 3,865
8
votes
1 answer

httpd running as apache.apache, but logs owned by root.root?

ps shows my httpd processes as apache 29561 15186 0 15:30 ? 00:00:00 /usr/sbin/httpd I'm running Centos 5.3 All the log files in /var/log/httpd are owned by root. How come?
7
votes
1 answer

Would upgrading to Debian 9 allow me to use HTTP/2 with Apache?

I would like to install mod_http2. I currently have Debian 8 with Apache 2.4.10. I understand that it's probably not a good idea to try to manually install a later version of Apache. So, for this reason, I am considering upgrading to Debian 9. Will…
sdexp
  • 207
7
votes
1 answer

Apache 2.4 wants me to decide: Require valid IP or require valid user

Apache 2.4 seems to mixed all: IP denying and user denying are not working independent anymore.. In older versions I am able to enable the two things, and work with it without one affecting the other, for example: deny from all allow from ip1 allow…
6
votes
1 answer

Implementing a Captive portal using Apache

I have been trying to build a captive portal in Apache that I plan to be Apple CNA aware. I found several relevant posts in StackOverflow, including Captive portal popups... and How to create WiFi popup login page. I defined the relevant Apache…
Rui F Ribeiro
  • 56,709
  • 26
  • 150
  • 232
5
votes
1 answer

Where do I set FollowSymLinks?

I have just set up an Apache 2.2 server on a new Linux Mint installation. I am recreating a previous set up I had on an old Ubuntu machine. On my previous computer, I had to enable FollowSymLinks in httpd.conf, because I store my web site HTML files…
Questioner
  • 1,150
  • 5
  • 21
  • 35
5
votes
0 answers

Debian, Apache, mod_userdir, suexec, php-cgi

I managed to configure Apache with php-cgi and userdir, I can access user home pages with domain.com/~userN/. But everything is run under www-data user. I would like to enable suexec to run .php and other CGI files. My question is how to enable…
Kamil
  • 1,461
4
votes
0 answers

No space left on device: AH00023: Couldn't create the ssl-cache mutex

Earlier today, we faced an issue when the Apache (MPM, installed over CentOs on AWS Cloud) server went down and we were unable to restart the same. The error which we got on the error log was: No space left on device: AH00023: Couldn't create the…
4
votes
3 answers

Why thepiratebay.se showing the content of /var/www/index.html?

I have elementary OS Luna, which is based on ubuntu 12.04 LTS. I have installed apache2 and turned it off. Now when I am opening thepiratebay.se, it is showing the content of /var/WWW/index.html. And also the localhost is set to 127.0.1.1, and not…
4
votes
2 answers

403 Forbidden, Tried everything

So currently I am getting the 403 forbidden error. I have tried everything that I could possible think of. It was working a couple of days ago however it has stopped working now. I have tried everything from adding: Order Allow,Deny Allow from…
3
votes
3 answers

Apache setting ports both in "NameVirtualHost" and "Listen"

In Apache ports.conf I have NameVirtualHost *:80 Listen 80 I can't understand that since in NameVirtualHost *:80 the port is already set, why there is a separate Listen 80. What does it mean? What would be if they were different?
McBodik
  • 177
3
votes
2 answers

How to enable HTTP gzip compression on Apache/Httpd?

I have a Centos 7 installation with apache / httpd running. I have some large .html and .txt documents which it serves. How do I enable gzip compression with DEFLATE? DEFLATE is present. apachectl -t -D DUMP_MODULES |grep deflate deflate_module…
Matt
  • 51
2
votes
2 answers

Is there a shorthand for multiple identical directory directives in Apache httpd 2.4?

this is Apache httpd 2.4. I am trying to port a legacy installation from 2.2 to 2.4 and clean it up a bit in the process. There are a lot off directories with identical setup, interspersed with a few dirs that differ. In essence, it looks like…
NoMann
  • 25
2
votes
1 answer

Apache 2.4 // FilesMatch

I wonder why test.html is Forbidden (as expected) but wp-login.php is available. I tried both FilesMatch and Files. They have similar "chown" and "chmod". I've read official Apache 2.4 docs. I googled a lot. I can not understand what's wrong in this…
Alexy
  • 21
2
votes
2 answers

Apache Directory directive not working behind a elastic load balancer

I am using directory listing from specific IP ranges. Recently, we moved the web server to AWS and using ELB. Now, even I am in IP range the Apache say's forbidden access. Anyone can help me?
1
2 3 4 5 6 7 8