Version 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)
3
votes
1answer
28 views
Munin in a subdomain using Apache Virtual Host
I'm trying to install Munin in my server and configure the web interface to work in a subdomain. I've configured the subdomain stats.mysite.com and created the file ...
1
vote
1answer
25 views
Rewrite domain.com:3000 to port 80 with Apache
I'm hosting two applications on my web server, one is a Drupal site, and the other is an Errbit installation, which is a Ruby on Rails application. The URLs looks something like this:
...
0
votes
1answer
14 views
Apache2 + nginx partially working
Until now I have always used the LAMP setup. However, it seems that nginx, when acting as a proxy in front of the apache2 improves the performance.
I followed the guide found here. I only changed the ...
3
votes
1answer
91 views
Active Directory authentication with Apache: why I need to use a full name (user at domain)?
We use Apache 2.2 for authentication against Active Directory.
The configuration is following:
AuthFormLDAPURL ...
0
votes
1answer
32 views
Localhost apache website keeps 'waiting for localhost'
I have setup an apache24 (with php) server on Windows 7, for developing on my local machine. But once in a while the webpages do not load anymore and the browser (firefox) keeps saying 'waiting for ...
0
votes
0answers
24 views
Apache VirtualDocumentRoot for Multiple Sites
I have the following VirtualHost section:
UseCanonicalName Off
NameVirtualHost *:80
<VirtualHost *:80>
VirtualDocumentRoot /sites/%0/httpdocs/
##VirtualDocumentRoot /sites/%-2/httpdocs/
...
1
vote
0answers
37 views
Why do we get 'cannot open file' we use XSendFile with /tmp?
We're upgrading to Fedora 18. We've deployed our Rails app, and it works as expected, except for downloading zip files of reports. It works on our existing production server (Fedora 15).
We're ...
0
votes
0answers
12 views
How can I use mod_rewrite RewriteLock (for RewriteMap “prg”) under Apache MPM-ITK?
We have used Apache MPM-ITK for privilege separation for several years now. It works well for our needs, but recently we tried to host a PHP application that needs to define a RewriteLock for ...
1
vote
0answers
37 views
Apache reverse proxy from one virtual host to two Tomcats
Does anyone have some tips or an example for how to configure this sort of reverse proxy arrangement on Apache Http Server 2.2? I support a Java web application that we develop in multiple ...
0
votes
1answer
30 views
Web site - delay under Apache 2.4.4 x64 FastCGI
I'm running a VPS server under Windows 2008 R2 x64 as a web server.
I Was running Apache 2.2 x86 / Php 5.3.1 handle with the standard php5_module And I made an upgrade to Apache 2.4.4 x64 / Php ...
-1
votes
1answer
32 views
code generates a segmentation fault [closed]
Good day,
This comes from stackoverflow, but I think it will have a better chance of find an answer here.
So:
I am getting a segmentation fault from the PHP ternary operation. I'm using PHP ...
0
votes
0answers
17 views
Using setenv in Apache (Windows) DocumentRoot
Stack trying to migrate a configuration from Linux to Windows Apache 2.2 (via WAMP)
We are trying to set an ENV Apache variable to be used as DocumentRoot and rest of directives thereafter so we can ...
1
vote
1answer
16 views
How do I make virtual host DirectoryIndex file appear in the url?
I have setup a virtual host which specifies a default file to load when the URL is called.
The problem I have is that I need that default DirectoryIndex file to appear in the URL.
So when I go to: ...
0
votes
0answers
30 views
Safari on MAC OS keeps asking for client certificate while SSLVerifyClient none
I have a website running on Apache 2.2 /openssl 1.0.0d. And I'm using a certificate issued by a trusted CA.
Everything works fine on all browsers, except safari on MAC OS, when the user tries to ...
1
vote
2answers
39 views
Prevent from shell script executing by Apache
I found some shell scripts which were executed by apache after being uploaded to a Wordpress plugin directory (plugin is reputable).
top -c
25821 www-data 20 0 99108 1268 996 S 779 0.1 ...
0
votes
0answers
14 views
How to install AWStats with apache2.2 and mod_fcgid
I'm trying to configure AWStats with apache2.2 and mod_fcgi on ancient debian lenny.
Apache gives me error 500 when visiting http://www.myserver.mydomain/awstats/awstats.pl?config=mysite :
Internal ...
1
vote
1answer
60 views
I just found odd URLs in my Apache logs
I was using Tail on an Apache log file and noticed these:
/cie/insxp5/update.ins
/rpam/homepage-e.asp
/rpam/Training-e.asp
From a short session of googling, I think the rpam URLs refer to either ...
-2
votes
0answers
20 views
Internal Server Error on Centos Cpanel - changed .htaccess, got error, changed back, still getting error [closed]
I made a change to a perfectly normal .htaccess file which did not give problems, I got an internal server error, so I decided to change back the .htaccess backup, still got the error, then to test ...
0
votes
2answers
34 views
Apache2 child process mine.32 high CPU
Some processes which Apache2 has forked off has extremely high CPU usage. Specifically mine.32 What is it and how can I reduce it's CPU usage?
Top:
PID USER PR NI VIRT RES SHR S ...
1
vote
1answer
22 views
Apache Core Dump file deletes itself on physical machine restart
I am having an issue which there must be a simple solution I am not seeing, but I have googled and googled to no avail.
The issue I am having is when I do a server (physical machine) restart, every ...
0
votes
1answer
44 views
installing SSL certs on apache … what certs to use?
Im an intermediate Linux user and got assigned the task to make Apache run https connections. Currently running centOS 6 and my problem is following:
installed mod_ssl and tried to set up paths ...
2
votes
2answers
402 views
How do I protect an Apache (in LAMP) install against the Apache Linux/Cdorked.A backdoor?
Just like the title asks, what can I do to protect against infection by the Apache Linux/Cdorked.A backdoor?
1
vote
2answers
37 views
What is the correct way to configure Apache and Tomcat such that Apache serves HTML over port 80, and Tomcat serves ColdFusion/Railo over port 80?
Here is my situation:
I have a server with Apache and Tomcat installed. Within tomcat, I am using Railo (the open source ColdFusion).
I do not want my users dealing with Port 8080 to hit CFM pages. ...
0
votes
1answer
30 views
Apache server error “ImportError: No module named site”
I am trying to run apache server using squashfs based rootfs.
I see the following in the /var/log/apache2_error_logs
$ cat /var/log/apache2_error_log
[Mon Apr 29 18:40:28.705047 2013] ...
0
votes
0answers
19 views
Weird permissions error with error_log
I am having a very strange issue with error_log. For some strange reason, error_log cannot write to any file under a symbolic link. Here is the structure:
/var/www # apache root, rwx for group ...
0
votes
1answer
20 views
Virtual Host based on name and port
I wish to create a several number of virtual hosts which I want to access them via port and name. For example, I have two websites, one http://carrito:8080 and http://pagina:80. At first glance it ...
0
votes
0answers
22 views
Apache/mod_expires adding caching headers to POST responses
I have Apache 2.2.3 serving up (mostly) php content, and am adding headers to manage caching using mod_expires. This works well overall, but I've noticed that the value of ExpiresDefault is being used ...
1
vote
1answer
37 views
access.log awk command to view bandwidth out per virtualhost
My access log lists multiple domains.
What awk command could I use to view each domain's bandwidth individually?
It would also be nice to specify a date range.
-3
votes
0answers
24 views
Web Server Hardware Requirements for Symfony Website [duplicate]
I have an Website that is going to be highly publicized in the next months.
I am expecting about 10 000 page views per day.
Our Hardware:
dedicated Server;
Intel Xeon E5-2609 ...
1
vote
1answer
41 views
WordPress site works for a few minutes, then site fails with hundreds of 'Unable to allocate memory for pool' errors [duplicate]
I'm migrating a machine and have moved over several minimal traffic WordPress sites (biggest site gets ~200 unique users a day). Everything appeared to work fine but then a little while later I ...
0
votes
2answers
31 views
Give apache rw access
For some reason, apache doesn't seem to be able to write to it's own directory! (/var/www). error_log simply fails to output to files. Any help here would be great
I am using ubuntu 12.04 with ...
0
votes
0answers
16 views
Global access log and vhost access logs?
I am running Apache2 with Froxlor, so every customer gets their own access and error log in /var/customers/logs.
Now, is it possible to keep this functionality while also having a global access and ...
0
votes
1answer
84 views
apache httpd.conf subdomain setting cause 500
I am trying to adding a subdomain for my mobile site. But when I add below code into my httpd.conf, i could open m.domain.com in my browser, but failed all www.domain.com with 500 Internal Server ...
0
votes
0answers
16 views
Setting up FastCGI with Cherokee, Nginx or Apache on Debian
EDIT: Already solved it myself. Went with Apache2 instead, and as much as I loathe it, at least it works
I've been stumped on this all morning and I'm about to give up in frustration. Searching on ...
0
votes
2answers
18 views
Apache2 Options Indexes
I am experimenting with Apache and Option Indexes. I mv index.html to no_filename. When I went to www.dunno.com I got a forbidden webpage instead of the directory listing that I was expecting. Why is ...
0
votes
0answers
10 views
nginx reverse proxy send all post requests to server 1
I am in the middle of setting up a 3 node web server cluster running Nginx , Apache 2 and MySQL.
The question is this. In my rewrite rules on web server 2 - 3 I want to direct all POST traffic to Web ...
0
votes
1answer
43 views
apache mod_headers custom header
Folks,
Trying to add a custom header with mod_headers. Need to set the 'Date' Header for AWS S3 via mod_headers. I am trying to do the following in the apache config:
RequestHeader add ...
1
vote
0answers
28 views
Nginx reverse proxying Drupal content served with Apache
I'm new to Nginx but was interested in trying it out.
I now have Nginx listening to port 80 and serving static html content from /srv/www for a main "promo site". I've also set up apache2 to the ...
2
votes
2answers
131 views
Apache requests stuck in '..reading..' state
We've recently been hitting our maxclients (300) on our server and are noticing a lot of connections are stuck in the R reading state. Here's an excerpt from our server-status dump:
Current Time: ...
1
vote
2answers
67 views
PHP-FPM is not displayed in phpinfo()
I have installed php-fpm on Centos + Apache using this manual - http://www.howtoforge.com/using-php5-fpm-with-apache2-on-centos-6.2-p2 but PHP-FPM is not displayed in phpinfo(). And I cannot figure ...
1
vote
1answer
24 views
Load times quick individually, very slow when put together
I'm running a standard debian apache2 web server.
Recently, I've noticed my load times slow down substantially. I've checked exactly which resources are taking a long time to load, and there are 2 or ...
-3
votes
0answers
18 views
Co-current connections supported by EC2 [duplicate]
How may concurrent connections Apache can handle on Amazon EC2 small instance?
I will have to test the site for the sake of load balancing.
0
votes
0answers
31 views
FastCGI: …terminated by calling exit with status '0'
I would really appreciate some insights into this.
We run relatively popular website, which is cloned on two servers. On server1 everything runs smooth. On server2, however, it does not. Server2 will ...
2
votes
1answer
37 views
How to redirect all non www and http traffic to www and https with Apache2
In my httpd.conf, I have
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^mysite.com [NC]
RewriteRule ^(.*)$ https://www.mysite.com/$1 [L,R=301]
But that's not working properly. I want the ...
1
vote
1answer
28 views
How to determine php memory usage on apache?
Sorry if I didn't phrase my question correctly.
I use the php function "memory_get_usage()" to see the amount memory allocated to PHP on a script I am running.
On server A I get around 2 MB. ...
1
vote
2answers
43 views
Easiest way to keep users in their home directory on a web server
I was wondering what would be the easiest and most secured way on a web server to prevent users from browsing directories other than their home folder.
I have a mutualised web server with several ...
-1
votes
3answers
79 views
Why is httpd spawning many process no reason? [closed]
I need help with this, apache will all of a sudden eat all the CPU and ram. There is hardly any traffic on the server, maybe a couple hundred a day.
top - 01:34:49 up 1 day, 17 min, 2 users, load ...
0
votes
2answers
30 views
Bugzilla is not sending out emails
Hi I'm pretty new at this and I'd like to ask how to debug any of my installations. Bugzilla doesn't seem to be sending out emails. If i set the delivery method to 'test' a mailer.testfile is ...
0
votes
1answer
31 views
Subdomain on local machine using apache
On my local network, I have a server that goes by the name of telly, and can be connected with locally on http://telly.
I am trying to set up a subdomain on that machine, say sub. I have added a ...
1
vote
1answer
30 views
caching images with apache reverse proxy
I'm trying to set up an apache2 reverse proxy to cache images. (Apache, not nginx required)
There appear to be headers being cached, but not images,css etc.
My config:
CacheEnable disk /
...

