Apache

Events happening in the community are now at Drupal community events on www.drupal.org.
qbnflaco's picture

Server can't restart error...

This might not be MAMP specific, but I was wondering is anyone else has come across this issue. I've been able to install aegir locally using MAMP on my mac, however once installed and it tries to verify the aegir site it fails with with this error...

Read more
synchlayer's picture

Self-hosting Questions: vhosts, power outages, RAID backups

I’m pretty new to the world of hosting one’s own site, so have few newbie Qs.

1) I’ve been trying to setup a vhost for our new site so I can keep the existing dev site separate. I’ve created an A record with our DNS host for our new domain, and then followed the instructions here (http://drupal.org/node/111238) to set up a vhost on our Ubuntu server, when I got this error message:

Syntax error on line 2 of /etc/apache2/sites-enabled/amherstmedia.org:
Invalid command '\xc2\xa0\xc2\xa0\xc2\xa0', perhaps misspelled or defined by a module not included in the server configuration

Read more
brianmercer's picture

Nginx Benchmarking

mikeytown2 and I hijacked my nginx built-in caching thread for some benchmarking discussions. Mostly Boost vs Varnish vs. Nginx caching. It needs its own thread.

My quick and dirty ab testing on my home "dedicated" server is at http://groups.drupal.org/node/26485#comment-101296 with a couple more using keepalives is at http://groups.drupal.org/node/26485#comment-101518.

Read more
ChrisRut's picture

[SUPPORT-REQUEST] Setting up an Ubuntu LAMP Server for Development on a VM

I followed this guide: How To Setup an Ubuntu LAMP Server for Development Purposes Only
But I've run into a problem. The Server I setup is on a VM (VirtualBox). I did this so I wouldn't have to manage it on my local machine and I could easily turn it on/off when needed. I used 64bit Ubuntu 9.04 Server. I gave the VM it's own Static IP address (192.168.1.105) and HostName (LAMPVM) via my Routers config.
The problem I've run into is when I try and access my virtual hosts from my HARDmachine (not the VM), it doesn't work...

Read more
luckysmack's picture

Tuning Apache for high Performance

Lately I have been trying to get my server to be better at performance. So far it has been going well, but the beast currently as many people know is apache. The server im running drupal on is only running drupal. So my goal is to trim it down as much as possible and only have the apache modules I need to run drupal. I am alternately considering installing nginx as it is much lighter than apache. I have been reading the drupal performance articles on 2bits.com and it has helped but i have not found many articles on trimming apache this much.

Read more
andribas's picture

In reply to kbahey: apache vs nginx

Well, I read your article about fcgid.

Let's talk about architecture of apache + fcgid and nginx + php-fpm.

fcgid and php-fpm look similar in the way they spawning processes.
Both use preforked processes of php and respawn about 1000 times of running script.

Apache and nginx both use fastcgi to call php from itself.

Hence, the difference is between apache and nginx.

As i know, apache run by default 4 preforked processes and pass request to one of its workers.
fork is the only stable model of apache in linux. http://httpd.apache.org/docs/2.2/mod/event.html - experimental

Read more
Daniel Norton's picture

D6 Page Compression vs. Apache2 mod_deflate?

Sorry, I'm sure this is addressed somewhere, but I can't find it. Can someone point me to a discussion that can help me decide whether I should be using Drupal 6 "Page Compression" or Apache2's mod_deflate?

Thanks.

--
Daniel

Read more
bflora's picture

Can't add content to panels (content popups disappear when + sign button is clicked)

I recently moved to a new server and now I can't add or edit content within panels. The modal popup windows have stopped functioning.

Here's what happens:

  1. I go to the content tab of a panel and click a Plus sign button to add some content to a panel.
  2. The popular appears, empty for about 2 seconds.
  3. It disappears.

None of the form info that's supposed to show up in there shows up in there.

What could be causing this and how do I fix it? Thanks.

Read more
shanefjordan's picture

Multiple Refresh Crashes Site

We are running RHEL5.1, Apache2, MySql5, PHP5 and have run into an issue. Our site runs find with normal usage, but if you hold the refresh (F5) key, then the site will crash. We have gotten it to the point that it will not crash the server, but it will take a while before the page responds (for any user). I know that this does not happen on other sites, so we are most likely missing a configuration setting somewhere. Here is what we have:

Apache

KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 2
StartServers 8
MinSpareServers 5
MaxSpareServers 20

Read more
mmilano's picture

Boost configured in apache vs .htaccess

Is anyone using Boost with the rewrite conditions in an Apache conf vs. .htaccess? Boost works fine by default, but when I move the rerwite rules into apache, it does not.

I made the logical changes that I had to make from to the normal drupal rewrite by adding a slash before 'cache' on each rewrite rule.

Here's what I got.. If you have any suggestions, or could post your rewrite rules that work, I'd appreciate it.

RewriteCond %{REQUEST_METHOD} ^GET$
RewriteCond %{REQUEST_URI} ^/$
RewriteCond %{QUERY_STRING} ^$
RewriteCond %{HTTP_COOKIE} !DRUPAL_UID

Read more
Subscribe with RSS Syndicate content