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)

0
votes
1answer
13 views

Passing Authorization Basic Headers Along in Proxy

I am currently trying to get a reverse/forward proxy to pass along the authorization headers to the target server. How would I go abou this? I have already looked at the below sources, and one of the ...
2
votes
1answer
2k views

How to tell how Apache might be broken and preventing the ruby passenger module from installing

I'm installing a ruby on rails application to a Ubuntu 14.04 server. As part of it, I need to install the passenger module for Apache. When I go to run the "passenger-install-apache2-module" I receive ...
0
votes
1answer
34 views

Content-Type not being set for jpg, but is being sent for png. How do I check Apache config?

This is weird. I have an image resizing script on my Apache server. It's outputting PNG files and JPG files. They display images fine in the browser. However, the Content-Type isn't being set for ...
0
votes
0answers
10 views

mod_jk repeatedly showing error “no body with status=404”

We have an Apache 2 server on Solaris with mod_jk configured. It functions fine, but the logs repeatedly show this error: [Mon Jun 27 15:45:41.399 2016] [3485:1] [info] mod_jk.c (2765): No body with ...
0
votes
1answer
1k views

Apache: How to switch from CGI/FastCGI Server API to DSO?

Apache: How to switch from CGI/FastCGI Server API to DSO? I want to switch back and forth. I found this answer for the reverse step, but I need the the first part: Apache: How to switch to CGI/...
2
votes
3answers
6k views

Redmine install not working and displaying directory contents - Ubuntu 10.04

I've gone through the steps to set up and install the redmine project tracking web app on my VPS with Apache2 but I'm running into a situation where instead of displaying the redmine app, I just see ...
0
votes
1answer
12 views

How to apache to stop response to requests if alias or port does not match

I have more than one domain like example1.com example2.com. Some of them has SSL certificates and some of them does not. My apache listens both 80 and 443. If a domain has SSL certificates, I redirect ...
0
votes
0answers
8 views

How to add Virtual host on ec2 wiith Apache 2.4.18?

I'm trying to domain to point specific document root of EC2 instance. I've set Route 53 and and also set DNS to domain. Now domain points fine. I have also added host to host file of server. Now I ...
3
votes
1answer
1k views

Apache redirecting https://host:port/folder to http://host:port/folder/

I have a apache server using two SSL domains (no SNI support) in different ports, kinda like this: https://host1.tld:443 (default) https://host2.tld:444 (non-standard) I have a Rewrite rule to ...
2
votes
1answer
1k views

Apache2 Segfault - need help interpreting this coredump (suspect cause is memcache / php session related)

Three Apache2 web servers running a PHP 5.2.3 web site. We're using Memcache to cache rendered pages but also as the storage engine of the PHP Sessions. At peak traffic times we're getting Apache ...
0
votes
1answer
20 views

Apache not linked correctly to OpenSSL

I have downloaded the httpd-2.4.20 source files and tried to build it using the OpenSSL already installed on the system, which is Openssl 1.0.1t. I used these commands in order to achieve the desired ...
0
votes
0answers
11 views

Apache authentication against FreeIPA's Kerberos

I'm currently trying to set up Apache as an authentication portal. It's supposed to act as a reverse proxy with krb authentication. My apache server is named portal.test.com (debian container) My IPA ...
8
votes
2answers
1k views

apache2: Get a list of registered handlers

Is it possible, to get a list of all handlers from apache? With setHandler it is possible to create handlers. One possible usage would be to add a handler for a specific file extension (addHandler). ...
0
votes
1answer
2k views

Apache2 will not start on OpenSUSE after enabling mod_pagespeed

I have a linode VPS, running openSUSE 12.1 (A little outdated, but stable). I have installed the RPMS for mod_pagespeed. mod_pagespeed.conf has "ModPagespeed on". Restarting apache fails after ...
1
vote
1answer
1k views

Apache ProxyPass/RewriteRule with p flag: Return no content when response has multi-part content type i.e.images

This is a continuation of a previous question which has been implemented with a little change. Following is the structure I am going to talk about. My goal is to create the Tunnel/Proxy. ...
2
votes
1answer
1k views

Graphite not running

I'm currently trying to install graphite 0.9.9 on a gentoo box using these instructions from the graphite wiki. Essentially, it fronts graphite using apache and mod_wsgi. Everything seems to have ...
1
vote
1answer
1k views

Apache2 and PHP

I'm new installing/configuring apache2 and php. Here's what I've done thus far, along with my current server set up. I'm very familiar with Solaris/Sun OS. Solaris 10, PHP version is 5.3.26, Apache ...
0
votes
1answer
1k views

Errors getting apache working with fcgi and suexec

I have a Debian 6 server and I was previously using Apache with mod_php but decided to switch to using fcgi instead since Wordpress was somehow causing Apache to crash. I have the following in my site'...
-1
votes
0answers
7 views

Openshift timeout exceed

I have an python3.3 + bottle app on Openshift. It takes picture and soundtrack from use (summary size<20MB) and makes video from them. Uploading and processing takes a quite long time, so when i ...
0
votes
1answer
12 views

Apache htaccess redirect http/www to https/non-www [duplicate]

To redirect from - http://www.domain.com - http://domain.com - https://www.domain.com to https://domain.com im using the following (apache)htaccess: <IfModule mod_rewrite.c> ...
-8
votes
1answer
101 views

Is my virtual host configuration correct? [closed]

Is this virtual host configuration correct? DocumentRoot /sda1/htdocs <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /sda1/htdocs> ...
0
votes
0answers
14 views

to set RequestHeader in apache httpd server is not working

I have a requirement, where I need to set the RequestHeader with a value retrieved from the querystring of the URI. Approach adopted is to write the RewriteCond and ReWriteRule where the condition ...
4
votes
2answers
2k views

modsecurity: block IP address that visited 404 pages more than 10 times in a minute

We're using mod_security and we have currently issues with some bots. I would like to block IP Address that visited 404 pages more than 10 times in a minute. How can this be done? How can I poll the ...
-1
votes
2answers
10 views

Apache SSL not working in Centos 6.5

I have a simple LAMP stack with httpd/Apache installed on Centos 6.5. I've set my vhost up in /etc/httpd/sites-available/acute.conf like so: <VirtualHost *:80> ServerName acutemedical.co ...
0
votes
5answers
5k views

Trying to redirect a url to another page by IP range

I'm having a bit of a trouble here. I have this several rewrite rules which I think does not work. My main purpose is to restrict pages and allow only specific IP or network block. RewriteEngine On ...
1
vote
2answers
449 views

apache httpd Redirecting URL based upon Server Name

We have a Jira and a Confluence system at my work. Both are running on the same servers. The actual URL to access Jira and Confluence are: http://foauslxapp05:8080/jira http;//foauslxapp05:8090/...
0
votes
1answer
15 views

Redirect to new domain within sites-available apache

I'm moving a website from www.myolddomain.com to www.mynewdomain.com however I'm trying to do the following: If someone goes to www.myolddomain.com they will be redirected to www.mynewdomain.com/...
-3
votes
1answer
29 views

Wildcard certificate supporting both www and non-www domain

I have a GeoTrust wildcard certificate installed on my website www.example.com. It is working fine with https://www.example.com but it is not supporting https://example.com. It shows a security ...
0
votes
2answers
4k views

net err connection timed out

I have Apache/2.2.22 on Ubuntu 12.04. Apache is set as reverse proxy server. So when accessed from a remote system, the page and contents are displayed. But after some time the server seems to ...
0
votes
0answers
9 views

3 apache config files after SSL cert install. Rewrite won't work

I used EFF Certbot to install a free SSL certificate. Now I have three config files for my website. 000-default.conf 000-default-le-ssl.conf default-ssl.conf Additionally I have some other config ...
0
votes
1answer
101 views

Deploying Django application as Wordpress subpage (at sub url), mod-wsgi

I have a Wordpress blog, let's say that it's address is like yakblog.org and it is a Wordpress blog installed on Ubuntu 12.04 server. Now, I would like to run a Django application as one of the sub ...
0
votes
0answers
8 views

apache postfix trying to change user “from” address from apache to domain account

This is the same question as of apache sendmail: trying to change user "from" address from apache to domain account but its for postfix. User did not actually mentioned what he did with ...
0
votes
2answers
11k views

Removing php extension with .htaccess does not work

I use the following code on my site elixnews.com to remove php extension from: RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond ...
0
votes
1answer
34 views

Server being spammed with a lot of POST requests

I am getting a lot of POST requests to my server that look like this. 5.113.41.160 - - [20/Jun/2016:16:05:20 -0400] "POST / HTTP/1.1" 200 9451 "-" "-" 46.52.87.170 - - [20/Jun/2016:16:05:27 -0400] "...
2
votes
1answer
1k views

Apache deflate ignores javascript

I have set up deflate in my htaccess. Everything works fine, except for some reason javascript files are being ignored. I tried every possible combination of AddOutputFilterByType DEFLATE with ...
-2
votes
0answers
9 views

phpMyAdmin install with php7 centos7 manually? [on hold]

So I am running php7 and centos 7 and I am looking to install phpmyadmin. If I add epel and run sudo yum install phpmyadmin I get an error saying my php versions conflict with what phpadmin requires. ...
0
votes
2answers
1k views

Apache Passenger displaying my Rails application contents?

I have installed mod_rails (phusion passenger) for Apache on Ubuntu 11.10. Ruby and Rails are running fine, and so does mod_rails. I have setup a site on dev.localhost, which is my ruby app. The app ...
0
votes
0answers
6 views

AddRadiusCookieValid and AuthRadiusCookieValid in Apache Radius module

For one of my projects I have to set up two factor authentication. I have used Apache Free Radius module which acts as a client to Radius server. This setup is already been done and 2FA is working ...
0
votes
1answer
42 views

EC2 and Apache HTTPD no access via IP but via DNS name

I have some trouble with my EC2 instance. I have a normal Amazon Linux with the standard Apache HTTPD. My problem is that I can't access the HTTPD via IP address (e.g. http://123.123.123.123/), but ...
0
votes
1answer
13 views

.htaccess 301 redirect for https and www [duplicate]

I'm struggeling with the apache rewrite engine and need help to transform these address-variations: http://www.site.de/index.php www.site.de/index.php http://site.de/index.php site.de/index.php to ...
2
votes
1answer
1k views

phpinfo.php is not showing extra folder for additional PHP configuration files

My phpinfo.php is not showing extra folder for additional PHP configuration files. I am running Apache v2.4.4(with PHP DSO) and PHP v5.4.14 on CentOS v6.3 32-bit. Apache and PHP installations are ...
3
votes
2answers
3k views

Apache 2 UserDir for only one VirtualHost

Is it possible to enable the UserDir Directive for just one VirtualHost rather than have it on for all and then disable it (with "UserDir disable") for each VirtualHost you don't want it on? I have ...
2
votes
1answer
1k views

Obscuring tomcat context path in URL

I've setup an Apache reverse proxy to Tomcat that is working, in that I can load my url and get connection to the Tomcat backend. What I'm attempting to do now is rewrite the URL that a user sees in ...
0
votes
1answer
66 views

apache http 2.2.29: Segmentation fault

We are using apache http server 2.2.29 on Linux. Below is the information related to Linux version (as found in /proc/version file) Linux version 2.6.32-573.el6.x86_64 (mockbuild@x86-027.build.eng.bos....
0
votes
3answers
61 views

Are there any disadvantages of blocking port 80 for security reasons?

To improve security, we would like to make https access to all customer sites that we host mandantory, and guarantee this in our terms and conditions. The problem is that currently the Apache ...
1
vote
1answer
1k views

gzip compression using mod_deflate apache with tomcat

I'm trying to enable gzip compression in my Apache server which is fronting a Tomcat instance using a connector. I tried several variants of the module configuration settings in my httpd.conf. Here is ...
12
votes
1answer
4k views

kworker consuming +90% IO and zero disk write

this is a standard apache web server on AWS Linux AMI + EBS. We are noticing high load average (+8) and iotop -a shows: Total DISK READ: 0.00 B/s | Total DISK WRITE: 2.37 M/s TID PRIO USER ...
2
votes
1answer
2k views

apache child pid exit signal Segmentation fault (11)

when I installed joomla I can't see the index.php and I get this messages in my /var/log/apache2/error.log [notice] child pid 3211 exit signal Segmentation fault (11) for activate the coredump, I ...
-1
votes
0answers
11 views

application(or apache) is not getting loaded after some time of inactivity

I am having a PHP web based application which is running on Apache 2.2. The issue is, if I put my application in to an idle state for some time the application is not responding after that. The idle ...
1
vote
4answers
5k views

php.ini changes don't have any effect

When I make any changes in php.ini located in /usr/local/lib on centos, the changes don't appear to be applied, for example, when I clear all the content of php.ini and restart Apache everything works ...