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
votes
0answers
6 views

Session lost in Jetty using Apache as proxy

I have an application based on eXist-db. It's basically a Java web application that uses Jetty. It runs on the remote Linux server behind Apache proxy. I use the following Apache configuration: ...
-1
votes
0answers
6 views

Make JBoss/Wildfly context root available on HTTPD root path?

I have a JavaEE application deployed in Wildfly or JBoss under the "/foo" context path. I've also got Apache HTTPD 2 setup and configured to front Wildfly via mod_jk. Everything is now available and ...
1
vote
1answer
16 views

mod_rewrite activated but error logs

The mod_rewrite is running on my system but I still have an error at the apache2 error_logs. me@server:# ls /etc/apache2/mods-enabled | grep rewrite rewrite.load Content of rewrite.load LoadModule ...
0
votes
0answers
9 views

Finding high response Urls through analog 6.0

I am using Analog 6.0 for access log analysis but the report generated by the tool doesn't contain high response time taking URLs. Please suggest me the changes in configuration file of Analog 6.0 ...
1
vote
1answer
12 views

Is there a way to make GoogleImageProxy honor Cache-Control / expiration headers?

I am suddenly getting flooded with requests from Google's image proxy servers that look like the following: 66.249.81.250 - - [04/May/2015:06:55:54 +0000] "GET /images/image_1.jpg HTTP/1.1" 200 93394 ...
-1
votes
0answers
15 views

How to setup non SSL (listen on port 80) and SSL (listen on port 443) with Apache for same Virtual Host in Centos

I'm having troubles setting up and putting to work a non SSL and SSL environment with Apache (httpd 2.2.15) in CentOS 6.6 locally for testing purposes. I'm following this guide, apparently CentOS ...
-1
votes
0answers
8 views

How can I get Apache to redirect URLs to the Document Root that have a /?someFIle.php in them?

I'm working on a new client, and their Dev URL contains http://www.example.com/?someFile.php. I am trying to get the entire site up and running locally, but I am running into issues with the URLs ...
1
vote
0answers
12 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 ...
0
votes
1answer
24 views

Why I have set HTTP_X_FORWARDED_PROTO and unset HTTPS on Apache 2.4? [on hold]

Recently I updated my website: CMS (Drupal), it's OS (Ubuntu 14.04) and Apache (2.4.7). The situation is that when surfing on https://example.com/whatever PHP can't detect HTTPS. $_SERVER['HTTPS'] is ...
0
votes
1answer
25 views

Blocking UserAgent libwww-perl with .htaccess not working?

The server is running on Apache, and trying to block libwww-perl, but not sure why it's not working. I've put the following in my .htaccess, but when I run the test I still get the notification that ...
1
vote
1answer
15 views

Can mod_security only log triggered rules if the request was blocked?

I've installed mod_security and I'm currently running in DetectionOnly mode as I monitor logs and configure to suit my servers needs. I've set it up for anomaly scoring and tweaked my scores ...
1
vote
1answer
14 views

mod_auth_radius secure over https?

mod_auth_radius README file says: Using static passwords & RADIUS authentication over the web is a BAD IDEA. Everyone can sniff the passwords, as they're sent over the net in the clear. If I ...
0
votes
0answers
13 views

How to reverse proxy with SSL using apache

I have two SSL enabled servers. I want to be able to visit https://server1.com/foo/bar and have server1 reverse proxy the request over to https://server2.com/bar. Server2 has several https virtual ...
0
votes
1answer
21 views

Apache SSL Errors every 30 seconds

I have three load-balanced Apache 2.4.6 servers running on fresh installs of CentOS 7. The load-balancer is a Barracuda 340. I know its old, but it's more than capable of handling the traffic, and ...
0
votes
1answer
25 views

Where can I learn about apache [on hold]

I use apache web server for web development in python. The biggest problem I face with apache is setting up the environment. I can't understand thing like what is difference between /etc/apache2 and ...
1
vote
0answers
21 views

Nagios Apache publishing

I am deploying a NagiosXI server (CentOS 6.6) and I would like to publish the site externally to allow team members to use the mobile app without the need for a VPN client. I have worked out the ...
0
votes
1answer
24 views

Apache configuration resulting in recursive /index.html

I'm using puppet to configure Apache, and have a problem. I'm trying to serve a simple front page, with links to 2 subpages for Kibana and Uchiwa. I'm trying to use http://server/logging for kibana, ...
-2
votes
3answers
39 views

How Apache knows which domain content to be delivered [on hold]

I request every one to please help me to under stand the basic. Suppose one server has two domain aa.com and bb.com . How apache understand , which content to be deliver? In access.log , there is no ...
0
votes
0answers
17 views

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 ...
-1
votes
0answers
17 views

Centos Zpanel domain name pointing to default Apache 2 Test Page [on hold]

All was well until I went to bed yesterday only to output chaos in the morning. My website was working fine yesterday but since today morning it is pointing to the default apache page. I checked the ...
0
votes
1answer
44 views

DOS and DDOS attacks [on hold]

Our website is being constantly attacked by the bots. We tried mod_evasive and mode_security but those modules slowed our server considerably. Can anybody please suggest more solutions. Thanks in ...
0
votes
1answer
12 views

How can I accept responses from an API with multiple subdomains?

I write website prototypes that use data from a server I do not control, the response is in JSON and the server does not support JSONP, thus I have problems with CORS as I am developing in the client ...
0
votes
0answers
6 views

Apache redirect if not alias

Using Apache, I have a virtualhost that contains an alias to PhpMyAdmin. I'd like to redirect everyone that connects to the server when the url does not start with /phpmyadmin/ Meaning if someone ...
0
votes
2answers
45 views

Why can Apache access most of my file system?

I recently discovered that as long as I give a full path, my web server will serve any file on my file system it has read privileges to. In other words, something like ...
0
votes
0answers
8 views

Apache AuthType Basic for local network, no auth for the rest

I tried to find a solution, but my case is the opposite of most configurations and it's getting hard to find examples. I have a php application who looks for the typical HTTP Authentication first, ...
0
votes
1answer
18 views

Apache2 proxypassreverse directive appending virtualhost port?

I have been trying to setup a reverse proxy using apache 2 mod_proxy and the proxypass & proxypassreverse directives. I am installing WSO2 Identity Server and wish to access that app using a url ...
1
vote
0answers
6 views

apache2.2: ldap_userdir + mod-rewrite does not work properly

My apache config: DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory ...
1
vote
0answers
15 views

CentOS vhosts causing issues with Vagrant Share command [migrated]

I have a CentOS 6.4 box running with Virtualbox with a basic Vagrantfile like this: Vagrant.configure("2") do |config| # centos box information config.vm.box = "nrel/CentOS-6.5-x86_64" ...
-1
votes
0answers
14 views

Clean PHP Installation

I've recently purchased a VPS from Digital Ocean to move one of our more resource & traffic intensive systems to its own box. When including PHP files - I get the error message: Fatal error: ...
0
votes
2answers
33 views

Can't configure two subdomains apache 2.4

I'm trying to configure two subdomains using apache 2.4, but seems that there is a problem I can't resolve. Here is the apache configuration file <VirtualHost *:80> ServerName ...
0
votes
0answers
11 views

https apache2 rewrite rule returns loop page

I have a rewrite rule that should redirect (http) membership.newref.php to (https) example/membership.newref.php Options +FollowSymlinks RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ...
0
votes
0answers
11 views

Ubuntu 10.04-12.04 upgrade apache not working

I've just upgraded a server from Ubuntu 10.04 to 12.04 given the imminent end of support for 10.04. The upgrade went fine (I'd tested it all with a virtual machine beforehand), however the webserver ...
0
votes
0answers
12 views

Cannot log in to the MySQL server [closed]

Someone please help me. Working on Windows 7 with XAMPP and I accidentally deleted my phpmyadmin information. Now I can't sign back into phpmyadmin. How can I add the root user back?
1
vote
1answer
33 views

SSLRequire - file function

I'm having trouble with Apache 2.2 and the small documentation that I can find for the file function of SSLRequire. I'm trying to check the email property of the client certificate in a request using ...
3
votes
0answers
30 views

LInux OOM custom response

I'm running Apache webserver and would like to improve a little bit how the OOM situation is handled. I'm avare of the OOM scores and already did some customizations in that matter so when something ...
0
votes
1answer
20 views

Block an http referrer on the server level

I am seeing multiple fake http referrers to several sites on my server, which for the most part doesn't bother me, except that they distort visitor stats. I have filtered the questionable domains out ...
-4
votes
0answers
25 views

Setting up an NFS mount with an apache server [closed]

I have a total of 5 different server: 3 x Apache Servers One NFS server One Primary DNS I would like to set up an NFS mount to the Apache servers. So far I have installed NFS on the NFS server and ...
0
votes
1answer
30 views

Apache refused to include TLS1.2

I was running openssl0.9.8 for a long time and suddenly my SSL gave me a red X. From the company that I purchased the ssl, they told me that i need to update my server config to include tls1.2 and ...
0
votes
0answers
25 views

OpenSSL 1.0.2.a and Centos5.7

I have an old version of Centos (5.7) and I would like to enable TLS 1.2 due to Google Chrome warning about TLS 1.0 I tried to update with yum but I can see that no OpenSSL 1.x could be installed ...
1
vote
0answers
15 views

Apache Signed certificate by know authority and client certificate self-signed

I've been investigating about this and it work with the apache SSL option SSLVerifyClient optional_no_ca I have the following virtualhost configuration. NameVirtualHost *:443 <VirtualHost ...
0
votes
0answers
26 views

AWS cloudfront with SNI + ELB with 443 to 80 redirection to EC2 issue

I have configured web server front ending with AWS ELB and CloudFront. I have deployed SSL certificate on load balancer (ELB) for HTTPS connection. We have set up 2 listener protocols: Source -> 80 ...
-1
votes
0answers
19 views

Apache mod_mem_cache not working in windows

I am trying to use Apache httpd for caching purpose. I want to use mod_cache for the purpose. I am listening to 8000 port and have 8001 and 8002 as my balancers. I did the below two steps. I un ...
0
votes
3answers
32 views

How to decide on VPS good defaults for PHP and Wordpress when it comes to memory?

I have (only) 512MB to spare. The only thing running on my VPS is PHP/MySQL and on top of it Wordpress. No mail server or any other application, just Wordpress and LAMP stack. How to decide how much ...
0
votes
0answers
16 views

How to create dynamic subdomains in a LAMP environment? [closed]

Basically whenever a customer signs up on my site, I want to know how to dynamically create a subdomain page for him. Example: if john signs up on example.com, john.example.com should be created ...
1
vote
1answer
77 views

Chinese Firewall DDoS and IPtables not working

Recently my server has been hit with DDoS's coming from the Great Chinese Firewall. As per the advice in one of the replies in mod_security block requests by http-host header, and the advice in ...
-1
votes
1answer
13 views

Godaddy .htaccess and mod_url

I'm an experienced full stack developer and freshly minted webmaster. Recently my client asked me to create a redirect from one url to an outside page. I know how to make a page redirect and I'm ...
2
votes
2answers
34 views

Setting up load balancing on 3 apache servers

I want to set up load balancing on my 3 Apache servers that I have created. The 3 addressed that I have used for the server are, 192.168.151.101, .102 and .103 I have then created a load balance ...
1
vote
0answers
14 views

How to diagnose not working Reverse Proxy Server in Apache

I have added a section to httpd.conf for a reverse proxy server but nothing seems to happen. Nothing is getting written to either the error or transfer logs. Any suggestions on how to diagnose the ...
0
votes
0answers
22 views

CentOS 6.6 port not open locally [duplicate]

I searched around and can only find the opposite problem -- ports are available locally, but not remotely. My issue is, the port was opened for me remotely, and it works, but it isn't available ...
-2
votes
2answers
17 views

Apache load balancing [closed]

I am trying to load balance 3 Apache servers. I am using VMware and I am very new to this kind of thing. Does anybody have any good sources that I can read for a tutorial or could anybody point me in ...