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 (2)

6
votes
0answers
2k views

The OCSP server has no status for the certificate. (Error code: sec_error_ocsp_unknown_cert)

Just set up a website (Apache/Centos) with SSL where the free cert came from startssl. I've used startssl before, and never had any problems. I have no problems accessing the site from IE and Chrome,...
6
votes
0answers
3k views

How can I test if my apache server is an open proxy?

Is there a curl command that will validate if a server is acting as an open proxy? I've tried curl --proxy http://<my server>:80 http://yahoo.com But the response from apache is: ...
6
votes
0answers
308 views

Rails with phusion passenger and wordpress

We had a site developed using on ruby on rails. It had Website Web services for mobile app Admin panel to manage data. We started using wordpress to manage site content. We have finished ...
6
votes
0answers
585 views

Using Squid as a maven repository

Does someone know how to use Squid to proxify maven repositories ? What are the configuration files for that ? The main problem is that maven client issue HTTP request with headers which control the ...
5
votes
0answers
1k views

Redirect user on SSL authentication failure

I configured a VirtualHost with SSL enabled and SSL client authentication, all of that on apache2 2.2.8 (ubuntu server 8.04). All SSL certificates (CA, Server certificate, Client certificate, CRL) ...
4
votes
0answers
109 views

VirtualHost Defaulting to Wrong Deployment on Restart

We have a server running seven domains/subdomains. To try to go as minimal as possible here I'll include four of them. example.com www.example.com dwf.example.com chris.example.com The server ...
4
votes
0answers
354 views

Apache Header Module Loaded but can't set headers in htaccess

I have Apache 2.2.29 (unix) setup and running on my new dev machine (mac). I am trying to set CORS headers for an API project - something that I have done many times. The htaccess file for the ...
4
votes
0answers
3k views

request failed: error reading the headers

Recently I moved my servers from one provider to the other and started to get this messages in apache error log: "request failed: error reading the headers" Example from the error and corresponding ...
4
votes
0answers
160 views

Setting header based on client certificate

I have Apache running as a reverse proxy for an internal server. Users hitting the proxy are required to use client certificates. On the internal server, there is a web application that can use an ...
4
votes
0answers
369 views

Apache + Php-FPM + APC : mode_deflate not compressing HTML output

I have prepared a server to run a Magento instance with: Apache + Php-FPM + APC The problem I have is that Apache is not compressing the HTML output from the Magento PHP scripts. In my .htaccess I ...
4
votes
0answers
1k views

Apache 2.2 fails with “unable to write 'random state'” with 2048-bit RSA key (1024-bit works fine)

I'm usually pretty good with Apache and OpenSSL, but this one has me completely baffled. I'm running Apache 2.2.22 and OpenSSL 1.0.1 on a Ubuntu 12.04 LTS Server. I have an IP-based virtual host ...
4
votes
0answers
615 views

Linux/Apache 2.4.3 MPM event error scoreboard is full, not at MaxRequestWorkers

I have a server used for shared hosting running Linux/Apache 2.4.3 event MPM Apache is reporting "error scoreboard is full, not at MaxRequestWorkers" in the error log every second. I don't know what ...
4
votes
0answers
227 views

Apparmor externally included hats not working

Running apache2 on Ubuntu 12.04, using mod-apparmor for change-hat support. I have installed and verified that change-hat is working but that it is not working for externally included hats like the ...
4
votes
0answers
2k views

Nginx as reverse proxy: how to properly configure gateway timeout?

We have configured Nginx as a reverse proxy to an Apache server farm, but I'm running into trouble with the gateway timeouts. Our Goal in human readable form is: "Deliver a request within one second, ...
4
votes
0answers
629 views

NGINX mod _proxy_html available?

Somebody created already a similar http://apache.webthing.com/mod_proxy_html/ mod_proxy_html module for Nginx? I think the closest module would be http://wiki.nginx.org/HttpSubsModule but I have no ...
4
votes
0answers
549 views

Add a header depending on the proxied response code with apache

I use Apache 2.2 with mod_proxy to some 3rd party HTTP server. As it doesn't send any Cache-Control header, I want to add one of 1 day for response code 200, 5 min for 404 and 0 for any other ...
4
votes
0answers
2k views

Apache/SSL: (70014)End of file found: SSL input filter read failed

Figured upgrading on a long weekend was a smart move... Now I'm stuck. The server is spitting out this error (loglevel info): "(70014)End of file found: SSL input filter read failed" when using the ...
3
votes
0answers
105 views

Apache rewrite works under FreeBSD, not under CentOS

I have 5 production servers which are running FreeBSD 9.2, but we are planning on transitioning to CentOS. Because of this, I am attempting to set up some virtual machines to emulate our production ...
3
votes
0answers
154 views

mod_ssl client certificates on a reverse proxy

I am trying to add client certificate authentication on a reverse proxy that proxies an oracle application. Before adding, and if i remove the subsequent code, the oracle application is able to start ...
3
votes
0answers
659 views

Apache as a reverse proxy for GitLab Omnibus

I'm using GitLab Omnibus on a CentOS6.5 server. The gitlab nginx server listen on the 6543 port (Apache already using 80 and 443). I want to use Apache as a reverse proxy to access GitLab with that ...
3
votes
0answers
3k views

vagrant apache not accessible from host

I am runing a virtual box from vagrant and I am trying to access web pages that are served by guest apache server. When I execute wget http://dev.test.com/index.html on guest everything works fine ...
3
votes
0answers
717 views

nginx equivalent to Apache MultiViews?

If you put this in your .htaccess file Options MultiViews and you have these files stuff/ howto.html index.php items.php then all of these web addresses work /stuff/ # ...
2
votes
0answers
31 views

Why do my apache logs suddenly have random newlines in them?

We process our apache logs for some Google Shopping and Adwords stats. There's a command line that cuts up the lines from the log to grab the IPs with specific things on the query string like gclid. ...
2
votes
0answers
21 views

Apache mod_proxy to change /location into port

I want to achieve a simple thing - proxy mydomain.com/plex/* into localhost:32400/*. I already have a different proxying rule in place that works fine, but this I cannot get to work. My sites-enabled ...
2
votes
0answers
9 views

Move htaccess rules to apache configuration files

I'm running a website with Joomla on a dedicated server (Debian), and i've read that moving .htaccess rules to apache2 configuration files may result in a good performance improvement (Apache HTTP ...
2
votes
0answers
56 views

Installing apache2 ssl - ubuntu

I need to install a ssl in my apache2 ubuntu, and do not know what I'm wrong, but the fact is that I do not get ... I have the relevant files: one .key file and two .crt files. At first, when editing ...
2
votes
0answers
67 views

Upgrade openssl in apache from source and set as default

I have upgraded the openssl from source to version OpenSSL 1.0.1s for Apache, which installed under /usr/local/ssl/bin/openssl, and change the symlink to point it into this new installation directory ...
2
votes
0answers
29 views

Redirect user to an arbitrary application protocol (used by Android app)

I have an Android application that declares an intent using a in-house protocol. You can launch it by opening a webpage that contains a link to : myapplication://foo-bar I want to an URL on my ...
2
votes
0answers
74 views

Apache proxy is not working for response.sendredirect

I am very new to apache...need help on issue. publicly accessible url : httpx://testsite.com. This site is BigIp..which has member as localserver.com:21211....So, whatever request to testsite.com ...
2
votes
0answers
70 views

Apache2:Unable to read server certificate from file

Cannot start apache2 server. error info is below. Looking into similar questions (SSL Error - unable to read server certificate from file, Apache cannot read certificate file, and so on), still ...
2
votes
0answers
108 views

How to verify that SSL cipher order is being enforced?

I'm running Apache 2.2.31 and I'm trying to get Perfect Forward Secrecy working. Using Qualys SSL Labs shows that pretty much everything except IE is using ciphers that can use forward secrecy. I've ...
2
votes
0answers
234 views

PHP-FPM + Apache (403 forbidden message)

Im having trouble installing php-fpm. When ever I install it and open a php file i get a 403 forbiden status code Looking at the logs is see client denied by server configuration: /usr/lib/cgi-bin/...
2
votes
0answers
222 views

From Http to Https NodeJS Websockets on Apache Server

Here is my problem. I have a virtual machine, on windows, the Apache server (2.4) is installed on it. The vm is on the network, so that other people can reach it directly on http://192.168.100.22 (...
2
votes
0answers
167 views

Many gettimeofday in Apache 2.4 + fcgid + centos 6.6 - Long Wait time for static files

When i perform a strace on apache process, i see many gettimeofday before & after GET request, even when Apache returns a static file like an image file. It results in a long downtime period ...
2
votes
0answers
1k views

CentOS 7 httpd /server-status limitations

I have got VPS (using CentOS 7 as my OS) and now I am configuring Munin (monitoring software). I ran into a little problem with Apache monitoring. Now I have got this cfg in my httpd.conf and ...
2
votes
0answers
740 views

php generated css no output, net::ERR_INCOMPLETE_CHUNKED_ENCODING

I am running apache on an ubuntu installation. Several webapps are running on the same server. I installed a new app, which required the pdo-sqlite extension to be installed. Now my server is ...
2
votes
0answers
476 views

Very slow upload speed with nginx proxying apache

I have a nginx server proxying apache on my server, and the setup has been running fine... Until yesterday, when I found out that, actually, uploading a file using a PHP script is very slow. Since ...
2
votes
0answers
696 views

configuration for maximum response size for apache

Is there a config setting in apache that can limit the size (or maybe limits the maximum size) of a response? I'm working on an embedded device that uses apache server to host its web interface. The ...
2
votes
0answers
368 views

Mac OS X > pfctl > How to limit Bandwidth for a specific port?

I need to limit the Bandwidth of our Apache Server (which runs on port 80 by default). It was easy with ipfw as follows: sudo ipfw pipe 1 config bw 100Kbytes/s sudo ipfw add 1 pipe 1 src-port 80 ...
2
votes
0answers
331 views

Apache2 mod_define not working

I have used mod_define for Apache2 for a long time now in my Windows configuration. Now, I would like to move to Vagrant/Debian. However, I am facing difficulty reproducing the configuration in the ...
2
votes
0answers
75 views

Apache mod_rewrite rule to pass specific REQUEST_URI to specific html files

I have a very basic html presentation which I want to use Apache mod_rewrite to handle the URLs. home.html is just an intro page but I want this to be called when there is no REQUEST_URI ...
2
votes
0answers
2k views

PHP-FPM ERROR: unable to read what child say: Bad file descriptor (9)

I'm having this issue: Apache 2.2.26 PHP 5.4.32 PHP-FPM 5.4.32 Zend OpCache 7.0.3 PHP-FPM Config: [testuser] listen = /dev/shm/testuser-php.sock listen.owner = testuser listen.group = apache ...
2
votes
0answers
2k views

“More than one MPM loaded” when trying to start apache on Vagrant Ubuntu box

Whenever I try sudo apache2ctl start I receive the following message: AH00534: apache2: Configuration error: More than one MPM loaded. Action '-k restart' failed. The Apache error log may have more ...
2
votes
0answers
516 views

nginx proxy with CAS

I have a JS application that issues REST calls from the client browser to a data source that sits behind nginx. We need to implement CAS authentication for the application to manage access. However ...
2
votes
0answers
203 views

Apache resetting LDAP requests and hanging

I've got Apache 2.2.15 running under CentOS 6.5. The module mod_authnz_ldap is being used to authenticate against a Microsoft AD server. Here's the LDAP config in Apache: AuthType Basic ...
2
votes
0answers
426 views

Apache 500 Internal Server Error when authenticating with authz_svn_module with an empty user name field

My Environment Apache 2.2 Windows Server 2008 R2 (I also had the same problem with Windows 7) Tortoise SVN 1.8.7 Subversion 1.8.9 I have this SVN Server using Apache for authentication with ...
2
votes
0answers
363 views

What would cause Apache to return malformed HTTP responses?

I have a Go server that reverse proxies requests to an Apache/PHP server. I have been able to rarely observe that on occasion, the Apache/PHP server will cause Go to produce the following error ...
2
votes
0answers
131 views

cgit + redmine + git (advance integration)

I've successfully managed to configure my Redmine with advance git integration. However, I'm very interested in combining cgit with the current configs, but I'm not sure how. So, basically I want to ...
2
votes
0answers
92 views

Apache Alias redirect error (only in Windows phone)

I have this in my apache2 config. ServerName example.com DocumentRoot /var/www/example.com/ Alias /m /var/www/example.com/ The weird thing is I can have this alias plays out nicely ...
2
votes
0answers
386 views

Error with FastCGI install on CentOS 6.5

I'm trying to setup FastCGI but keep getting the following error message: Installing : mod_fastcgi-2.4.6-2.el6.rf.x86_64 Non-fatal POSTIN scriptlet failure in rpm package mod_fastcgi-2.4.6-2.el6.rf....