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
1answer
15 views

Ubuntu virtualbox host connection issues

im very new to the server world and trying to follow a book which i should be learning about Magento with but it describes a way of setting up a virtual machine using oracles Virtualbox and installing ...
0
votes
0answers
8 views

ODBC connection fails

Today an Apache/ODBC setup I've been running for over a year has gone down. I can still ping the DB server. Through troubleshooting steps so far everything looks fine. Here's my config/relevant CLI ...
0
votes
0answers
6 views

How to install mod_logio for apache 2.2.24 (CentOS)

For some reason, my apache doesn't have mod_logio compiled by default. when I executed the command- httpd -l And it isn't there. I tried to install it executing yum install mod_logio But it ...
-1
votes
0answers
11 views

apache2/error.log (notice) caught SIGTERM, shutting down

I am getting strange feedback when I try to look at my Apache error logs sudo tail -f /var/log/apache2/error.log [Fri Jul 25 16:42:03 2014] [notice] caught SIGTERM, shutting down [Fri Jul 25 ...
2
votes
0answers
19 views

Using IE to invoke PHP/CURL for long running data API causes Apache2 server to freeze and require restart

I'm running a PHP program that works fine as long as it's not invoked by a Microsoft IE browser, after which it spawns the below processes, locks up Apache2 and requires a restart of the web server ...
0
votes
1answer
25 views

fail2ban not working on apache Ubuntu

Nothing happens even though it detects in the logs. It does not block the IP. It works fine forVSFTP but not for apache. Please help. You can see the config and log below. jail.local config file: ...
0
votes
0answers
8 views

Can not configure apache for redirection within shared host [on hold]

Hope somebody can help with this webserver issue. I have a website hosted on Justhost.com. Apparently I have only a cgihandler available from Apache which has no performance. A solution might be to ...
-1
votes
1answer
46 views

Amazon Machine Image

I have a website running on the Singapore AWS servers. It is an EC2 instance and the website is built using django configured with Apache and MySQL. I took an Amazon Machine Image (AMI) of the ...
1
vote
1answer
9 views

Redirect every request to FastCGI script

I have a FastCGI script which I want to every request to be redirect to it, no matter which URL. My current vhost configuration is the following: <VirtualHost *:80> ServerName localhost ...
0
votes
0answers
4 views

mod_pagespeed - not respecting vary header

It appears that the Apache httpd server(with mod_pagespeed) in front of my application is not honoring the “Vary: User-Agent” response header included by the applciation. It appears to be replacing it ...
0
votes
1answer
17 views

Too many httpd processes running and Solaris OS hangs

I have have a Web server Apache installed on Solaris V.10. The server behavior becomes unusual when Apache is started. The CPU usage becomes 96% and slowly the server becomes unresponsive,and when I ...
0
votes
1answer
42 views

htpasswd - Any tip to block brute force attacks?

Update: As Craig suggested I'm trying fail2ban now. Even though I have issues in that as well. failregex is not finding any result though. I had enabled all apache* in jail.local and here is how my ...
0
votes
0answers
8 views

apache returns strange stream

apache 2.2.27 mok-jk 1.2.23 tomcat 7.0.54 My app is a file upload/download application,when i download the file a while and then stop the tomcat,i get the file stream like this(tcpdump): ...
0
votes
0answers
7 views

Webserver pages won't load until second connection attempt

I have an Apache2 driven Wordpress site running on an Ubuntu server VM, it's worked well for years. I also have another Ubuntu server VM running an instance of NGINX, acting only as a reverse proxy ...
0
votes
0answers
6 views

What configurations should be in the main server config vs virtual host config? [on hold]

I've setup my server as follows: The majority of recommended configurations by Apache and H5BP have been placed within the Server Config file while I've designated specific configurations for Header ...
0
votes
0answers
18 views

Can you do a masked URL rewrite to a different protocol (in Apache)

Apache 2.2.15; I want to do: RewriteCond %{HTTP_HOST} site1.com RewriteRule (.*) https://site2.com [R=301,P,L] But that does not work. I put the P in there thinking it might allow the mod_proxy ...
-1
votes
0answers
9 views

Setup Galera Cluster with two servers

Can I Create Gallera Cluster with two servers ?? Actually I have 6 servers: 2 Server for Load Balancer 2 Server for Apache Or anyone here can suggest me how to create High Availability Web Server ...
0
votes
0answers
17 views

“405 method not allowed”. It's allright sending the request from a HTTP simulation web

Im getting a 405 when sending a POST request to "http://www.sermobi.com/customers" from a mobille app using an ajax function. But I don't get that error using a tool like http://www.hurl.it/#top. I ...
-2
votes
0answers
19 views

Apache dont response nothing on https [on hold]

My problem: the server dont have response on HTTPS requests. I configured 2 vhosts, one to http and other to https, the http works fine. But the https no response nothing. Commands to generate the ...
0
votes
1answer
8 views

AuthDBDUserPWQuery with multiply tables

I have a MySQL authentication for SVN server. Configuration file looks like this: <Location /svn/project> ... AuthDBDUserPWQuery "SELECT Password FROM SVNUsers WHERE Nickname = %s" ...
0
votes
1answer
20 views

Weird stuff in server error log?

I have a PHP script that shuts down server processes based on their PIDs. It seems like it works well, however, I found this weird stuff in Apache's error log. Any idea on what it's saying? [Thu Jul ...
1
vote
1answer
14 views

How to optimize prefork mpm for high traffic?

I have allocated 5GB of memory for Apache processes. While basing on the fact that each Apache process consume in average 42.5MB I've set the following on my server (while calculating as if each ...
-1
votes
0answers
27 views

Taking advantage of unused RAM for serving PHP pages [on hold]

I just purchased a new VPS that has 4-cores (fair-shared) but 6 GB of ram and SSD with offloaded mysql. This means I can dedicate 100% of my ram to serving my PHP files. Right now I have a 3GB ram ...
-1
votes
1answer
20 views

Repoint Apache configuration through cPanel [on hold]

How do I repoint apache configuration for a Virtualhost/SSL Virtualhost in cPanel? Basically we would like to keep our current configuration since it's running a live site, and include a new code on ...
0
votes
1answer
17 views

apache2 virtual site not reachable

i am setting up the bloodhound webapp, and everything worked fine and i wanted to integrate it into the apache2 webserver using the a official guide, but apache is not listening to my specified port ...
-1
votes
0answers
35 views

Trying to figure out what this (apparent) hacker is after [on hold]

This shows up in my web log. I'm curious what is being attempted. 75.70.209.92 - - [23/Jul/2014:18:28:58 -0700] ...
-2
votes
0answers
14 views

Nginx Status page 301

After i installed nginx i got status page 301 Moved Permanently This status page very bad for search engine , i got error and warrning because the status page from my google webmaster tools ...
1
vote
2answers
38 views

Apache2 not asking for password of private SSL key

I am trying to set up SSH for my apache2 server. Apache seems to find my private key, because it complains once I move it. But it doesn't check the content of the file: When I replace it with ...
2
votes
2answers
41 views

SSL connection not working with public ip address

EDIT : Problem solved, it was indeed the firewall of the server wich was blocking port 443. Everything is working now I'm trying to install a self-signed SSL certificate on an apache server running ...
0
votes
1answer
32 views

Rackspace Ubuntu 12.04 apache2 causing Out of memory

After less than 2 hours uptime, my Rackspace server (1CPU 1GB RAM 40GB) memory is used up by /usr/sbin/apache2 -k start which ends up killing my wordpress site. QUESTION 1: Why is this happening ...
0
votes
0answers
13 views

Ubuntu Apache CPU Usage

This just came to my attention: If there's 4 processes (of any kind) that each need time on the CPU, and there's two CPU cores to use, then the OS scheduler will assign CPU time equally ...
0
votes
0answers
4 views

Installing a self-signed cert in an EC2 instance

I have a dedicated EC2 instance running Fedora. The code I have in the EC2 server can be accessed by pointing the browser to: http://ec2-xx-xx-xx-xxx.compute-1.amazonaws.com, I want to be able to ...
0
votes
1answer
10 views

Why does Apache split up the CPU for www-data processes out of 100 or 200?

It seems like Apache always splits up the CPU usage for www-data processes out of 100 or 200. Why is this? For example, one www-data process = 100% CPU usage: http://i.imgur.com/mfRuOSm.png Four ...
0
votes
1answer
12 views

weird characters being appended to requests

I am running apache2 with php5, wordpress and getting this weird thing where symbols will append to the end of a jqeury request and then quotes on the other pictures. If I clear my cookies it fixes it ...
0
votes
0answers
9 views

Apache mod_proxy with HTTPS without key material (using SNI)

I would like to have an Apache 2.4 proxy which redirects port 80 and 443 requests to different machines in the local network, depending on the host name. I used mod_proxy and it works fine with port ...
1
vote
1answer
12 views

Correct setup of virtual hosts on Apache?

I have a problem figuring out the correct configuration for Apache2 virtual hosts on Centos6 server. I have a clean Centos6 installation with apache2 (httpd) installed, and by default there is ...
-2
votes
1answer
51 views

How to close port 8080 from all except ip 127.0.0.1

I am on Centos 6 with Nginx on port 80 and Apache2 behind him on port 8080. I've written an anti DDOS script which works fine when ip access port 80, but if attacker directly spams port 8080 ...
1
vote
1answer
27 views

Apache high CPU usage but medium overall CPU usage

I am running a website on an Apache server. The server itself is an 8 core server with 35G RAM. I am monitoring the statistics of the apache resource usage and the overall server resource usage. I ...
0
votes
0answers
20 views

Setting up ProxyPass on Apache

I have an OpenSUSE13.1 system that is as follows: Apache Proxy Server, DocumentRoot = /srv/www/v00, Port = 80 Apache Child Server, DocumentRoot = /srv/www/v01, Port = 81 Apache Child Server, ...
0
votes
1answer
23 views

How to Protect a Folder from Browser access but allow PHP scripts to acess it

So I currently have a folder located at /var/www/pictures, with /var/www being the document root for my web server. I want to have the pictures folder to throw a 403 forbidden error if a user tries to ...
0
votes
0answers
12 views

Ubuntu apache error log not showing remote ips

If I view my apache error log located in /var/log/apache2/error.log it wont show the remote ip from the client who generated the error. Now it looks like: [Sun Jul 20 13:07:55 2014] [error] [client ...
-1
votes
0answers
21 views

How can I send information to another website with Apache, IIS, and NGiNX? [on hold]

I am using both Apache2, IIS, and NGiNX as servers. I am looking for a way to send bandwidth uses with the URL itself in maybe a HTTP POST request. So is there a way to do this without redirecting ...
-2
votes
0answers
23 views

Shared hosting server setup [on hold]

Right now I'm creating shared hosting infrastructure (one server as host, multiple LXC guests with inbound traffic to them via nginx, NAT their outbound traffic back to the Internet). So, could ...
-2
votes
0answers
15 views

Sometimes apache will say “index.html” “ is not found on this server”. [on hold]

This issue has been around for perhaps decades. I remember this issue existing even in 1999. and now it is 2014 when a web site gets heavy volume traffic. for some users.. at random times.. the ...
1
vote
1answer
39 views

fail2ban to block Wordpress brute force attacks on wp-login.php

Is there a way to set up fail to ban to block on IP that hits wp-login too many times? I have tried adding this jail.local: [apache-wp-login] enabled = true action = iptables[name=wplogin, ...
-1
votes
1answer
10 views

VirtualHost for a subdomain and any domain

I've set up a VM running CentOS to use as a development server, and I'm adding rules to my host (Windows) hosts file, so dev.site.com, live.site.com gets redirected to the VM, which are then detected ...
-1
votes
0answers
12 views

Processes clogging up server process queue at same time each day

I have a small web application on AWS running ubuntu with 3 front end web servers and a database server. Each night at the exact same time (3am) we have a significant spike in "processes in the run ...
0
votes
1answer
33 views

Mod_security - Syntax error

I have a password protected directory on my web server. To protect that from brute force attack, I tried to add the IP-Based BLocking config as below in the apache2 config file. But everytime I ...
0
votes
0answers
27 views

Showing only domain with .htaccess and mod_rewrite

I currently have koken installed to my website (wythDOTno-ipDOTbiz/koken). I know that the .htaccess file in the koken folder is working, because it is making the url's clean by removing the ...
0
votes
1answer
9 views

Apache TOP command time format?

When running top on an Apache server, what is the time format for the output? For instance, is it minute:second.second? http://i.imgur.com/wBx8PAh.png Edit: I'm running on Ubuntu 14.04 and the ...