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

htcacheclean doesn't seem to be cleaning the cache

I'm running mod_cache with apache 2 on a fairly high traffic'd site. I've set the htcacheclean to run in demon mode every 10 minutes to keep the cache at 4GB. It's currently at 15GB and doesn't seem ...
5
votes
3answers
879 views

.htaccess redirect all extension to php

I recently updated my .htaccess file to hide the .php extension of the urls. It works nice, when I try to reach domain.com/index, it displays the php file. When I type domain.com/index.php it ...
4
votes
1answer
2k views

Apache mod_deflate not compressing javascript and css files?

"GET /Symfony/web/app.php/app/dashboard HTTP/1.1" 4513/37979 (11%) "GET /Symfony/web/css/application.css HTTP/1.1" -/- (-%) "GET /Symfony/web/js/application.js HTTP/1.1" -/- (-%) "GET ...
2
votes
3answers
991 views

Kill PHP process when connection is closed

I've posted the following question to SO, but thought there might be a server based solution. http://stackoverflow.com/questions/9053964/php-script-with-sleep-does-not-exit-on-connection-close I'm ...
-2
votes
0answers
17 views

How to stop someone from using my server as a proxy?

I have an Ubuntu, Apache, Rails 4 site on an AWS EC2 instance. My site was working fine but now is saying that it is overloaded with users. That is NOT the case as it is a private site. My --tail ...
0
votes
0answers
7 views

apache mod_evasive with mpm_prefork settings to work

I have tried to find all the information I could on this and I understand the problem with mod_evasive not working when the server is in the mpm_prefork mode (instead of worker). However, I was able ...
0
votes
1answer
4 views

Do I have to load Zend Apache/PHP extensions if I'm not using Zend Framework?

I'm configuring web server. I want to remove any unnecessary extensions etc. I'm not using Zend Framework and I will never use it on this server. When I check configuration (by using phpinfo()) I ...
-1
votes
0answers
20 views

XAMPP Apache error AH01599: Cannot get media type from 'x-httpd-php53' [on hold]

I'm trying to setup Xampp on a Mac (OSX 10.10.2), its setup and normal PHP runs, however when I try and run a Wordpress site the PHP code doesn't execute, it just prints out in the browser and I keep ...
-1
votes
1answer
14 views

DHE cipher suite issue

I am now using this cipher suite: SSLCipherSuite ...
2
votes
1answer
1k views

Apache configuration to make NTLM authentication work through a Proxy

I'm running an application server behind an Apache proxy with the following sort of thing in my Apache config: ProxyPass /app http://myapplication:8080/myapp ProxyPassReverse /app ...
-3
votes
0answers
14 views

what is the best configuration of apache2 itk module [on hold]

I would like to use the apache2 itk Module as it allows the different sites secured them hosted on a single server ... $apache2 -l Compiled in modules: core.c mod_log_config.c mod_logio.c ...
-4
votes
0answers
31 views

Why would there be an occasional delay in requests when using Apache Proxy as reverse proxy [closed]

Apache proxy when used as reverse proxy is delaying serving requests to App Server. Did anyone notice this issue, if so how can we avoid this delay between proxy and server?
0
votes
0answers
15 views

How do I ban IP's that request files that do not exist using fail2ban? [duplicate]

I have recently started using Fail2Ban and need to configure a specific 'Jail'. My apache error logs are filled with requests for files within my /var/www folder. The folder doesn't contain any ...
0
votes
1answer
2k views

Apache stops responding to http requests — https continues to work

Okay. Very strange problem that I'm having here. I just recently updated to Apache 2.4.2 from 2.2.17, mostly to try to get name-based SSL VirtualHosts working (although they should have been working ...
2
votes
2answers
882 views

Apache: The given path contained wildcard characters

The problem is not a persistent one; it happens sometimes and I am unable to recreate it (even using the same urls). [Tue Dec 20 09:07:12 2011] [error] [client 66.249.66.169] (20025)The given ...
0
votes
0answers
18 views

PNG images are truncated and served intermittently from Apache Tomcat 8.0.15

Problem: PNG images are served intermittently from Apache Tomcat 8.0.15 in IE8 Platform: Windows Server 2008 Description: I have recently migrated from Tomcat 7 to Tomcat 8. Everything is working ...
1
vote
5answers
1k views

Forwarding requests throught Apache to openVPN

I am wondering if it is possible to redirect requests through Apache to eg. OpenVPN. As long as I need to bypass firewall, I need to use port 80/443 for openVPN, but there is Apache server which has ...
1
vote
1answer
40 views

Apache on CentOS 6 Unresponsive [on hold]

Twice this morning, somewhere early this morning, and then again around 8-9AM, our Apache server was unresponsive, though the service showed as running. We reset it with service httpd restart, which ...
1
vote
1answer
2k views

git push over smart HTTP fails with 403

This has been driving me nuts. I'm running git 1.7.8.rc4 with Apache/2.2.14 on Lucid Ubuntu, and set up LDAP authentication. The authentication seems to be working fine, and i can pull, but i can't ...
0
votes
0answers
12 views

Dynamic content, what is the best web server combination? (Software wise not Hardware) [duplicate]

We developed a mobile game for smartphones and it uses a http php website as a backend. Sometimes we even have 14000 people playing at the same time, at 12000 it is already noticeable slow and web ...
-1
votes
1answer
51 views

How an apache request queue works? [closed]

When the apache is busy with all workers and threads, where the next request is stored until a timeout expires? How to configure this queue or cache?
1
vote
0answers
2 views

Apahce MPM ITK dropped connections

I am currently using Apache MPM ITK on a dedicated Mac Mini server to allow Apache to run under multiple user accounts for different virtual hosts. I'm running into an issue that about 1-2% of the ...
0
votes
2answers
4k 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 ...
-2
votes
0answers
21 views

Roundcube / Squirrelmail doesn't load [on hold]

Why roundcube or squirrelmail doesn't load up? I tried everything. Let's pick Roundcube first. I have installed it under Ubuntu 12.04, then dpkg-reconfigure. After that I add it to access it from the ...
-1
votes
0answers
8 views

Limiting authenticated users to 1 IP (dynamically) but unlimited connections in Apache2

I looking for a method to allow an authenticated user access from only 1 IP but unlimited connections. Imagine this scenario; Bob logs in from 192.168.1.1 to the web server using basic auth. I ...
2
votes
1answer
3k views

How to exclude a sub-folder from HTaccess RewriteRule

I have WordPress installed in my root directory, for which a RewriteRule is in place. I need to password-protect a subfolder ("blue"), so I set the htaccess in that folder as such. Problem is that ...
1
vote
2answers
2k views

403 with Apache and Symfony on Ubuntu 10.04

I'm trying to run symfony on my apache installation (I'm using xampp for the whole package) and it keeps giving me a 403 error every time I try to access my website. I've got vhosts set up with the ...
0
votes
0answers
22 views

Apache process hang and 100% CPU usage

I have strange problem with Apache (MPM Prefork) and mod_php. Server is running for some time and after random time few process is hang and using 100% CPU. 1741 fileu 20 0 840m 65m 41m R 100.0 ...
2
votes
1answer
1k views

How to configure SNI so as to have benifits of SNI [on hold]

How can i configure SNI to get the benifts ...........I am using openssl 1.0.0 beta5 and apache 2.2.14. Can anyone tell me the complete procedure . I am configuring virtual host in ssl.conf files and ...
-3
votes
0answers
14 views

Cannot connect to ip. Error 110. Connection timed out [on hold]

i am using ssh-crack to check if ip and password is right or not , i get below error : Cannot connect to ip Error 110. Connection timed out. i am running code on linux apache shared hosting
1
vote
2answers
271 views

SSL SNI security concerns

Just wondering if SNI is useful in segregating public content from private content. I managed to configure our server to serve /foo for every client but serve /bar only for clients from the intranet, ...
0
votes
0answers
45 views

Loose the header REMOTE_USER after reverse proxy

I have a configuration file that enables me to do a reverse proxy. The problem is, before the proxy I am viewing all the headers and REMOTE_USER is not null but after the proxy, the same variable is ...
1
vote
1answer
1k views

Tomcat 7 ClassNotFoundException: org.apache.tomcat.JarScanner

When I try and start my app I get this error. I have verified that JarScanner exists in the CATALINA_HOME directory so I dont know why it cant find it. Is there anything that could lead to this issue ...
0
votes
1answer
869 views

Fully restrict access to sub-directories with .htaccess

With .htaccess, how can I block access to any sub-directories (and its contents) when they are accessed directly (using the browser's address bar for example)? I'm on a shared host, so I do not have ...
0
votes
2answers
962 views

Dynamic Reverse proxy with Apache 2

Hope you can help me with this one, I have an apache server configured as a reverse proxy for some domains. They point to and iis server and also have some php sites as virtualhost in the same ...
1
vote
1answer
30 views

Cent OS logrotate is not rotating httpd log

My /etc/logrotate.d/httpd file content is /var/log/httpd/access.log { size=50M dateext maxage 90 postrotate /usr/bin/killall -HUP httpd ls -ltr /var/log/httpd/ | mail -s "$HOSTNAME: Apache ...
0
votes
1answer
272 views

Database connection to postgresql refused for flask app under mod_wsgi when started by systemd

I'm having a weird problem where a flask application I am trying to run (https://github.com/pyfarm/pyfarm-master) under mod_wsgi under Apache under CentOS 7 cannot connect to a local postgresql server ...
1
vote
1answer
52 views

Failing to properly configure a sub-domain

I've rented a small virtual private server that runs Ubuntu, and I'm trying to configure a sub-domain. Thanks to several resources I've figured out how I'm supposed to do this, but still it does not ...
0
votes
1answer
964 views

Apache .htaccess with mod_expires not working for certain directories

I have a Joomla site that I am trying to enable caching using mod_expires. I have the .htaccess in the root of the site and have added the options as found on the page ...
1
vote
0answers
22 views

“normal” number of processes/threads

Considering a standard LAMP server (aka webhosting) what should be a limit at number of processes/thread? ps -elfT | wc -l 475 "Limit" I mean: on DDOS probably the numbers of children-processes ...
4
votes
2answers
1k 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 ...
3
votes
1answer
1k views

Apache/mod_cache: “Error 103 Software caused connection abort”

We keep getting the following error popping up in the apache error log: [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data This error ...
0
votes
2answers
25 views

How to force HTTPS connections? [on hold]

I am running apache on an Ubuntu 14.04 home server. The server is behind a router so all ports need to be forwarded for them to be used. I have forwarded port 443 for HTTPS, but did not forward port ...
-1
votes
3answers
2k 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 ...
0
votes
0answers
19 views

Apache Httpd and Weblogic configured for SSL

I have an Apache Httpd running as my RPS in front of some Weblogic and Coherence servers. I have the rps configured for ssl, and to deny SSLv3 and SSLv2 requests. So when I got to the specific url ...
3
votes
1answer
889 views

Why is my Rails application hanging?

I have a Rails application of moderate complexity running under Apache/Passenger which becomes unresponsive after periods of idleness. It takes several minutes to respond, but can be temporarily ...
-1
votes
1answer
323 views

how can I disable cpanel difault page? [on hold]

I have created a new domain and uploaded index.html to public directory. but it isnt displaying and cpanel default page is displaying instead. how can I change the same??
0
votes
3answers
6k views

Trouble installing php memcache extension [on hold]

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

How to find corresponding IP addresses from apache error logs [on hold]

I have a ton of error log entries in my apache error.log file that look like this: [Mon Mar 30 04:31:12 2015] [error] [client 127.0.0.1] File does not exist: /path.com/phph [Mon Mar 30 ...
2
votes
2answers
2k views

apache2 - how to exclude alias from rewrite rules?

I have setup mod_rewrite and mod_alias on Apache2 on Debian (in a test server). I have the following rewrite code in /etc/apache2/sites-available/default: <Directory /> Options ...