Version 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)
1
vote
0answers
86 views
I'm getting this message when restarting Apache after installing litespeed on my dedicated server:
I'm getting this error when trying to restart Apache after installing litespeed on my dedicated server:
Apache restarted, but pid file does not match process list pids.
If apache restart ...
1
vote
0answers
80 views
Strange Django/Apache 500 error when loading dynamically generated images (sometimes)
I have a really strange Http500 error when loading dynamically generated images. And for some reason it only happens sometimes.
The apache error log doesn't show any errors.
The django development ...
1
vote
0answers
136 views
Apache 2.2: RewriteMap, ProxyPass interpolation and Keep-Alive
I have an Apache httpd used as a SSL reverse proxy frontend for a lot of backends.
I compute the name of the backend from the path given by the user.
e.g: https://myhostname.com/myaccount translates ...
1
vote
0answers
85 views
Apache long running download fails
I am running an Apache2 web server (Server version: Apache/2.2.17 (Ubuntu)) on Ubuntu 11.04. I have an issue where long running downloads will fail after awhile. I have clients with slow connections ...
1
vote
0answers
76 views
Problems with apache2 and SSL not load files CSS and JS
I have an application in Ruby on Rails 3.2.8, and I'm using passenger-Nginx as Web Server on port 3037 with Apache2 and SSL using ProxyPass and ProxyPassReverse. My problem is, when load in chrome or ...
1
vote
0answers
73 views
Apache 2.4 on Windows 2008 large file downloads are corrupt
I have a 400MB zip file on a server that I am attempting to access directly via a web browser (not through a script). The file seems to download normally, but cuts off at 124 MB as a corrupt file. The ...
1
vote
0answers
63 views
Webserver un-contactable when openvpn is active
I have been trying constantly to get this working for a fortnight. I am about to admit defeat but I really cannot.
I have openvpn client installed on my router and have it connected to an online VPN ...
1
vote
0answers
133 views
Apache cached old ssl certificate
About 2 weeks ago I bought a new wildcard SSL certificate for all of my servers, and immediately tried to set it up on a server by replacing the old self-signed certificate settings. So, I put in the ...
1
vote
0answers
249 views
Apache mod_proxy to ssl backend not working properly
I'm getting the following errors when trying to do a proxy to an SSL backend server:
[Thu Jan 03 14:44:26 2013] [error] (502)Unknown error 502: proxy: pass request body failed to 192.168.1.10:8443 ...
1
vote
0answers
93 views
Apache configuration with proxy and location
I want to map these domains to these ports. How can I do it?
http://test1.example.com/phpmyadmin/ example.com:80/phpmyadmin/
http://test1.example.com/app1/ example.com:8080/app1/
...
1
vote
0answers
104 views
URL Rewriting and Rack base paths
I'm trying to set up a Rails website on Bluehost and I'm having trouble with the path helpers. As I don't want to monkey-patch Rails, I'm trying to solve this through .htaccess. Here's the scenario:
...
1
vote
0answers
74 views
Named virtual host on Debian Squeeze only serves the default host
I am trying to setup my own virtual host on Debian Squeeze and I think I have done the setup as per the documentation and have gone through a number of questions and answers. Everything seems to ...
1
vote
0answers
77 views
Apache alternatives with per-directory SSLVerifyClient
My application requires per-directory verification of SSL client certificates (i.e. when user requests /foo we require they have a client certificate and verify it, but when they request /bar we don't ...
1
vote
0answers
67 views
how can apache run multiple applications on same server with different path
When i ssh to amazon ec2, then
pwd
/home/ubuntu
ls
app_1 app_2 app_3 app_4
Considering i have mapped my ec2---*- address to some apps.site1.com
How can i have multiple rails applications ...
1
vote
0answers
44 views
Apache VirtualHost options with ePages e-commerce solution
I have a Centos server running ePages (which runs on Apache). Now I want to use the same server to host a couple of other sites as well, but I can't seem to get my configs working correctly. I'm not ...
1
vote
0answers
96 views
Mixing Redmine and custom authentication method in a single apache virtualhost for Redmine
I developed on Redmine a plugin to automatically log users using the REMOTE_USER given by Apache when its Kerberos ticket is accepted.
This plugin works as long as the user has a corporate login, but ...
1
vote
0answers
113 views
Nginx reverse proxy apache2 High CPU load
my server:
2x Intel Xeon 5506 2.13GHz
24 GB DDR3 RAM
Debian 5.0.8 64-bit
My server CPU is aroung 90% at 600 users and around 6 page views per second.
There are 2 Sites on the server. One Forum with ...
1
vote
0answers
147 views
How to setup Wordpress High Availability
I have installed Galera Cluster on 3 cluster + 1 management.
I wanted to make it like this,
Server1: Home (www.domain.com)
Server2: For BBpress/Forum (Forum Tab Menu will forward to ...
1
vote
0answers
230 views
amazon ec2-medium apache requests per second terrible
EDITED -- test running from localhost now to rule out network...
i have a c1.medium using EBS. when i do an apache benchmark and i'm just printing a "hello" for the test from localhost - no database ...
1
vote
0answers
92 views
UFW blocks SSL connections Varnish/Apache2 on Ubuntu 12.04
I have installed Virtualmin on a Ubuntu 12.04 server and I'm using LAMP stack with Varnish (:80) in front of Apache (:8000). However, I cannot access https when UFW is enabled. When I disable UFW, all ...
1
vote
0answers
38 views
Is it possible to write a shared config for several VirtualHosts?
My intent here is avoid a lot of repetitive code.
Essentially what I'm trying to do is use the same block of SSL config for several VirtualHost entries...
<IfModule mod_ssl.c>
<Directory ...
1
vote
0answers
191 views
Apache died; Suspect is ulimit but cannot reproduce
Apache died last night. Error log shows this
[alert] (11)Resource temporarily unavailable: setuid: unable to change to uid: 48
Browsing around the Internet, everyone seems to say this is is an issue ...
1
vote
0answers
110 views
Assets not served - Apache Reverse proxy - Diaspora
I have succeeded in installing Diaspora* on my subdomain diaspora.mattaydin.com. I have VPS running CentOS 5.7 with Plesk installed.
By means of an vhost.conf and vhost_ssl.conf file I, (with the ...
1
vote
0answers
151 views
apache proxyremote and http
ProxyRemote syntax is:
<remote-server> = <protocol>://<hostname>[:port]
So, I have to put protocol before hostname.
But my proxy server is x.y.z.n:1234 (without http)
And when I ...
1
vote
0answers
120 views
Why pragma: no-cache does not work anymore on IE?
On my employer web server, we have 200+ PHP applications with this kind of code to allow download of a file :
header('Content-Disposition: attachment; filename="file.pdf"');
header('Expires: 0');
...
1
vote
0answers
56 views
Does mod_proxy support HTML5 Server Side Events / EventSource?
I am stuck with apache2. I've read that mod_proxy doesn't support websockets. Does it support EventSource?
https://issues.apache.org/bugzilla/show_bug.cgi?id=47485
1
vote
0answers
123 views
Apache VirtualHost Aliases
I'm super new to Apache and I am trying to get mutiple sites running on one host; OpenPhoto and ownCloud. I would like mydomain.com/openphoto and mydomain.com/owncloud to point to their respective ...
1
vote
0answers
52 views
Haproxy Server Statistics page reads server DOWN
Haproxy's stats page show's that I have server that isn't functioning that is connected to the services. I'm unclear through me search on how to kick the problem server off. Any help would be much ...
1
vote
0answers
150 views
Apache config file. Redirect permanent gives 403 error
I am changing my domain from foo.com to foobar.org. I used a Redirect permanent in my apache config file, and then restarted apache. When I try to access the old domain foo.com, I get a 403 error.
...
1
vote
0answers
49 views
PHP5-CGI taking up too much load, second is MYSQL, third is APACHE
I recently moved to a new server and I am experiencing very high PHP5-CPI. I am running a forum that holds up to 450 people every 20 minutes. My forum ran very well a month a go for the longest time ...
1
vote
0answers
129 views
Prioritization of mod_proxy_html ProxyHTMLURLMap rules
I am implementing a reverse proxy with the following configuration:
ProxyPass /home/ http://serverA.com/
ProxyPassReverse /home/ http://serverA.com/
<Location /home/>
ProxyPassReverse /
...
1
vote
0answers
127 views
How to optimise apache2 with php5-cgi
I have a debian squeeze running with apache2 and php5-cgi.
Please see the following stats from my munin:
http://imageshack.us/photo/my-images/545/multipscharts.png/
I am running these per-process ...
1
vote
0answers
101 views
Why is Apache ignoring VirtualHost directive for first name in hosts file?
Standard pre-emptive disclaimer: host names, IP addresses, and directories are anonymised.
Problem
We have a server with Apache 2.2 (WAMP) listening on one IP and IIS listening on another. An ...
1
vote
0answers
13 views
Incorrectly setup VirtualHosts, trying to fix
I've inherited the job of sorting out our servers for a major application that we run. Our main location for the domain has got a SSL cert on it, and this is running fine.
The problem begins to arise ...
1
vote
0answers
96 views
proxy ajp single apache single glassfish multiple GF domains
I'm sorry if I am not well versed enough to be as specific as some would wish here. I have successfully got Apache mod_proxy_ajp working with Glassfish 3.1.2 on a VPS. However it is one Apache httpd ...
1
vote
0answers
93 views
SVN post-commit hook failed after Ubuntu upgrade from 11.04 to 12.04
After Ubuntu upgrade from 11.04 to 12.04 all my SVN post-commit hooks doesn't work throwing errors:
post-commit hook failed (exit code 1) with output:
sudo: no tty present and no askpass program ...
1
vote
0answers
52 views
Apache+PHP : 100ms to launch script?
I am trying to speed up a PHP script running with Apache 2 + PHP in pre-fork mode + APC. It seems that my server takes 100ms to launch the PHP script, which seems way too much.
What are the ways to ...
1
vote
0answers
132 views
Dynamic virtual host configuration in Apache
I want to make a virtual host in Apache with dynamic configuration for my websites. For example something like this would be perfect.
<VirtualHost *:80>
AssignUserId $domain webspaces
...
1
vote
0answers
40 views
.htaccess recommendations to prepare for new launch of website - caching
Currently my website has cache controls set for javascript libraries and images, and caches them for one week. I'd like to know what best practices I should following leading up to my websites ...
1
vote
0answers
82 views
Apache serving Samba share leads to poor performance?
This is a question about a problematic interaction between Apache and Samba.
Our Linux server (on a private intranet) mounts a Windows share, which is physically thousands of miles away, and serves ...
1
vote
0answers
241 views
Setting Up Apache as a Forward Proxy with Caching
I am trying to set up Apache as a forward proxy with caching, but it does not seem to be working correctly. Getting Apache working as a forward proxy was no problem, but no matter what I do it is not ...
1
vote
0answers
13 views
Strange behaviour of PHP's virtual() when Apache's mod_negotiation comes into play
First: if acting separately, PHP's virtual() as well as Apache's mod_negotiation work fine. But I've got trouble when virtual() refers to a file which needs negotiation (e.g. Multi-Lang). Easiest ...
1
vote
0answers
82 views
Website latency and bad tcp packets
I have multiple websites hosted on a Linode VPS and I'm having an issue with one of them: every page that I try to load has about 10 seconds latency.
Apache logs are clean and the other websites on ...
1
vote
0answers
44 views
Moving www on live EC2 instance
The directory where my website files is growing and almost full now. The site is live and I can't really take it off line.
The files are located on /var2/www/html/mysite.com and I can easier moved ...
1
vote
0answers
95 views
Jail PHP to OpenBasedir or Document Root Debian
I have a VServer running with Debian Squeeze Debian Squeeze / Apache2 / FastCGI / MySQL / Froxlor. The administration of Customers, Domains and FTP Accounts are performed using Froxlor.
Following ...
1
vote
0answers
90 views
Oracle HTTP Server access_log - GET /error/404.html HTTP/1.0 200 7001 entries
access_log shows the following entries repeatedly, seems like it is polling some thing. There were so many entries keep on adding to the log, making it difficult to debug for actual error message.
...
1
vote
0answers
72 views
I can't get the dump_io module working
To debug my webapp behaviour behind some weird network, I need to dump all HTTP request coming to the Apache2 server (on a standard Ubuntu). So I tryed to activate the dump_io module :
a2enmod ...
1
vote
0answers
107 views
Apache2 mod-rewrite ruleset for AJAX webapp
I have an ajax webapp i'd like to make indexable to google.
My paths use the hashbang, and look like:
http://tld.com/?_escaped_fragment_en/news
http://tld.com/?_escaped_fragment_de/news
or
...
1
vote
0answers
399 views
How mod_cache working with “must-revalidate” and “max-age”?
Quick question before I will explain my flow: Сan mod_cache perform revalidate with if-none-match only if max-age is expired in case if it configured in reverse proxy mode?
My goal is to reduce a ...
1
vote
0answers
39 views
Opencart .htaccess
I am pretty new to OC and am running the latest version. I am ready to open up my site to the (potentially) many hundreds of people whom I hope will have a look, like something and then buy it!
My ...

