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)

2
votes
2answers
1k views

Apache Centos 6.5 Only Loading First Virtual Host

Like the question states only the first Virtual Host is loaded. If I go to the second domain then it simply directs to the first domain. I can load individual files on the second domain but I am ...
0
votes
1answer
1k views

Varnish 3.0.2 and ISPConfig 3.0.4

I followed the tutorial The Perfect Server - Ubuntu 11.10 [ISPConfig 3] here. I'm running an Ubuntu 11.04 (Natty Narwhal) server with 1024 RAM on Rackspace. I've gone through and updated to ISPConfig ...
4
votes
3answers
10k views

Why isn't Apache Basic authentication working?

I just upgraded Apache from it's 2003 build, to a squeaky-clean, brand-new 2.4.1 build. All seems pretty good except for one glaring thing: In my httpd.conf file I have the following: <Directory ...
0
votes
1answer
819 views

.htaccess not being loaded in Ubuntu 14.04 (Apache 2.4.7)

I'm trying to use the .htaccess file in Ubuntu 14.04 (Apache 2.4.7). Here is what my .htaccess looks like # 1 YEAR <FilesMatch "\.(ico|svg|woff|eot|ttf)$"> Header set Cache-Control ...
1
vote
0answers
9 views

Apache error - File name too long: Cannot map GET

I have PHP Laravel application installed on my CentOS VPS. It is backend for my mobile application that has been recently updated. Unfortunately I wrote some bad code that results in making request ...
-4
votes
2answers
26 views

Apache Virtual Hosts Wont Resolve

I have followed this guide https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-6 I have a website in /var/www/html. I followed the guide and i have the main ...
0
votes
1answer
21 views

Make error_log readable by apache

Setup: CentOS 6.6, Apache 2.2.15, php 5.5.21 I 'm building a php script that displays the content of the /var/log/httpd/error_log file. Unfortunately, it does not work. The error message states: ...
1
vote
0answers
12 views

200 OK blank page setting up Wordpress on restore test VM

I'm testing a partial backup of a frankly rather outdated (legacy, what can you do?) CentOS/Apache/MySQL/PHP/Wordpress server by restoring to a VM with a fresh copy of the relevant packages. After ...
0
votes
2answers
856 views

LDAP authentication apache 2.2 error 500

This is my LDAP configuration in Apache2.2.x Order deny,allow AuthType Basic AuthName "Test" AuthBasicProvider ldap AuthLDAPURL "ldap://dc1.domain.com:389/DC=domain,DC=com?sAMAccountName" ...
0
votes
2answers
2k views

PhpMyAdmin::403 error - don't have permission to enter localhost/phpmyadmin/ on Apache2, Fedora 13

I am running an apache 2.17 at a Fedora 13. I did install phpmyadmin from the repos (via yum). It is installed in /usr/share/phpMyAdmin. I did make a symlink from my document root to the ...
0
votes
0answers
172 views

Apache error log not showing full path of 404 failures

If I have a working path like /gallery/landscapes and I try to access this inexistent url: /gallery/landscapes/whatever I see the 404 error in my browser but the apache log says that I had an ...
15
votes
7answers
14k views

How do I tell if apache is running as prefork or worker?

How do I tell if apache is running (or configured to run) as prefork or worker?
2
votes
3answers
1k views

How to enable Jetty to support cometd/reverse ajax while let it listen to port 80?

I would like to use cometd / reverse ajax capability of Jetty 7. I tried to configure it so it listen to port 80, instead of 8080. However, according to ...
0
votes
1answer
1k views

Apache HTTP Server+Tomcat: Which file generates mod_jk.conf, how to modify generated stuff, and how does httpd reach it?

I'm using XAMPP with Apache HTTP Server and Tomcat Add-On installed. There's a default mod_jk.conf which is generated by Tomcat when starting it. But which file generates this mod_jk.conf file? How ...
1
vote
2answers
2k views

FastCGI: comm with server … aborted: idle timeout (30 sec)

I have multiple virtual webs running Wordpress but this one started to throw errors and I am unable to find the problem. Apache says: [Tue Jul 30 14:13:40 2013] [error] [client 82.100.0.70] FastCGI: ...
2
votes
3answers
2k views

SSL URL gives a 404

I have recently created an SSL cert on my server *.key and a *csr file. I then created the *crt and the *.ca-bundle with Comodo. I have 2 current vhosts: vhost for - http://www.example.com ...
0
votes
2answers
19 views

Apache load balancer won't forward to second balance member

I'm trying to figure out what is wrong with my apache config that is preventing the balancer from calling the second BalanceMember on port 9001. Or even some kind of troubleshooting options. Apache ...
1
vote
2answers
23 views

Trac/Apache Displays Script Contents (WSGI)

I am struggling with a new Trac 1.0.3 install (from source after having same issue installing via easy_install). Debian 7.8 Apache 2.2.22 Python 2.7.3 Genshi 0.6 Sqlite 3.7.13 WSGI 3.3 I created ...
1
vote
2answers
33 views

Redirect subdomain to subdomain Apache2

Let's say I have a web server with IP address: 1.2.3.4. I also have 2 subdomains: sth.city.eu inf.xyz.city.eu I'm using apache 2 on Ubuntu Server. Here's my /etc/apache2/sites-enabled/site ...
0
votes
1answer
9 views

Export specific certificate from JKS using keytool

We're trying to configure Apache HTTPd to use an SSL cert from a JKS keystore file we have. Since we want only one of the certs out of the JKS (www.MySite.com) and not the others (such as ...
1
vote
2answers
46 views

Is it possible to hide HTML comments from being outputted to the browser?

I'm using a PHP e-commerce script which is full of comments which are visible to the user if they were to view the source. It doesn't look professional. The comments are everywhere, and it would not ...
-1
votes
0answers
17 views

Apache AuthName, how to add a new line character?

Do you know if it's possible how to add a new line character in AuthName? I've tried the following, but they do not work: AuthName "hello\nbabe" AuthName "hello\\nbabe" FYI: the text in AuthName ...
1
vote
2answers
525 views

Does mod_dav_svn support the Apache mpm-worker module?

Does the subversion mod_dav_svn support Apache's MPM-Worker thread configuration? I'm finding very little documentation so far on this, and I'm looking for better ways to make use of my subversion ...
-1
votes
0answers
14 views

Apache add wildcard subdomain on windows 7 [migrated]

I am running on a windows 7 machine with apache installation not xampp trying to add a wildcard subdomain entry in my apache virtual hosts file but it doesn't seems to work I've added example.local ...
0
votes
0answers
43 views

POST from Apache webserver to IIS has 130 second delay in response if using SSL

We have built a simple API using ASP.NET MVC (C#) running on IIS 7.5. The API accepts POSTed values and then returns an XML response. We have one client (using Apache webserver on Linux) that is ...
0
votes
0answers
33 views

Apache and users write permission issues

On my web server I have two distinct folders, /home/dev/ and /home/prod/, each containing several websites. As you can guess, each directory is owned by the corresponding user, devand prod. The ...
1
vote
1answer
27 views

SSL VirtualHost not using DocumentRoot

I'm trying to set up a self-signed SSL certificate between my own VPS and Cloudflare (next to Full SSL). I'm using the following VirtualHosts for this: <VirtualHost *:80> ServerName ...
0
votes
0answers
10 views

Apache2 and LD_PRELOAD libraries wrapping

I'm trying to load a custom library on an Apache2 web server. On Unix systems, I know it's possible to do it using the LD_PRELOAD variable. I've configured /etc/apache2/envvars file to preload my ...
4
votes
1answer
2k views

Apache mod_deflate not compressing javascript and css files?

"GET /Symfony/web/app.php/app/dashboard HTTP/1.1" 4513/37979 (11%) "GET /Symfony/web/css/application.css HTTP/1.1" -/- (-%) "GET /Symfony/web/js/application.js HTTP/1.1" -/- (-%) "GET ...
0
votes
1answer
19 views

WHM - php.ini in public_html stops default php.ini

I have a server with WHM panel. OS is CentOS. When I put a php.ini in public_html PHP stops reading /usr/local/lib/php.ini. When I compare results of phpinfo() what I see is; error_log error_log ...
2
votes
1answer
3k views

How to exclude a sub-folder from HTaccess RewriteRule

I have WordPress installed in my root directory, for which a RewriteRule is in place. I need to password-protect a subfolder ("blue"), so I set the htaccess in that folder as such. Problem is that ...
1
vote
1answer
2k views

From which Apache version onward is LimitRequestFieldSize no longer hardcoded to 8k max?

Title says it all: from which version onward is the LimitRequestFieldSize no longer hardcoded to a max. of 8k? It seems 2.2.15 is still affected.
0
votes
1answer
979 views

Error in Apache: /var/run/apache2 not found

This is more self-answered question but since it drove me crazy I would like to share with the community and maybe someone can tell me why it happened or what it caused. The thing is I wanted to ...
0
votes
1answer
15 views

Apache 403 Error after several successful requests

I am experiencing some odd behavior with Apache. I have several vhosts setup on my local machine. I am currently experiencing this on 1 of the vhosts, as I am doing dev work constantly, however I ...
0
votes
1answer
126 views

Publish a WordPress blog at one URL, do administration on another

Let's say I want to have my blog display at blog.example.com, but I own a SSL/TLS cert for example.com only. I want to have authenticated users transparently redirected from blog.example.com to ...
0
votes
1answer
111 views

Wordpress blog website apache and IIS subdirectory

The issue is this : Our company has a website hosted on an IIS server. I have recently been given the task to configure a WordPress server for an eventual WordPress blog so that our social media ...
0
votes
2answers
3k views

service httpd restart failure on aws amazon linux ami

Thanks for your help. I recently did the following: Ran sudo yum update on my ec2 instance running the Amazon Linux ami I then added a virtual host to my vhost.conf for a subdomain. While the server ...
0
votes
1answer
13 views

Outlook autodiscover POST on webserver. Reducing overhead?

So our webserver, bobxpizza.com, like our emails, share the same domain name. We've set a CNAME with our DNS to reroute the traffic to office365, but autodiscover tries to post to our webserver first. ...
0
votes
0answers
12 views

Using apache with hhvm

I've tried to test hhvm (on my local machine), but did not manage to get it working. Important side-note: I need to run mod_php and fcgi at the same time. It's not possible to abandon mod_php for me ...
-2
votes
0answers
17 views

Apache2 CPU high, RAM low [on hold]

how to optimize apache2 for many simultaneous connections: about 10 - 15k per hour? CPU load is 99%, RAM 34G / 128G when there 1000 connections. Suddenly the server becomes too slow and inaccessible. ...
1
vote
2answers
1k views

500 internal server error php long running process

I am trying to run a long php process and it ends with the 500 internal server error. It executes fine for about 8 mins. I have rebooted the machine after changing the php settings. PHP Config: ...
7
votes
3answers
2k views

Apache on Win32: Slow Transfers of single, static files in HTTP, fast in HTTPS

I have a weird problem with Apache 2.2.15 on Windows 2000 Server SP4. Basically, I am trying to serve larger static files, images, videos etc. The download seems to be capped at around 550kB/s even ...
0
votes
1answer
24 views

Subdomain using AWS Route 53, load balancer, EC2, Apache

I've tried to follow a few different tutorials on this, but can't quite get it to work. I have all of my DNS for my domain (example.com) in Route 53. Works fine. My top level domain (A record) ...
1
vote
2answers
92 views

Setting up a multi-domain apache with nameservers, but every request is handled by the default configuration

I had this sorted out before, but now I had to wipe my VPS and apparently I can't configure stuff properly anymore, so.. I've set up a Debian VPS and installed Virtualmin on it I bought a test domain ...
1
vote
0answers
8 views

What exactly does the ModSecurity SecCollectionTimeout directive?

I am having a little bit of trouble with a recurring "Failed deleting collection" error message from ModSecurity (see this discussion @ GitHub for some context). In the discussion of this error it is ...
1
vote
1answer
1k views

Why might I be getting a 501 'Unsupported Method (POST)' error when trying to login to the admin area of a site?

Server Spec: Wordpress 3.0.1 PHP Version 5.3.8-1+b1 MYSQL 5.1 Apache/2.3.16 Linux The Problem Simple really. A website that I helped to build and install a while back has just been transferred to ...
0
votes
1answer
958 views

CentOS Apache + Tomcat SSL using mod_jk

I have Apache + Tomcat (using mod_jk) working correctly on a CentOS 6.3 machine. I am trying to set up SSL with Apache. When I browse to the site I get the following output: Forbidden You don't ...
0
votes
1answer
36 views

How to configure php-fpm for php 5.6 and apache 2.2

I installed php 5.6, apache 2.2 and php-fpm on my centos 6.6 by using repo from https://webtatic.com/packages/php56/ I follow this instruction abd try to make php-fpm work ...
2
votes
1answer
1k views

Apache configuration to make NTLM authentication work through a Proxy

I'm running an application server behind an Apache proxy with the following sort of thing in my Apache config: ProxyPass /app http://myapplication:8080/myapp ProxyPassReverse /app ...
2
votes
3answers
844 views

Can you explain why I shouldn't serve PHP off Gluster?

There's a good chance that I'll end up running Drupal on several front-end nodes over the next six months, and I'd like to know if there is a good reason not to have a single instance of Drupal stored ...