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

Apache2 could not be installed

When I run apt-get install apache2 I get some error: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may ...
0
votes
3answers
35 views

Centos server provides javascript for localhost but not local lan

I have a centos 6 server running an asterisk, freepbx, and apache 2.2.25. On this server, the apache server serves up a webpage called fop2. I've talked to the developer, and he says the files are all ...
0
votes
0answers
7 views

ErrorDocument 401 Exclude from .htaccess check

I have a development site that I use .htaccess to keep out all spiders, unauthorized users. Domain would be like "dev.mydomain.com". I have set up custom error pages in the webroot. My .htaccess looks ...
0
votes
0answers
8 views

Apache mod_mpm_itk process tries to kill process from another user

I'm using apache with mod_mpm_itk and since some weeks I have the problem that it seems that one apache process tries to kill another apache process from a different user and so it gets stuck and all ...
0
votes
0answers
9 views

Configure Apache for Django

I have an apache2 server which serves the Django application and also reverse proxies another server. But this server is still in development stage and crashes a lot. The GET/POST requests for this ...
0
votes
0answers
15 views

apache redirect to public ip

in a new job they have a problem with dns with split zone, because the web site is allocated in a public ip, they can not go to visit their webpage in the domain i tries to point the www -> to the ...
1
vote
0answers
12 views

Apache “httpd fullstatus” when connection limit exceeded

I'm trying to dump "httpd fullstatus" to a log file at the exact moment when the connection limit has been exceeded and Apache stops accepting new connections. Unfortunately "httpd fullstatus" ...
0
votes
2answers
21 views

ImageMagick suddenly stopped working on several of our servers

Overnight, the PECL ImageMagick extension suddenly stopped working on several of our servers. The error message displayed was as follows: PHP Warning: PHP Startup: Unable to load dynamic library ...
0
votes
2answers
19 views

Can connect to Apache 2 test page, but no to Mediawiki

I've set up Mediawiki on Centos 6 according to this article: https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Red_Hat_Linux Works fine locally, but when I attempt to connect from outside my ...
-1
votes
1answer
30 views

How to mask one of my domains to another?

I want one of my domains (freelawofattractioncourse.com) to point to another site of mine (http://katievb.com/freecourse) without causing the URL to change in the address bar. In other words, when a ...
0
votes
1answer
55 views

Apache and php5 fail on ubuntu server

I update a PHP 5.5.28-1+deb.sury.org~precise+1 (cli) and have apache Apache/2.2.22 but when run a restart apache2 apache2: Syntax error on line 216 of /etc/apache2/apache2.conf: Syntax error on ...
0
votes
1answer
14 views

Automatic vhost folders in apache 2.2

I've currently got the following in my vhost config which is working, however I'd like to modify it. Currently my vhost config looks like <VirtualHost *:8080> ServerName dev ...
2
votes
1answer
60 views

Website sometimes takes long time to load

I am running a LAMP system with Ubuntu 14.04. I have 4 cores and 8GB Ram on my server The problem is that when I connect to my website after idle period( 2-3 hours or more) the it takes lot of time ...
0
votes
1answer
17 views

mod_rewrite sending redirect loop when trying to redirect based on user agent

I am using Apache 2.2.3 (old version, I know) So I am trying to redirect based on older versions of IE (6 and 7 for now... ) and I am getting a redirect loop. I have: RewriteEngine On RewriteCond ...
0
votes
0answers
7 views

Executables run as CGI served by EasyPHP

I am trying to compile C program and run it as CGI script on EasyPHP server on Windows. I followed this tutorial, read how to run CGI scripts and how to config Apache to run CGI scripts. I tested a ...
-1
votes
0answers
10 views

Configure Apache vHost forwarding

I want to configure my apache server so that an request to subdomain.domain.com/path is forwarded to domain.com/subdomain/path. Can you split the %{HTTP_HOST} in something like %{Domain} and ...
0
votes
1answer
32 views

nginx and apache - multiple virtual hosts on the same IP - correct configuration

I am trying to run nginx as reverse proxy for Apache on the same machine and serve different websites from it. My question is - is it possible to add virtual hosts only to nginx and have it pass the ...
0
votes
1answer
23 views

Apache Subversion with active directory authentication not working

I'm trying to configure Apache Subversion with active directory but the credentials of a domain user are not working. I'm new to Subversion but what I had first was: LoadModule dav_svn_module ...
1
vote
1answer
30 views

Debugging slow server response time [closed]

I'm testing response time of my VPS server: curl -s -w %{time_total}\\n -o /dev/null http://www.example.com The values are typically round 300ms, Google suggests that it should be lower than 200. ...
0
votes
0answers
11 views

Should I change the value of TcpTimedWaitDelay after increasing the MaxUserPort's value?

I have Apache running on Windows 2008 R2. I had an issue where my Windows Server is reaching maxing outbound TCP connection which caused many connections to be interrupted and my application started ...
0
votes
0answers
26 views

Serving Large Files Apache2

i'm trying to setup a new gigabit debian 7 server to act as our fileserver, however i'm noticing that when i download say a 300 MB file, it downloads ~200 Kbps from the server. While the available ...
0
votes
1answer
15 views

apache forward proxy - how to override a destination address?

I'm running apache as a forward proxy to do header injection, URL manipulation, and request logging for some Android apps and I'd need to override the destination for some requests. For example, ...
0
votes
0answers
18 views

FastCGI: manager (pid YYYYY): server (pid XXXX) exited with status 13

FastCGI: manager (pid 6776): server (pid 20254) exited with status 13 FastCGI: manager (pid 6776): server (pid 18918) started FastCGI: server (pid 18918): initialized I am getting above mentioned ...
-4
votes
1answer
42 views

How to detect which PHP script is sending SPAM [duplicate]

A php script is sending tons of emails. I want to detect what is the source. All emails are sent by the use www-data which the user used by apache. When I check process, I have this result : www-data ...
0
votes
0answers
26 views

Apache: ap_proxy_connect_backend disabling worker

I have a Azure Linux VM where I have installed 5 Ruby on Rails apps, each one running on a different port 3000, 3001,... 3004. After a while, they stop responding. I tried to fix it adding SetEnv ...
0
votes
1answer
20 views

SSLVerifyClient require in Cloudflare DNS

I've done setup my new domain name on Cloudflare but I have a problem while I'm setting up SSL certificate. In detail, I want ask visitors who are want to see my website content a valid certificate. ...
2
votes
5answers
107 views

How to access web page via terminal?

I am testing an Apache server. Normally I open x.x.x.x/directory/index.php in Firefox, then read the httpd/error_logs and troubleshoot. My question is, what if I don’t have a Web browser (e.g., ...
0
votes
0answers
13 views

Apache 2.2 'a2dissite default' not removing access to its document root

I've just installed a fresh install of Apache 2.2 on Raspian / Debian, in order to host exactly one site over SSL. So, before anything, I used a2dissite default to remove the default site being ...
1
vote
1answer
39 views

Proxying an Apache Page to an Application

I have an app running on localhost:2000 whereas my site is on localhost. I would like to point the directory /projects/projectName -> localhost:2000. However, the problem comes when the app makes ...
0
votes
1answer
41 views

Handle PUT like GET on Apache2 [closed]

When I request with PUT, I'm getting 405 Method Not Allowed. I've seen on Internet that PUT is for using with DAV. But I don't want to use DAV and I want to make PUT working like GET. I tried with ...
-2
votes
1answer
23 views

how to create virtual host in apache with main apache server working? [closed]

I have created a virtual host entry (zf2app.loc) for a website running on localhost, but now all my request are being handled by this virtual host. Even if i access localhost it shows me the content ...
0
votes
0answers
16 views

configure apache to use sql server authentication using password and salt

I got a web application which I want to protect using apache authentication. I found out that it uses sha1+salt to store passwords. Since auth_mysql_module is deprecated I try to use authn_dbd_module. ...
0
votes
1answer
32 views

phpinfo showing HTTP_ALLOWCOOKIES set to NO - how to change?

We have a dev and live server that were seemingly built identically. However the live server phpinfo() page shows the following in the "Apache Environment" section HTTP_ALLOWCOOKIES NO Don't see ...
1
vote
1answer
24 views

Why am I getting an “Invalid command 'ProxyPass'” error when I start my Apache 2.2 server?

I'm having trouble getting Proxying working in Apache 2.2 When I try to start it, I get an Invalid command 'ProxyPass' error. that would be indicative of proxy_http_module not being loaded. However ...
0
votes
1answer
15 views

How to failover if Varnish is between HAProxy and Apache

I am thinking about putting Varnish inbetween HAProxy and Apache. That is working, however with Varnish inbetween HAProxy is monitoring Varnish. If Apache goes down it will not failover to the other ...
1
vote
1answer
19 views

Redirect rules for .htaccess with mod_rewrite

I have a PHP script dynamically generating content from a database based on queries. The user might do a search from a text box for the username "mark". The content is provided by PHP at ...
0
votes
0answers
25 views

Apache 2.2 - no PHP involved, high memory consumption

My Apache 2.2 module (Windows) seem to be liking memory, Task Manager shows constant growth in memory until ~2GB are reached, then it crashes. I am not using PHP at all, this is not a website but a ...
0
votes
1answer
28 views

turn roundcube to a virtual host

I am running my mail server on a Ubuntu 14.04 box without any issue. To check emails I have installed roundcube using the deb packages with aptitude. The program was installed to /usr/share/roundcube ...
0
votes
0answers
25 views

How to enable SNI with Apache in Redhat 5.11

I am on redhat 5.11. I want to enable SNI with apache, but I only have Apache/2.2.3 + OpenSSL 0.9.8e-fips-rhel5. I am in a very similar situation like this ...
3
votes
1answer
48 views

Permissions set correctly, but access to directory still open to other

The directory I want to be hidden completely from users (site visitors) is this: drwx------ 2 apache apache 4096 Aug 18 19:01 token However, if I point my browser to the token directory, I ...
-2
votes
0answers
18 views

SSL Certificate for apache 2.2 wont update to new cert after being changed

I am trying to update the SSL Cert in Apache on windows and after adding the new key and cert to the httpd-ssl.conf and upon restart the Apache Service the website is still using the old certificate. ...
0
votes
0answers
25 views

Filter out PHP Notice from Apache2 logs while keeping verbose settings in php.ini [closed]

Is it possible to filter out PHP Notice entries from Apache2 logs before writing but without manipulating PHP logging levels? The rationale is: we need both reasonable Apache2 error logs and quite ...
1
vote
0answers
15 views

How To Stop Apache Logging Client Denied By Server Errors [duplicate]

I get an annoying amount of spam traffic from the Ukrane, Russia, Korea etc. I have setup rules in my .htaccess file to block all of these countries and it's working great. The problem i have now is ...
0
votes
0answers
30 views

apache 2.2 to 2.4 sporadic performance drop

I updated apache from 2.2 to 2.4 and php from 5.3 to 5.4. For some reason I am experiencing huge performance drops in around 5% of requests to the server. On average, sites load in less than 2 seconds ...
1
vote
2answers
44 views

encode URL wihthin URL - apache mod-proxy (ProxyPass)

I have a ProxyPass configured to reach the following: On my server I start a service which provides a Rest-API listening on port 7777. From the client side, I want to be able to call this API like ...
0
votes
1answer
21 views

trying to get 2 websites on one server with apache

Ok I've been looking around for a while and I'm pretty sure I have the virtualhost file configured properly. <VirtualHost *:80> ServerName example.com Redirect permanent http://www.example.com/ ...
0
votes
1answer
9 views

How to forbid access to admin URL path in Apache config by IP subnet?

I want to only allow a private IP range to be able to access the administrator panel on my site. I found an article explaining how to do it for a specific directory path, such as /var/www/admin/, ...
1
vote
0answers
32 views

jsessionid gets dropped between apache and tomcat

We use Apache 2.2.22 and tomcat 7.0.54 on Ubuntu 12.04.1 LTS. Mod proxy is used and Apache and Tomcat run on same AWS instance. We have observed that for the same request JSESSIONID can be seen in ...
-1
votes
1answer
30 views

Apache 2.2 Server Issue [closed]

So I've been running Apache 2.2 on Windows for a few years. The website is really only up and running a few months out of the year; the rest of the time it gets no traffic and is generally ignored. ...
0
votes
3answers
53 views

iptables ip address block ignored?

Running top on our server gives us load average: 68.67, 63.48, 60.30 We suspect this is from too many httpd connections. running: netstat -tun 2>/dev/null | awk '{print $5}' | cut -d: -f1 ...