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

learn more… | top users | synonyms

0
votes
1answer
22 views

Integrating Web Application Firewall into this architecture

I need some help figuring out how to implement a Web Application Firewall (WAF) in my existing architecture. Currently I have 2 HAproxy servers clustered using keepalived which are responsible for ...
0
votes
0answers
19 views

Drupal on Apache: Consecutive PHP errors “Maximum execution time of 240 seconds exeeded”

This Apache/MySQL server (Debian 8) running a Drupal site shows a strange behaviour: There's always one Apache process running with 100% CPU utilization (according to htop). Every four minutes (~240 ...
0
votes
0answers
26 views

How to restrict access to specific URL path using a custom http header?

I have a Drupal 8 site with a route set up as an endpoint, and I need to be able to restrict access to this endpoint based on the presence of a header in the request. I have seen this answer here: ...
0
votes
1answer
49 views

Where to place the .htaccess file on OpenShift for Drupal?

I would like to redirect to https and add this code to a .htaccess file for Drupal. Where should I place this file? RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} ^www.domainname\.com* ...
0
votes
1answer
78 views

Drupal 8.0.5 and FreeBSD 10.2 Issues

I am running a FreeBSD 10.2 server with Apache 2.4.18, php56-, and SQL 57. I am trying to install Drupal 8.0.5, but I am stuck. I got the PHP stuff working, as well as the clean URL things that drupal ...
0
votes
1answer
17 views

How to show/include originating domain/application in Postfix logs

I have a server which hosts a number of applications mostly built with Drupal. These applications are configured to send mails and Postfix is my MTA. Is it possible to have the applications and/or ...
0
votes
1answer
7 views

Trying to get property of non-object in advagg_font_admin_settings_form()

I enabled the module Advanced CSS/JS Aggregation (advagg) 7.x-2.17 on Drupal 7 and now in my admin page admin/config/development/performance/advagg/font I see a warning: Trying to get property of non-...
0
votes
0answers
11 views

CentOS Drupal Site/Domain Sending UDP Attacks on Different IPs [duplicate]

My Drupal 7 site is hosted on a Cent-OS 6.5 VM. The hosting service provider notified me about an malicious activity on site and site is sending UDP packets on different IPs. Following is data ...
1
vote
1answer
99 views

index.php 403 in Drupal on centos 7 with SELinux enabled [duplicate]

i tried to install drupal on centos, i have configure my server (install httpd, mysql, php, etc) everything looks good until the last part: hit the url to install drupal the problem here is once i ...
0
votes
1answer
128 views

Nginx limit_conn inheritance

I am trying to protect Drupal running on Nginx from simple DDoS with limit_conn and limit_req. But I encountered some strange behavior with inheritance of limit_conn directive which I cannot explain. ...
1
vote
0answers
65 views

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 ...
0
votes
1answer
73 views

Should I use Drupal with Nginx or Apache? [closed]

I'm currently running my own built server, where I host my own coded website, as well as websites I have built for local businesses. Currently it's running Ubuntu server edition, with Nginx. I already ...
0
votes
1answer
130 views

How to resize a root persistent disk of a Drupal/Debian instance on Google Compute Engine

It's about a Drupal 7 site running on a debian 7 virtual machine instance on Google Compute Engine, deployed by this tutoriel Actually noting is running because boot/root disk full, MySQL crash ... ...
1
vote
2answers
50 views

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....
0
votes
0answers
20 views

Prevent Drupal modules listing

Is there any way to prevent drupal modules to be enumerated by eventual attackers accessing know file locations ie: http://mysyte.io/sites/all/modules/extlink/README.txt
0
votes
0answers
452 views

500 error only in Chrome/Chrome Canary for Vagrant hosted site

I'm running a Drupal multi-site in a Vagrant box and when I hit one of the sites in Chrome or Chrome Canary I get a 500 Internal server error (http://site.localhost). When I hit the site in Firefox ...
0
votes
1answer
131 views

Server denied check_authentication after migration of Drupal

I just moved a drupal website from one server to another. On the original server the site was set up directly in apache. On the new server, i have a docker layer in between: The machine runs a debian ...
0
votes
0answers
51 views

apache refuses to start when apc.shm_size is greater than 76M

I'm just setting up a new faster server for our Drupal site and was setting up APC and tried to set the apc.shm_size up to 128M however after restarting apache and reloading the APC Admin page Apache ...
0
votes
0answers
90 views

How do I accomplish Drupal “double gzip” prevention in Nginx?

There is this section of the default .htaccess that Drupal ships with: # Serve correct content types, and prevent mod_deflate double gzip. RewriteRule \.css\.gz$ - [T=text/css,E=no-gzip:1] ...
2
votes
1answer
2k views

NGINX cache error: conflicts with already declared size 0 in /etc/nginx/nginx.conf

My current nginx for drupal config gives following error. Somehow, I am not able to enable nginx cache. Tried different config but overtime i get the same error. Can anyone help please? nginx: [emerg]...
1
vote
1answer
149 views

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/...
1
vote
1answer
44 views

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 ...
0
votes
1answer
300 views

Should Varnish Hits Touch PHP?

I have a reasonably large Drupal site sitting being Varnish on a box with 4GB of memory. I had thought (hoped? assumed?) that standing Varnish up in front of Nginx/PHP-FPM would take the load off of ...
1
vote
1answer
2k views

nginx - deny all *.php requests except index.php for security reasons

os: CentOS 7 nginx: 1.6.2 httpd: apache 2.4.6 cms: Drupal 7 After my server was compromised I removed all from server, reinstalled OS and soft, and restored data from backup. Now I configure all ...
0
votes
0answers
248 views

How to change the execution time of the my.ini file using Chef

I'm attempting to get an existing Drupal site set up using Vagrant Drupal Development but have come across a few problems. My first is that I cannot seem to connect to the database to import my SQL ...
3
votes
1answer
544 views

Determine if possible successful probe is successful exploit?

A logwatch report outputted the following message. A total of 1 possible successful probes were detected (the following URLs contain strings that match one or more of a listing of strings that ...
0
votes
1answer
532 views

Drupal 7 Multi-site Sub-folders nginx configuration

I'm using perusio configuration for drupal but I think that is only designed for single web site. php does not work in subfolders. I want to create a structure as follows: Main site /var/www/...
2
votes
1answer
274 views

Secure permissions setup for Drupal website with multiple maintainers

For several Drupal sites a colleague of mine and I (for demonstration purposes alice and bob) are responsible for maintaining these installations. We both have an SSH account to log into the server (...
0
votes
1answer
33 views

how to allow nginx to allow /forum

so we have a nginx and drupal site and the the folder structure looks like this /my_site [ drupal site root] /mysite/index.php [ drupal main index file] /my_site/forum [ I created this folder ...
2
votes
0answers
108 views

LXC containers act differently on difrent servers [closed]

I have two physical servers A and B. I wanted to upgrade them from Ubuntu 12.04 to 14.04. Here is my current setup (if I'm left out any info here, let me know and I'll add it): Server A: Ubuntu 12....
1
vote
1answer
147 views

Hammered by botnet; iptables can't keep up [duplicate]

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. ...
1
vote
2answers
544 views

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 ...
0
votes
2answers
3k views

Ubuntu running Apache Server (Prefork) PHP Fast-CGi High CPU Usage

I have a server running very slowly due to high CPU usage. I think this must be a configuration issue but I can't put my finger on why. The server is running Plesk and I've configured PHP to run as a ...
0
votes
1answer
189 views

Delay in loading site - not caused by Apache, MySQL. How to find the cause?

I've just moved two sites to a new server. They are both similar, Drupal based sites. One loads normally (1-3 seconds) but the other takes up to 12-15 seconds. After much logging and measuring I've ...
0
votes
1answer
476 views

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 ...
0
votes
3answers
231 views

SOA architecture requires 99.9% availability -> 9hrs max downtime -> physical architecture mapping?

External architects have designed an architecture for a Service-Oriented Architecture environment. They fixed the availability to be 99.9%, equivalent to max 9 hrs downtime [per year]. Where can I ...
2
votes
1answer
189 views

PHP 5.3 Apache 2.2 MySQL 5.5 Drupal 6

We are running Drupal 6.26, PHP 5.3 on Apache 2.2 mysql5.5. The Prod webserver has loadbalancer running with two PROD appservers. The Prod Webserver went down with httpd.exe using 100% CPU. Below is ...
2
votes
1answer
4k views

Varnish 503 error after exactly 60 seconds… how to change this timeout value?

I'm running Varnish over Apache on a Drupal site. I have a PHP script that executes on a certain path of my site, and takes a really long time... like 60 - 120 seconds. When trying to access that page,...
0
votes
0answers
194 views

drupal nginx 404 error for image

I am used this tutorial https://www.digitalocean.com/community/articles/how-to-install-drupal-with-nginx-on-an-ubuntu-13-04-vps to install Drupal 7 on my LEMP . everything work fine. i am using a ...
1
vote
0answers
2k views

Configuring mod_auth_sspi to find remote user

I have been trying for a while now to get mod_auth_sspi up and running to help run a Drupal Intranet. The Drupal LDAP modul and the Drupal SSO instructions https://drupal.org/node/1371478 have been ...
-4
votes
1answer
815 views

What Database Host Entry Should be used to Install Drupal on WAMP Server? [closed]

I'm installing Drupal 7 on my Windows Server 2012 running WAMP. Apache is listening on port 99. I copied defaul.settings.php to settings.php and began the install process. When I get to the ...
0
votes
1answer
47 views

Set up instance of Drupal website on fresh Ubuntu server?

I am a brand new to Drupal...and web programming, for that matter. I have set up an Ubuntu 12.10 server, installed Apache, and installed Drupal 7.24 (all through bash...I am working from the server ...
0
votes
1answer
307 views

Memcached is slowing down the website in VirtualBox [closed]

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 ...
2
votes
1answer
427 views

Nginx downloading php files - Possible cause: regular expressions

Problem I'm trying to deny access to two files in my web root, update.php, install.php and require authentication for apc.php (also webroot). I think I've successfully denied access but on opening ...
0
votes
0answers
719 views

Why standard, virtual host Drupal 7 config causes 403 (Forbidden) in Apache2?

Virtual host declaration causing the problem (source): <VirtualHost *:80> ServerAdmin admin@d7 DocumentRoot /vagrant/d7 ServerName www.d7.local ServerAlias d7.local RewriteEngine On ...
0
votes
1answer
62 views

Facing difficulty with migrating from wordpress to Drupal

One of my blog was built on WordPress but now I want to use Drupal as the CMS of my blog. To do so I have deleted all the WordPress files from my server and the Database and MySQL user which are ...
0
votes
1answer
391 views

NGINX Drupal Redirect for Mobile

What I want to do; I want mobile users to be redirected to http://m.site.org/mobile-home. Being redirected to the m.bzaeds.org isn't an issue. I also have this working fine in Apache, but the same ...
0
votes
1answer
488 views

Getting Drupal or Apache to try a proxy on 404

I have a legacy (Tomcat) site that used to be called host.domain and recently deployed a Drupal site. The new Drupal server is now host.domain and the old Tomcat server is legacy.domain. Most of the ...
0
votes
1answer
63 views

permission errors in drupal setup

Im attempting to install Drupal 7 on a VM (CentOS 6.4 x64). I have copied all the files from the tar.gz to /var/www/html (after installing Apache ). I managed to solve most of the PHP issues but it's ...
1
vote
1answer
151 views

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 ...