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

ubuntu-14.04-x86 Apache not connecting

My server is set to ssl only and the only site available is this: ErrorDocument 400 /index.html ErrorDocument 401 /index.html ErrorDocument 402 /index.html ErrorDocument 403 /index.html …
User666
  • 1
  • 1
0
votes
1 answer

Apache .htaccess: do not redirect if

I'm struggling to find out how to perform the following redirection via .htaccess and it's driving me a bit crazy. Scenario: If requests points to one of the following paths, do not perform any redirection: / /#/ /#/admin /#/auth Otherwise, point…
jrance
  • 1
  • 2
0
votes
1 answer

Apache mod_proxy_balancer configuration

Environment: 5 apache instances (balancerX) which distribute the traffic among 3 application servers (serverX). With mod_balancer configuration by request with same loadfactor, server1 has a huge load while the other ones are having less load,…
0
votes
1 answer

Opened a new port :8083, but cannot connect from anywhere

I have a remote ubuntu 14.04 OS and recently opened a new port 8083 by adding two lines on the /etc/apache2/ports.conf as below Listen 8083 Listen 0.0.0.0:8083 My public IP for my remote server is 52.24.182.161 and whenever I visit…
0
votes
1 answer

How to convert header to hostname in Apache?

Basically I want to do the opposite of this question: Sending machine hostname as a header in Apache A header in the request (say "OIDC_CLAIM_nickname") contains a hostname. I want to proxy the request to hostname.somedomain.com How do I do…
Stefan D
  • 103
  • 3
0
votes
1 answer

Adventages of Docker as development envioroment

I have my dev server with bit older PHP version. However sometimes i need newer versions of PHP or MySQL for certian projects, sometimes older. I'm considering setting up a Docker server, but I'm not sure how it would work out. My main goal would be…
Gacek
  • 1,201
  • 2
  • 10
  • 10
0
votes
1 answer

TTFB taking 2 mins on some pages

We have a server that has recently gotten into an issue where the TTFB (Time To First Byte) takes 2.0 minutes to pass on some subpages of a website. Some other websites, hosted on the same server, does not experience. The wierd part is that when…
0
votes
1 answer

Configure puppet to install particular Apache version from PPA

My problem is similar to Installing package from PPA using Puppet but I don't know how to make it work. I want Puphpet to apt to install Apache 2.4.23-5.0 this PPA instead of the normal deb repo. There is already a version of the same name in the…
0
votes
1 answer

Fixing path issues on php application

I've installed a2billing. The problem is that it's showing only blank pages. Here is the apache log: [Sun Oct 23 17:51:17 2016] [error] [clientIP ADDRESS] PHP Warning: include(../lib/admin.defines.php): failed to open stream: No such file or…
nameLess
  • 21
  • 5
0
votes
0 answers

How to reduce extremely long delays when sending ajax requests through apache2 reverse proxy?

I'm developing a web application in which the forms send ajax call to the server to save the data. When running it locally or talking directly to the server the whole request take less than a second but as soon as it has to go through an apache2…
alekl
  • 1
  • 1
0
votes
1 answer

Apache2 tries to access top-level directory when using ScriptAlias

I'm using Munin-cgi as my servers' monitoring system. One moment i realized that i have strange and very annoying notes in my error.log whilst everything kept running well and without errors. At the moment i commented out everything in my apache…
Diver
  • 1
  • 3
0
votes
1 answer

Failed to write session data (files)

I'm trying to set up a fonctionnal Apache2/PHP web server on my debian Jessie machine. It seems I cannot handle session variables. These lines keep repeating in /var/log/apache2/error.log: [Wed Oct 12 19:11:24.828962 2016] [:error] [pid 28677]…
nicoco
  • 157
  • 2
  • 2
  • 9
0
votes
0 answers

letsencrypt/certbot python cryptography error

My certificates expire in a few days and I haven't had any luck updating them with letsencrypt-auto or certbot-auto. As fas as I can tell, everything is up to date but I get a: Running setup.py install for cryptography: finished with status…
innesngunn
  • 101
  • 2
0
votes
1 answer

Http opens different apache site than https

I have setup http redirect to https in my enabled site cloud.conf so recently I enabled site 000-default using sudo a2ensite 000-default now this enabled my 000-default site and it was opening the expected document root with no http to https…
Ciasto piekarz
  • 111
  • 1
  • 10
0
votes
1 answer

Apache - allow proxy, block direct port call

I have a VPS that acts as a proxy for ssh-tunneled webservers. Right now you can call: http://myserverdomain.com:1234 and you are connecting into server1 http://myserverdomain.com:2345 and you are connecting into server2 I added apache config with…
Mark
  • 101
  • 3