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

Filter by
Sorted by
Tagged with
1 vote
1 answer
545 views

Apache rewrite mod breaking apache

I am setting up Drupal Open Atrium, and halfway through the configuration receive an error: Clean Urls must be available and enabled to use OpenAtrium. https://www.drupal.org/docs/7/configuring-...
18 votes
4 answers
45k views

How to investigate a memory leak with Apache and PHP?

We're running a heavy Drupal website that performs financial modeling. We seem to be running into some sort of memory leak given the fact that overtime the memory used by apache grows while the number ...
0 votes
2 answers
443 views

Possible SQL Injection and malformed URLs on Drupal Server

We have a Production Drupal server serving content but some pages are broken when a pager link is clicked upon. It was found that the URL's are being changed with unrecognizable keywords. For example, ...
0 votes
1 answer
223 views

Performance issue on drupal

I am running a drupal 7 website on a Linux server (with 4 cores and 12GB RAM) with LEMP (nginx+php5-fpm+mysql). The drupal installation has a large number of modules enabled(all of which are needed). ...
2 votes
2 answers
5k views

Serve empty 404 page with mod_rewrite

I have a Drupal website which contains the below default mod_rewrite rules RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico ...
1 vote
0 answers
841 views

Directory Index forbidden on sites/default/files - Drupal NGINX

We noticed this error when users filled up forms on our Drupal site, attached an image and saved it. To identify the root cause (I expected it to be an ownership or a directory permission issue). I ...
0 votes
0 answers
454 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
1 answer
383 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
1 answer
254 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
3 answers
2k views

Local dns for testing websites using mobile devices

I have no idea where to start from so sorry in advance if this topic has already been discussed. I usually develop web sites using my laptop as a development server, and recently I needed to test a ...
0 votes
1 answer
275 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
1 answer
65 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-...
4 votes
3 answers
5k views

Drupal admin section - Page not found

After upgrading to Drupal 6.12 I can no longer access the admin section on my site - I get a page not found error. Things I've been able to test/check: I have clean URLs enabled but trying to bypass ...
2 votes
1 answer
1k 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 ...
3 votes
5 answers
17k views

'No Input file specified' error - NginX / fcgi - when requesting non-existant .php file

I have NginX serving a drupal site using fcgi. Attempting to browse to a non existent php file (eg. www.example.com/this-file-doesn't-exist.php) results in a white screen with this error: 'No Input ...
1 vote
1 answer
1k 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. ...
0 votes
2 answers
3k views

Apache mod_fcgid keeps giving error

I have ubuntu server, PHP 5.3.2, Apache/2.2.14. and i have drupal website on this server. whenever i try to upload image using imagemanager drupal module i got the following errors in apache log and ...
1 vote
0 answers
192 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 ...
3 votes
4 answers
7k views

How to troubleshoot a big memory issue with Apache and mySQL

I've read a lot of this website to optimize my server but nothing has really helped me :( Im having a memory trouble I think , I have just one website (Drupal) with 860K page views month but when the ...
0 votes
3 answers
2k views

Lighttpd: Enabling module rewrite for Drupal

I'm configuring lighttpd (1.4.26) for drupal on Ubuntu 10 and I've some issues with the rewrite module. So far I have enabled the rewrite module in lighttpd.conf Then, I have added the following ...
0 votes
1 answer
795 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
1 answer
263 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
2 answers
536 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
0 answers
30 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
7 votes
1 answer
12k 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
3 answers
490 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 ...
0 votes
1 answer
356 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
0 answers
94 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
0 answers
273 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] ...
4 votes
1 answer
5k 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]...
0 votes
1 answer
591 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
2 answers
11k views

Mod_rewrite not working on ISPConfig 3 Server [closed]

Problem I recently migrated a Drupal site from a shared hosting server to my own VM. Everything appears to work correctly, except clean urls. My VM Setup Ubuntu 10.04 LAMP ISPConfig 3 What I've ...
0 votes
1 answer
172 views

Alias for Drupal "Sites" folder with Apache on Windows Server 2008 [duplicate]

I'm having to move a number of sites from a LAMP stack to a WAMP one, provided by Zend, and I've hit a problem. Our architecture is a number of loadbalanced web servers which have their own local ...
1 vote
1 answer
52 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 ...
1 vote
1 answer
209 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/...
4 votes
2 answers
28k 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 php5....
2 votes
3 answers
2k views

Can you explain why I shouldn't serve PHP off Gluster?

There's a good chance that I'll end up running Drupal on several front-end nodes over the next six months, and I'd like to know if there is a good reason not to have a single instance of Drupal stored ...
2 votes
3 answers
176 views

"Mom and Pop" shop looking for advise on hosting an e-commerce site

I am not very technical, and I don't know if this is the right place to post this question. Sorry in advance. Anyways, hiring someone to do the e-commerce site can be futile, so I tried to do it ...
2 votes
2 answers
323 views

PCI Compliance for average e-commerce website in the cloud

I am creating an "average" e-commerce website (using drupal and ubercart if that matters). I've read about pci compliance in the past, and that's why I'm wondering how I can see what applies to my ...
2 votes
2 answers
1k views

Drupal modules for ticketing system [closed]

We are looking at implementing a ticketing system at our work place. We intially tried OS Ticket which was fine. But management are hoping to integrate it into out intranet. (which will be done in ...
0 votes
1 answer
657 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
1 answer
344 views

Drupal - Site Building, Menus [closed]

I'm working with Drupal for the first time and trying to figure out how to change the Menu item names through the Administer Site Building configuration menus. I have logged into the Drupal admin ...
1 vote
1 answer
172 views

How to remove duplicate illegal site in apache configuration?

I've recently found a referrer in the apache log on my site. Now, I opened it out of curiosity, since my site is live, but I just started development so I didn't expect it. Anyway, the site was a ...
3 votes
1 answer
2k 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
1 answer
1k 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
1 answer
3k views

Nginx Subdirectory Drupal + other app

I have a drupal app and 2 other app written in php, i want use a rewrite uri for drupal and place drupal in virtual root / and the other by their names ... and use the server cache for the img of each ...
2 votes
1 answer
468 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
1 answer
79 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 ...
7 votes
6 answers
17k views

MySQL performance over a (local) network much slower than I would expect

MySQL queries in my production environment are taking much longer than I would expect them too. The site in question is a fairly large Drupal site, with many modules installed. The webserver (Nginx) ...
2 votes
0 answers
144 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....