Questions tagged [drupal]

Drupal is an open-source, database-backed CMS written in PHP. It is maintained and supported by a worldwide community. Questions about installing and maintaining Drupal belong on Drupal.SE

Drupal is an open-source, database-backed CMS written in PHP by a worldwide community.

Resources:

270 questions
1
vote
0 answers

Drupal multi-site, virtual hosts and CloudFlare

I'm hoping that someone with some experience with CloudFlare can lend me some guidance. Background Drupal multi-site hosting 200+ sites, launching new sites on a regular basis. Single IP for all sites, using Apache virtual hosts on Ubuntu…
1
vote
2 answers

How do I change the username nginx/PHP creates files as

Is there a way in which nginx/php can be configured so it creates files with a specific user. For example when a drupal/wordpress site uploads a file the user is assigned like: john:www-data nginx.conf does have a user, but from what I understand…
jamboNum5
  • 361
  • 1
  • 2
  • 10
1
vote
1 answer

ansible cannot download git repo on centos 7

I have this in my drupal roles to download drupal git --- - name: Install git yum: name=git state=latest - name: Clone Drupal git: repo=http://git.drupal.org/project/drupal.git dest=/var/www/html/drupal/ update=no - name: Create…
grant tailor
  • 505
  • 2
  • 6
  • 13
1
vote
1 answer

Drupal application load troubleshooting

I'm receiving some sporadic high server load on a Drupal application (really high. 8 cores, load average of 50). The load is normally sitting between 5-10. The Drupal application sits behind a separate Varnish server, which keeps things looking…
rca86
  • 11
  • 2
1
vote
4 answers

High-traffic Drupal site apache errors

I'm getting a bunch of apache errors that I'm having problems tracing down. They're on a RHEL system that runs a very high-volume Drupal website. [Mon Sep 14 12:48:44 2009] [info] [client xx.xx.xxx.xx] (70007)The timeout specified has expired:…
Karl Katzke
  • 2,596
  • 1
  • 22
  • 24
1
vote
1 answer

Hammered by botnet; iptables can't keep up

Fructis is a multi-site (and multi-software) VM (Xen) with 2 cores and like 6G of RAM. It hosts popular Drupal and Wordpress websites and is currently getting hammered. I will put all details below. I've been blocking IPs but there appears to be a…
1
vote
2 answers

All nginx access logs from 127.0.0.1 (so can't use fail2ban)

Problem I'm trying to configure fail2ban to block ddos attacks using the chunk shown here. Basically it looks at all requests and if any single IP makes more than 240 requests over 60 seconds it blocks them for two days. However all the logs in my…
split_account
  • 169
  • 4
  • 11
1
vote
1 answer

Redirect logged-in users to https, anonymous to http using Varnish+Apache

I've got a server with Varnish in front of Apache in front of Drupal. What I'd like to do is redirect my login form to https (easy enough), then redirect all logged-in (authenticated) users to https all the time, while having anonymous visitors…
Jordan Magnuson
  • 187
  • 1
  • 2
  • 9
1
vote
1 answer

Memcached is slowing down the website in VirtualBox

I noticed our web project (Drupal) runs slower when it's using memcached in the virtual box. The page load time is more the twice as fast without memcached. I haven't noticed any unnatural memcached behavior. The virtual box is (using…
itarato
  • 129
  • 4
1
vote
3 answers

Pushing/Migrating your local Drupal site to a live-site

I have installed drupal on my localmachine(ubuntu, Xampp), at localhost. Path and Pathauto modules are active (a module to produce friendly URLs). Migrating/Pushing my local install to the www.mysite.com Exported SQL from…
Vivek Sharma
  • 465
  • 2
  • 5
  • 14
1
vote
1 answer

Installing drupal 6 from scratch in nginx

So I am trying to install a fresh drupal 6 site on nginx. I have successfully setup the conf files and db. When I try to access mysite.com so that I can follow the step by step installation guide, it properly redirects to mysite.com/install.php but…
Bibokid
  • 215
  • 3
  • 7
1
vote
0 answers

Nginx reverse proxying Drupal content served with Apache

I'm new to Nginx but was interested in trying it out. I now have Nginx listening to port 80 and serving static html content from /srv/www for a main "promo site". I've also set up apache2 to the serve content from the same location to…
jesseniem
  • 21
  • 5
1
vote
2 answers

apache configuration for drupal multisite

I have spent over a day trying to get a multisite install to work and I think most of it is in place but I still cannot see the install.php when I visit www.mywebsite.co.uk/install.php? I have a dedicated server running ubuntu, apache2 and latest…
belliez
  • 175
  • 2
  • 10
1
vote
2 answers

duplicate cache pages: Varnish

Recently we have configured Varnish on our server, it was successfully setup but we noticed that if we open any page in multiple browsers, the Varnish send request to Apache not matter page is cached or not. If we refresh twice on each browser it…
Sukhjinder Singh
  • 393
  • 1
  • 4
  • 12
1
vote
2 answers

Apache strace to hunt down a memory leak

We have a server with a memory issue: the server keeps allocating itself memory and doesn't release it. We're running Apache. I set MaxReqsPerClient to a really low value just so the threads don't hold a lot of memory, but has anyone seen calls like…
Zipp
  • 141
  • 2
  • 8