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)

0
votes
0answers
13 views

Connection Reset by Peer error with Apache and JBoss 7.1.1

We are seeing errors on some of our QA testing scripts that intermittently throw Connection Reset By Peer errors. The Test scripts submit requests via F5 which forwards requests to Apache (2.2.21) ...
0
votes
2answers
700 views

Why is .htaccess not allowed in a directory but is allowed in another?

I have apache2 installed on ubuntu 10.4 inside my var/www/ directory [amung others] I have a cakephp and a dvdcatalog directories. Each of which have CakePHP 1.3 installed. I can access them both ...
1
vote
1answer
10 views

Apache mod_disk_cache on a seperate drive

how can I set Apache mod_disk_cache on a separate drive from where the OS/Apache is installed? I have set up this on my apache2.conf: <IfModule mod_cache_disk.c> # cache cleaning is done ...
-1
votes
1answer
42 views

Linux server apache httpd processes take i/o wait to close to 100% and lock down server

For about 5 days now, and seemingly out of the blue, my linux server has started locking up from time to time. The pattern is always the same as far as I can tell from top and iotop commands around ...
0
votes
0answers
5 views

Send files ending in .mp4 in Apache with HTTP 206 Partial Content

I am using Apache as web server and the return code is always HTTP/1.1 200. I want to set some kind of handler or use a mod to return HTTP/1.1 206 when the extension of the file requested is .mp4 so ...
0
votes
1answer
30 views

Server load increases by lot of httpd request with same PID

I can see that my server load increases to more than 200-300 range. Before 1 week the maximum load was around 20-25. In top and ps -ef i can see a lot of httpd threads and the PPID of most of the ...
-2
votes
0answers
19 views

apache server-status working from localhost but not from 127.0.0.1

I'm using linode, and server have nginx as proxy for apache, i can request this successfully: http://localhost:8080/server-status but not http://127.0.0.1:8080/server-status can any one help? ...
1
vote
1answer
31 views

Setting up php in apache2

There is probably a very simple solution for this particular issue, alas I ether have yet to find it or understand the solution if I did find it. Our server is Ubuntu 12.04. Apache2 is set up and ...
1
vote
1answer
1k views

How to Apache SSL proxy to openerp 7 running in VM?

I have installed openerp v7 in an ubuntu 12.04 Virtual machine from launchpad.i.e server, web, addons. I configured SSL reverse proxy on virtual machine and my configuration for virtual host *:443 ...
15
votes
4answers
21k views

How to get apache2 to redirect to a subdirectory

I am running apache2 on debian etch, with multiple virtual hosts. I want to redirect so that http://git.example.com goes to http://git.example.com/git/ Should be really simple, but google isn't ...
0
votes
2answers
26 views

Apache: Stealth 404 the admin area until authenticated via basic auth, then allow access

Given a administrative area with urls like this: wp-admin/ wp-admin/whatever wp-admin/another-page wp-adminsecretlogin A standard basic-auth coverage would provide a username and password prompt on ...
0
votes
1answer
739 views

Magento Error 404 after moving from Apache to nginX

I moved my magento store from Server "A" which was on Apache to Server "B" running NginX. Copied all files and folders, Exported and Imported the SQL DB, Altered the local.xml file with the new DB ...
1
vote
2answers
3k views

Failed to configure CA certificate chain

I'm trying to setup SSL on fedora with apache. In my vhost... SSLCertificateFile /your/path/to/crt.crt SSLCertificateKeyFile /your/path/to/key.key SSLCertificateChainFile ...
0
votes
1answer
16 views

Application outside document root in Apache/CentOS

I have a PHP application running in Apache on CentOS 6. The document root is pointed to a specific app folder: /var/www/my-project/app I'm trying to get phpMyAdmin running on the same server but I ...
0
votes
0answers
27 views

Apache proxy to two local services

I currently have one service running locally on a machine and apache is handling doing a proxy pass to it on the root. However I now also have another service I want to use a proxy pass with when a ...
0
votes
1answer
34 views

Apache vhosts not working on Ubuntu 14.04 LTS

I'm trying to set up vhosts on ubuntu 14.04 LTS using apache, but it's seemingly not working. Output of apachectl -S AH00558: apache2: Could not reliably determine the server's fully qualified ...
1
vote
1answer
799 views

systemd httpd stop very slow under Arch Linux

When I perform a: systemctl stop httpd Apache often takes minutes to stop. The command: apachectl gracefully-stop always stops immediately. Anyone have any idea what might be causing this? The ...
0
votes
1answer
11 views

Apache2 enable .ini mod in /etc/php5/mods-available

One can use the a2enmod [module] command to enable mods located in /etc/apache2/mods-available. But what about mods in /etc/php5/mods-available? When I try to enable a mod in this directory (eg. ...
0
votes
1answer
11 views

Having CORS Issues with Apache/Wordpress

I have enabled CORS in Apache, here are the headings I am seeing when loading the site: HTTP/1.1 200 OK Access-Control-Allow-Methods: GET, POST, OPTIONS Access-Control-Allow-Origin: * Cache-Control: ...
0
votes
0answers
7 views

Handle compression on Apache without propagating the Accept-Encoding to back-end Tomcat server

I have Tomcat fronted by Apache. I want to handle compression on Apache only, without Tomcat being aware. I disabled compression on Tomcat already, but due to a problem with the application running on ...
2
votes
2answers
1k views

Apache 2.2 + mod_fcgid + PHP 5.4: (104) Connection reset by peer

On a Debian 6 VPS, I'm running PHP 5.4 via mod_fcgid on a couple of different virtual hosts, managed by Virtualmin GPL. At random, I get 500 Internal Server Errors; restarting Apache brings everything ...
0
votes
1answer
28 views

Apache mod_proxy

Uggh, I'm spewing that I can't figure this out, I'm so frustrated: <VirtualHost *:80> servername domain1.com.au ServerAdmin webmaster@localhost DocumentRoot ...
-1
votes
0answers
23 views

Apache redirect based on subdomain and https enforce [duplicate]

I'm having a big trouble configuring Apache, it is not part of my job so reading the docs doesn't help much. I've been told to do the following: on a server running Ubuntu (Amazon EC2 using a Bitnami ...
-2
votes
1answer
35 views

High load of RAM but low CPU

I've a dedicated problem.. When I make a load test with ~500 connections, CPU stay low (about 30%) but memory grow up fast ! And I have a 100% used RAM and 50% used SWAP.. An other dedicated with 2x ...
0
votes
2answers
23 views

Apache redirect to parent folder

I have a server pointing to DocumentRoot /var/www/mysite I would like to redirect all requests from /var/www/mysite/folder/ to /var/www/mysite/ I tried the following: `RedirectMatch ...
-1
votes
0answers
15 views

Setup my local WAMPServer to allows CORS (Cross Origin Resource Sharing)

I am having the Cross-Origin Request Blocked error in my console log for an Yii API, I want to configure my Apache to enable CORS correctly would the following block in my .htaccess look correct? ...
1
vote
3answers
2k views

How to change default permission for uploaded files in apache with mounted webroot?

I have an ubuntu server 11.10 with apache 2.2.20, php 5.3.6 and an installation of Joomla cms. I have used an extra hard disk as my web server storage and mounted it into /data/www/ (I hope it's not ...
1
vote
4answers
6k views

Trouble installing php memcache extension

I'm trying to install memcache on MAMP but I get the warning below, and when I continue it seems to complete properly. I add the line extension=memcache.so to the php.ini and restart MAMP but ...
0
votes
1answer
13 views

Moving Zend Framework 2 from apache to nginx

I would like to move site that uses Zend Framework 2 from Apache to Nginx. The problem is that site have 6 modules, and apache handles it by aliases defined in httpd-vhosts.conf, #httpd-vhosts.conf ...
1
vote
1answer
9 views

Setup Apache + mod_wsgi: incorrect function

I'm trying to setup an apache http server with mod_wsgi on a windows machine, but when I start the service, it fails to launch. In the Windows Event Log I get the following message: The Apache2 ...
0
votes
1answer
39 views

Convert apache rewrite rules to nginx

I want to migrate an Apache setup to Nginx, but I can't get the rewrite rules working in Nginx. I had a look on the official nginx documentation, but still some trouble converting it. ...
4
votes
2answers
2k views

Unable to start the Phusion Passenger watchdog

I'm trying to install Passenger (mod_rails) on Apache2 server by using the command 1. gem install passenger 2. passenger-install-apache2-module Passenger gets installed and i added the below line ...
4
votes
2answers
839 views

mod proxy not working on apache

I am trying to install Mod_Proxy Apache module on WHM/CPanel CeEntOS Linux Server. Here is system info: CentOS release 5.6 (Final) Server version: Apache/2.2.21 (Unix) Cpanel::Easy::Apache v3.7.2 ...
0
votes
1answer
760 views

How to fix Apache from crashing with PHP+Curl on an SSH request?

My Apache process segfaults whenever I call curl_exec() from PHP with an "https://" URL. If I use http instead of https as the URL transport, it works perfectly, so I know curl and the other curl ...
0
votes
1answer
1k views

Equivalent of PHP setlocale in an APACHE config file

I need to display a date in french locale. A solution is to use setlocale(LC_TIME, 'fr_FR'); But I'm looking to set the locale directly in the configuration of my apache server. In the ...
11
votes
2answers
370 views

What would cause Apache to display a bomb icon for a specific directory?

A user of mine came to me with a question today that has me stumped: why do .musecore files on our web server show a bomb icon () instead of a folder icon? More generally, how does Apache decide what ...
2
votes
1answer
918 views

Trying to run an ASP.NET MVC application using Mono on Apache with FastCGI

I have a hosting account with DreamHost and I would like to use the same account to run ASP.NET applications. I have an application deployed in a subdomain, a .htaccess with a handler like this: # ...
0
votes
1answer
13 views

LAMP Server HTTP-> HTTPS redirect in .htaccess

I have 2 LAMP servers with the same version of Apache, both running Wordpress. SSL is working on both servers (although the test server uses a cert for a different domain). On both I have the ...
0
votes
1answer
44 views

Optimize Apache for EC2 micro instance

I'm running apache2 on a EC2 micro instance with ~600 mb RAM. The instance was running for almost a year without problems, but in the last weeks it just keeps crashing, because the server reached ...
0
votes
0answers
20 views

How to run a single MediaWiki on many servers? [on hold]

I couldn't find a tutorial on this, all I found was info on how to run multiple wikis from one server. Issues are things like high-speed shared storage for images between servers and good performance ...
-2
votes
0answers
22 views

Print Services dont work for Apache and PHP running on Debian and Wamp Print services do [closed]

I have a Debian server running Apache 2 (production environment) and PHP. 5.3 I would like to load printing services (staging dev environment Windows WAMP). In the Windows WAMP setup you are able to ...
0
votes
2answers
1k views

service httpd restart failure on aws amazon linux ami

Thanks for your help. I recently did the following: Ran sudo yum update on my ec2 instance running the Amazon Linux ami I then added a virtual host to my vhost.conf for a subdomain. While the server ...
-1
votes
1answer
59 views

Memory Ram too high in HTTPD processes

I management two dedicated servers. I use Centos 6 with Plesk Panel. Update: I use Apache with mod_php. On the first server I have a site in Wordpress. I have noticed that my httpd processes take ...
1
vote
1answer
2k views

Jetty Service on Windows Server 2008 using Procrun: Missing service ImageFile

Xe want to run Jetty as a service on a Windows 2008 Server Virtual Machine. Therefore, I configured Jetty as a Windows Service using Apacke Procrun, following this short description: ...
0
votes
0answers
13 views

Unable to do “big” POST request with Apache2 and ProxyPass

I have an apache2 server, configured with proxypass to access a servlet which runs under Jetty. Now I have a problem with large POST request (600KB). The configuration is as follows: <Location ...
1
vote
1answer
15 views

SVN auto-pros with Apache DAV

How can I set auto-props with SVN version 1.8 using the Repository Dictated Configuration? http://subversion.apache.org/docs/release-notes/1.8.html#repos-dictated-config. I am running svn server ...
0
votes
1answer
14 views

What is <Directory> section in apache's <virtualhost>?

I am changing few settings in the apache configuration file and I found that in another similar server, it has the following settings: <Directory "/var/www/html"> Options Indexes ...
-2
votes
1answer
13 views

mod_rewrite redirect any domain except principal domain to the principal domain

I have some rules as follows: RewriteCond %{HTTP_HOST} ^domain.com RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L] I would like to make the rewrite condition match ANY domain OTHER than ...
0
votes
1answer
12 views

Gitlab install Ubuntu 12.04 with Apache already installed

I'm using Ubuntu 12.04. I have Apache, MySQL, Gitweb and Jenkins already running on there, but wanted to try Gitlab. I downloaded the package and installed as directed at ...
0
votes
1answer
23 views

how to restrict access to all .txt file in apache except robots.txt?

I am configuring apache2 on debian and would like to allow only robots.txt to be accessed for searching engines, while other .txt files are restricted, I tried to add the followings to .htaccess but ...