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

Send SSL requests to localhost:port using apache

I'm running a meteor application, due to restrictions I must use Apache as the webserver. There are also other existing websites hosted on the same domain under different locations e.g. https://example.com/phpsite1, https://example.com/phpsite2. The…
0
votes
1 answer

File on doc root won't change unless path changes

I found strange problem about my server/ apache. I make change of content of some files, lets say, on var/www/test-app/index.html. when I visit the browser: http://localhost/test-app/index.html, the change does not appear, It just like it was not…
Charlie
  • 109
  • 2
0
votes
1 answer

Apache error log permission issue after deleting in CWP

I am using CentOS Web Panel (CWP) and Apache as a web server. I have deleted the Apache error_log and recreated one using the command below: touch error_log I have successfully created the error_log but it didn't wrote any error to the file. I did…
PaladiN
  • 103
  • 1
  • 3
0
votes
1 answer

Wordpress, tomcat, apache2 and nginx: redirect loop on wordpress

I've installed tomcat for one website and apache2 for another (wordpress). The problem happens with wordpress website. There is nginx for reverse proxy and here it is: server { listen 80; root /var/www/html/; index…
maximus
  • 145
  • 6
0
votes
1 answer

Apache2 default page instead of nginx default page

I set up a Django local server with Nginx, Gunicorn and Ubuntu following this tutorial: https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-14-04 I tested it on a local network and worked…
0
votes
1 answer

Idiomatic way to serve an internal server and a php directory under the same domain name with apache

I tried many things since yesterday with no good result. Here is the situation I have an internal server listening on port 4000 and a wordpress directory located in /var/www/html/wordpress. I use ProxyPass / http://locahost:4000/ to handle the…
0
votes
1 answer

Ubuntu server randomly kills Apache2 - I guess I know why

Been weeks, even months, that after a logrotate, my Apache2 server suddenly stops and can't restart, mainly because of the password on the cert. but I do not want to remove it. At the beginning I thought it was due to Logrotate. But then, I…
aPugLife
  • 287
  • 1
  • 5
  • 14
0
votes
1 answer

Two proxypass applications behind apache

I am running two web applications, one is tornado-based and the other one is cherrypy based, behind apache on an opensuse server. Both run on different domains pointing to the same IP. The two applications are running on the same server, and serving…
0
votes
1 answer

https works on webmin but not on domain name

I got an issue with the https request, when it comes to the access webmin, is working fine even the certificates are working pretty good. when i try to access the domain using https is not working. I am using an Amazon Web Service. on Aws the i have…
0
votes
1 answer

Apache2 and Tomcat7 with BASIC authentication (Ubuntu)

I recently deployed a Java webapp on a Tomcat7 fronted by an Apache2 on a Ubuntu 14.04 VPS. I am connecting the Apache2 and the Tomcat7 with mod_jk. All the static resources are server by Tomcat, but I wanted to front it with an Apache for best…
niilzon
  • 101
  • 2
0
votes
1 answer

Running Ruby on Rails and PHP apps side-by-side under the same (Apache) web directory structure

My company have several apps running alongside on an Apache2 web server which resides on an Ubuntu server. Our setup includes: A portal website is set at Apache's document root "/" Another customer service app (written in PHP) resides under a sub…
0
votes
1 answer

Apache2 reverse proxy to access multiple lan servers from wan

I've got about 5 web applications on different servers running on my LAN, which are all listening to port 80 I would like to make them accessible from the internet by setting up an Apache reverse proxy on my main webserver, which is running on…
0
votes
0 answers

Apache 2.4, 403 on all php scripts, html works

After upgrading from Debian 7 to 8 and therefore from Apache 2.2 to 2.4, I'm facing some issues regarding php scripts. As the configuration files between the apache versions are not compatible, I did a fresh install of apache after the upgrade.…
Roper
  • 121
  • 3
0
votes
1 answer

singular access log entry without leading slash

When tracking down a PHP notification of WordPress in canonical.php where parse_url() created an array without 'path' entry, we found this related line (with a corresponding 301 redirect) in access log: 188.165.XXX.XXX - - [29/Jun/2016:07:58:34…
0
votes
1 answer

Ubuntu LAMP server disconnects after some time

I am trying to move my websites from shared hosting to the vps I rented, so I am trying to set up LAMP stack. After installing all, the server works fine at start, when I visit it's IP address on browser, I get the apache2 test page. But, after some…