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
17 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
42 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
37 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 ...
0
votes
0answers
10 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
121 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
0answers
18 views

Is OSSEC effective in protecting LAMP servers running Drupal?

I noticed that the 2.8.1 rules have wordpress rules and other product rules listed, but no Drupal rules. Is its safe to assume OSSEC, acting like an IPS in active mode, is just not going to block any ...
0
votes
1answer
41 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
41 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
48 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
460 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: ...
1
vote
1answer
117 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 ...
1
vote
1answer
42 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
196 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
815 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
141 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
347 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
297 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 ...
2
votes
1answer
166 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
29 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
88 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 ...
1
vote
1answer
141 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
333 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
2k 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
118 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
351 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
177 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
167 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 ...
0
votes
1answer
2k 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 ...
0
votes
0answers
150 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
1k 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
565 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
46 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
235 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
317 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
601 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
287 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
413 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
53 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
101 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 ...
0
votes
3answers
2k views

Upgrade from php53 to php53u (epel to IUS repositories) - Centos 6.4

I want to upgrade my CentOS 6.4 server from php53 (epel repository) to php53u (ius repository). I already enabled the ius repository, but am hesitant to just play around because there are production ...
2
votes
1answer
51 views

some funky redirecting on Drupal server

I have a drupal instance on a linux server located at var/www/html I created a indepent html file called index.html in the following directory var/www/html/special_project/index.html I am able ...
0
votes
1answer
166 views

How to build a Drupal-supporting EC2 instance?

After trying to retrofit an existing Ubuntu Raring Amazon EC2 node to support Drupal (see PHP5 is installed, but Apache is displaying PHP as uninterpreted text. How can I get it to process it as ...
1
vote
2answers
8k views

PHP5 is installed, but Apache is displaying PHP as uninterpreted text. How can I get it to process it as PHP?

In a Drupal installation, it's displaying the root PHP file as plain text below. a2enmod says that php5 is enabled, aptitude says libapache2-mod-php5 is installed, mods-enabled/ has php5.conf and ...
0
votes
1answer
40 views

How can I take a server with several Apache VirtualHosts, and add Drupal from Ubuntu “aptitude install drupal7”?

I have a server that has several Apache VirtualHosts, and I want to add Drupal. I see that my installing drupal7 (under Ubuntu Raring on an EC2 host) let Drupal set up camp in /usr/share/drupal7. What ...
0
votes
1answer
301 views

How can I configure mail for Drupal 7 on an Ubuntu Raring EC2 node?

I have installed apache2, php5, mysql5, php5-mysql and other supporting packages on an EC2 server, and when I started to install drupal7, it pulled in several packages including mail support, and ...
0
votes
1answer
121 views

Vsftpd access to /var/www

I'm trying to get ftp running locally to update a drupal install. I just need the FTP user to have full access to a directory and all subdirectories. I have done /usr/sbin/setsebool -P ftp_home_dir 1 ...
1
vote
0answers
392 views

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

How do I improve the performance of my Drupal site with a lot of concurrent users?

I have a Drupal site that may receive a very high hit rate on launch. We've rented a very beefy server for the initial launch, after which we'll downscale. The server has a Xeon E5-2670 8 core ...
0
votes
3answers
205 views

The Apache mod rewrite module doesn't work when using the IP

I've got a Drupal setup locally. When I access the homepage using my IP everything works. When I try any "re-written" url (such as 10.0.150.4/user) I get a not found. When I replace my IP with an ...