Version 2.2 of the Apache HTTP Server. When asking questions about virtualhosts, please include the output of the following command: "apache2ctl -S" (or "httpd -S" depending on your OS)

learn more… | top users | synonyms (3)

1
vote
2answers
628 views

Configuring mod_wsgi to use Python 2.7

I am trying to configure mod_wsgi to use Python 2.7. I downloaded and unpacked the source and ran ./configure --with-python=/usr/local/bin/python2.7 After this mod_wsgi.so-2.4 and mod_wsgi.so-2.5 ...
0
votes
0answers
6 views

Proxying an HTTPS webservice?

I need to invoke a cloud based SOAP web service. The WSDL is only available through HTTPS. My problem is my server doesn't have access to the internet, it is within the firewall. But I can use a proxy ...
0
votes
1answer
115 views
+50

slow SSL apache server

I have a problem with a slow Apache server with SSL 256bit cert ab -n 500 https://domain.com/ Time per request 29 ms ab -n 500 http://domain.com/ Time per request 10 ms 52 Bytes is sent in both ...
0
votes
1answer
10 views

MySQL process in Sleep command and page is loading after 1 minute

I'm using VestCP which installed for me Apache2.2, PHP 5.5.25, MySQL Percona and Nginx. I have an app built in ZF1 which works fine on all my development computers but on this server the application ...
0
votes
1answer
6 views

suexec AP_DOC_ROOT Path on gentoo

after a few years running php as mod_php I want to move to fcgi. On my server I run currently gentoo linux. I allready set up php als fcgi and everything is working. But there is one problem. I have ...
1
vote
2answers
246 views

Deny all “direct” traffic [duplicate]

My server is under heavy attack (maybe DDOS, I've no idea). I've checked the access logs (to put things into perspective, it's site with a daily 1000 visitors, nothing fancy): 78.176.175.208 - - ...
2
votes
1answer
23 views

Does SSLProtocol ALL -SSLv2 -SSLv3 also disable these protocols for outgoing connections from Apache

First off I'm not an Apache web server admin, I support an application which a customer is trying to connect to via Apache as a reverse proxy and load balancer. The customer has two versions of our ...
2
votes
2answers
1k views

Cannot connect on TFS 2012 server through SSL with invalid certificate

I saw the problem on some forums and even here, but not as specific as mine. So here's the thing, So I've configured a TFS 2012 server, on one of my personnel server at home, and now, I'm trying to ...
2
votes
3answers
383 views

Sudden increase in CPU usage and server response time

Over the past 10 days, I'm suddenly experiencing increased CPU usage on my website with CPU usage reaching 100% three times. During that time I'm unable to SSH to my website so I haven't been able to ...
26
votes
2answers
7k views

How to fix 'logjam' vulnerability in Apache (httpd)

Recently, a new vulnerability in Diffie-Hellman, informally referred to as 'logjam' has been published, for which this page has been put together suggesting how to counter the vulnerability: We ...
1
vote
2answers
2k views

Apache & Tomcat Load balancing via Mod_jk issue

I hope this finds you all in the best of your health and spirits. I have an issue with a new setup where I currently have 1 APACHE 2.2.15 & Tomcat 6.0.14 on RHEL. Mod_JK version 1.2.30. Ill add ...
-2
votes
0answers
9 views

enabling openssl with Apache/2.4.10 (Unix)

I need openSSL support for Apache/2.4.10 (Unix) on ArchLinux (Manjaro). Is there a pluggin which I should use ?
0
votes
1answer
43 views
+50

Redirect to absolute URL in .htaccess returns wrong host name on OpenShift

I'm setting up a web site on OpenShift. It runs under Apache 2.2.15, but I do not have access to the Apache root or logs so I am trying to emulate virtual directories in an .htaccess file at the root ...
0
votes
2answers
1k views

Deploying play! 2.0 application on an apache server with a reverse proxy

I'm trying to deploy my play! 2.0 application on an Ubuntu 11.10 server and I have been running into error after error and hope someone can help me here. I am try to deploy my Play! application using ...
-2
votes
1answer
66 views

Apache set max Content-Range

The Question: Client asks for: Range:bytes=0- Server responds with: Content-Length:8396748 Content-Range:bytes 0-8396747/8396748 I want to limit that Content-Range to 1MB chunks so the server ...
10
votes
1answer
8k views

How does Apache merge multiple matching Location sections

I'm working on some basic apache configuration, but I don't understand precisely how apache merges different <Location> sections when several of them match an incoming requests URL. The apache ...
6
votes
2answers
4k views

Git push over http (using git-http-backend) and Apache is not working

I have desperately been trying to get push for git working through the "smart-http" mode using git-http-backend. However after many hours of testing and troubleshooting, I am still left with error: ...
-3
votes
2answers
33 views

How to whitelist a directory in apache [on hold]

Files that I want to serve via browser are located at /root/my_folder (ubuntu 14.04). I changed a path from /var/www/html to /root/my_folder in /etc/apache2/sites-available/000-default.conf, after ...
1
vote
2answers
977 views

Session lost in tomcat uing nginx as proxy

I have several applications in a tomcar server. I am using nginx for proxy so i can achieve acceding the application from a subdomain tomat:8080/app1 > app1.mydomain.com tomat:8080/app2 > ...
5
votes
1answer
2k views

How to configure apache's mod_proxy_html to work as an ajax proxy?

I'm trying to build a web site that let's you view and manipulate data from any page in any other website. To do that, I have to bypass 'Allow Origin' problems: i'm loading the other domain's content ...
0
votes
3answers
1k views

Running nph-script.cgi keeps outputting Server details at the end

I am running a nph-script.cgi on my server. The server keeps adding HTTP/1.1 200 OK Date: Thu, 05 Nov 2009 02:28:53 GMT Server: Apache/2.2.8 (Ubuntu) PHP/5.2.8-1hardy~ppa1 with ...
1
vote
3answers
1k views

Empty rewrite.log on Windows, RewriteLogLevel is in httpd.conf

I am using mod_rewrite on Apache 2.2, Windows 7, and it is working ... except I don't see any logging information. I added these lines to the end of my httpd.conf: RewriteLog ...
2
votes
2answers
169 views

Can I detect when a client has disconnected from a CGI?

I have a rather resource intensive CGI that takes quite a long time to start sending data. We've seen quite a few cases where impatient people reload a couple of times, which then triggers additional ...
4
votes
1answer
3k views

Error headers: ap_headers_output_filter() after putting cache header in htaccess file

Receiving error: [debug] mod_headers.c(663): headers: ap_headers_output_filter() after I included this within the htaccess file: # 6 DAYS <FilesMatch ...
1
vote
2answers
1k views

django + wsgi + suexec + userdir + apache?

I've got a django 1.1 website I want to run in wsgi (as that seems to be the recommended deployment on apache). I want it to run as the www user (apache is running as www-data). I would ideally like ...
1
vote
3answers
2k views

Varnish 3.0.2 to Apache2 sometimes return error 503

Hey guys I hope you can help me out here. I have an Ngingx parsing http and https to a varnish cache(3.0.2). From the varnish it is sent to apache2. Now I have for some time been tracking some ...
1
vote
2answers
7k views

Why - Could not find worker with name 'jk-manager' in uri map post processing?

I am using apache2 + mod_jk(ajp protocol) + tomcat7. but I always get the error below: [Sat Mar 30 17:30:54.691 2013] [25238:3074365824] [info] init_jk::mod_jk.c (3365): mod_jk/1.2.37 initialized ...
-3
votes
0answers
35 views

Server only reachable over VPN [on hold]

I have an Apache server running on a Raspberry P and it works just fine in the local network. And after forwarding port 80 and trying to connect using the public IP, Chrome says ...
0
votes
0answers
13 views

Apache RewriteCond

I am using GeoIP to forward requests from different countries to different sites and I was wondering if it is possible to use OR operator in RewriteCond. I tried to look it up from the documentation ...
0
votes
0answers
12 views

Disable connection pooling on apache 2.2

Recently I've setup 2 new Reverse Proxy with apache 2.2 to access an application hosted in Jboss. In front of apaches there is a Load Balancer with just Round Robin, and between the apaches and Jboss ...
0
votes
1answer
1k views

Enabled Apache mod_status but server-status was not found on SUSE enterprise 11 SP1

In /etc/apache2/httpd.conf, I have remove the line of Include mod_status and add the following to the last line, LoadModule status_module /usr/lib/apache2/mod_status.so ExtendedStatus On ...
-7
votes
0answers
10 views

unable to load images using php gd library [on hold]

<?php error_reporting(E_ALL); ini_set('display_errors', 1);?> <?php $db = mysql_connect('localhost', 'goofy', 'donalds') or die ('Unable to connect. Check your connection ...
0
votes
1answer
44 views

How to Check if a SSL Certificate is successfully renewed

I have two web servers, one for an intranet and the other for a website. The system specs of the two are almost the same, which is as follows: CentOS 6.5 LAMP (Apache/2.2.15) + WordPress, which were ...
4
votes
5answers
3k views

Trying to mitigate Logjam on Apache 2.2.16

I am trying to follow the instructions located here to mitigate for the logjam vulnerability, however I keep getting the following error from appache: Syntax error on line 18 of ...
0
votes
0answers
11 views

apache rewrite rule to strip subdirectory

I have a tomcat application with apache in front of it with proxypass. The application lives at http://host:8080/application and I the proxypass config means I can access it at http://host However, ...
2
votes
3answers
210 views

How do I add no-cache headers to all 404 pages served by apache and nginx?

I have recently run into an issue after switching to Cloudflare, and the solution is to basically stop Cloudflare from caching 404 responses. In our load-balanced multi-server setup, occasional 404s ...
0
votes
4answers
1k views

How to refuse IP's with no reverse DNS with Apache2 or iptables?

With Apache2, or iptables, is there a way to refuse visitors if their IP has no reverse DNS, or does not resolve at all? I have a website targeted to a specific population who has valid reverse DNS. ...
1
vote
1answer
2k views

Rails program is not being run on apache + passenger - only directory listing

I have successfully installed Phusion passenger + Apache 2 + Rails 3.1 program + git on a linux Debian 6. I ran passenger-install-apache2-module and followed the configuration instructions. I followed ...
0
votes
0answers
11 views

Apache httpd 307 redirect rewrite

I currently have a pair of proprietary applications (HA) that sit behind a mod_proxy load balancer/reverse proxy. One of the applications is active, the other standby and both with an http interface. ...
1
vote
0answers
34 views

See what's filling up the server memory? [on hold]

Our site goes down more and more often. Every other day. The server response time is too long and it just goes half blank. If I look in the browser source code, I see: Could not connect to the ...
2
votes
2answers
2k views

What is AddType application/x-httpd-php-source

I have Apache 2.0, PHP 5.2.4, and this directive in the httpd.conf: AddType application/x-httpd-php-source .php .php3 .php4 .php5 .php6 AddType directive is used to maps the given filename ...
1
vote
1answer
2k views

Apache Virtual Host SSL Behind Reverse Proxy

I have a web server (Apache reverse proxy) in front of my app server (Apache) and I'm trying to pass common name for SSL. My web server (Apache reverse proxy) is setup to preserve hostname ...
0
votes
1answer
10 views

How to resolve '[info] server seems busy' from apache server logs?

I've seen this question asked a few times but it hasn't had any real answer; so I've decided to post my resolution. The below info message can be seen in the apache error.log: [info] server seems ...
0
votes
1answer
938 views

Apache loading time in microseconds - difference between header and log

I recently followed this guide to obtain performance measurement of siteload on a web server. To log the time it takes for Apache to process a request add this to your apache configuration file: ...
-1
votes
0answers
12 views

PHP Script execute time in ubuntu 14.04, FastCGI and suPHP

I have a big projekt, where run a cronjob every night. In this job run a php file. This file avarage run time was 30 to 60 minutes. I was try any solutions to solve the problem, but I can't solved ...
1
vote
1answer
10 views

Using Dynamic paths in Apache httpd.conf file

I know how to set up multiple hosts in an apache httpd.conf file but is it possible to make that dynamic. If I put my folders in directories like this. c:\ development\ websites\ ...
0
votes
0answers
12 views

ModSecurity - zeroing out false positives

In ModSecurity, I'm getting a lot of false positives. Is there anyway to 'zero out' the cookie value for any cookies causing false positives?
28
votes
4answers
77k views

Proxy Error 502 “Reason: Error reading from remote server” with Apache 2.2.3 (Debian) mod_proxy and Jetty 6.1.18

Apache is receiving requests at port :80 and proxying them to Jetty at port :8080 The proxy server received an invalid response from an upstream server The proxy server could not handle the request ...
0
votes
0answers
39 views
+100

Apache mod_speling redirects to wrong schema

We currently need to use mod_speling on our site to get some old content working properly without the need to manually editing hundreds of files to fix upper- and lowercase issues. We are currently ...
0
votes
0answers
13 views

How to get REMOTE_USER via Apache proxy?

I'm using an Apache as forward proxy for Auth to another application,see following conf: <VirtualHost *:8080> ProxyRequests On <Proxy *> Order allow,deny Allow from all ...