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

Django-cms mod_wsgi Compiled vs runtime python version

I am an apache novice... that being said. I'm trying to run through a tutorial for configuring django-cms. Everything works well enough when I'm using manage.py 's runserver, but now I want to run this using apache on my local network. I have a…
hyleaus
  • 101
  • 2
0
votes
1 answer

apache about .htaccess file, i want to add multiple conditions to my .htaccess file

I need help to set up my .htaccess so it works with two different conditions. The first condition is : RewriteEngine on RewriteCond %{request_filename} -f RewriteRule ^(.*) $1 [L] RewriteRule ^(([^/]*)+)(/([^/]{0,32})(/.+)?)?$ index.php?a=$1&q=$3 …
0
votes
1 answer

How to use www ports with several virtual hosts

I've installed www/wordpress port, configured wp-config.php and set up Apache config accordingly. The site is running OK. Now, what should I do if I want another site to run Wordpress? I can't set /usr/local/www/wordpress as root dir for another…
arrowd
  • 319
  • 1
  • 8
0
votes
1 answer

phpMyAdmin authentication issues on upgrade to phpMyAdmin-4.0.10.17-2.el6

I've run into an issue where a routine upgrade of phpMyAdmin to phpMyAdmin-4.0.10.17-2.el6 from 0:4.0.10.16-1.el6 on CentOS 6 causes some strange behavior with logins to a mysql server. Basically, users are unable to consistently login. I've tried…
Chlorus
  • 13
  • 3
0
votes
0 answers

Apache Bad Request through Cloudflare 2053 SSL port

I have CloudFlare serving traffic on port 443, connecting to my vHost on port 2053. The connection to CloudFlare succeeds, but the server sends a 400 response. The idea of this port is to serve a private / hidden control panel through that port just…
Nex
  • 1
  • 1
0
votes
1 answer

Multiple DocumentRoot in Apache2

We currently have a Turnkey appliance running with Debian and Apache2 for testing purposes. The Apache config file looks like this: ServerName localhost UseCanonicalName Off ServerAdmin webmaster@localhost …
Joe2265
  • 21
  • 1
  • 4
0
votes
1 answer

New apache2 virtual host only works for new visitors or incognito windows

I'm managing a LAMP stack and have tried to get a subdomain to redirect to an external url. We are running Apache 2.2.22 (Debian). I have created a simple virtual host to redirect to the external url: ServerName…
0
votes
1 answer

Apache2 seems busy

I have an Ubuntu 14.04.4 LTS server running Apache/2.4.7 and my error.log file is frequently getting this kind of message below: [Thu Sep 01 19:45:40.571637 2016] [mpm_prefork:info] [pid 1696] AH00162: server seems busy, (you may need to increase…
Rod Elias
  • 101
  • 1
0
votes
1 answer

Access apache2 virtualhost on oracle vm guest through nat?

my problem is the following: I have an Oracle VM with debian on it running apache2. This apache shall handle two webservers, therefore my conf looks like this: < VirtualHost *:80 > (no spaces, serverfault just shows it wrong without) …
lemon
  • 21
  • 1
  • 6
0
votes
0 answers

Confluence starts with Error Code 101: Login required

I installed confluence on my webserver. I used the instructions from https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-apache-http-server-mod_proxy_http-806032611.html My vhosts.conf file looks like this:
fcb1900
  • 101
0
votes
1 answer

Run two apache (httpd) servers on CentOS 6

I'm actually working on an old CentOS 6.5 server during my internship in a society that produces maps. I worked last month on a CRM implementation that runs on an apache2 located in /usr/local/apache2/ and uses some ports. My boss recently asked me…
Roozaay
  • 3
  • 2
0
votes
1 answer

error while re-installing apache2 on ubuntu 14.04

I remove apache from my machine following these steps: sudo apt-get remove apache2* sudo apt-get autoremove sudo rm -Rf /etc/apache2 I was able to remove it successfully but when I tried to install it again I got this error: /etc/init.d/apache2: 64:…
SSM89
  • 103
  • 2
0
votes
3 answers

Prevent Apache2 from writing startup information in error log

Apache2 is always writing startup information into the error log. See the following output: [Fri Aug 26 12:57:54.298895 2016] [ssl:warn] [pid 4287] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache] [Fri Aug 26 12:57:54.326885…
Isidius
  • 3
  • 3
0
votes
3 answers

Is it normal for Non-SSL site to return 'Unable to connect' when accessed via HTTPS://

I'm speaking only about servers that doesn't have any SSL certs (self-signed or by authority). Is it normal for site that doesn't have anything about SSL (default config, clean installed apache/nginx) to return Unable to connect (firefox) or refused…
xMudrii
  • 3
  • 2
0
votes
1 answer

Apache RewriteEngine affect Tomcat access

There is the problem, I have configured htaccess to rewrite all access for http to https, its ok. But i need make a exception for Tomcat on 8080 port. My .htaccess: RewriteEngine On # Redirect all HTTP traffic to HTTPS. RewriteCond %{HTTPS}…