Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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

How to return 404 instead of 403 in Apache Drupal htaccess [duplicate]

I'm a new to Apache. I have this .htaccess of Drupal 9 below. How can I get Not found (404) instead of 403 (Require all denied) of core/system files such as install.php, update.php. What is the best ...
user avatar
0 votes
1 answer
191 views

Private file storage area settings in Drupal 9.3 ($settings['file_private_path'] =)

I use Drupal 9.3 and I have created a private folder outside the root directory. I followed the documentation [link] and added the following line in my settings.php file in drupal: $settings['...
user avatar
  • 123
0 votes
1 answer
96 views

Drupal in subdirectory behind reverse proxy

On my public-facing host, Apache works as reverse proxy to a non-public host, where a Drupal 9 instance is symlinked under the web root. Drupal answers to requests, but it outputs any local links with ...
user avatar
  • 101
0 votes
0 answers
46 views

Varnish caching issue in the 'Add to cart' section ,,, Drupal,Nginx,Php-Fpm

We are running an ecommerce site configured by drupal with nginx & php-fpm. We also use memcached with mysql database.The service was running smoothly before we enabled the varnish caching. After ...
user avatar
0 votes
1 answer
261 views

Drupal 9 files storage on Azure App service

Been fighting with the problem for a month now. Have Drupal 9 set up on Azure App service with docker images running php8 (base image drupal:9.1.7-php8.0-apache) I have found out that there are two ...
user avatar
0 votes
1 answer
58 views

Drupal with Appearance is not able to see Theme - mystery [closed]

With Drupal I got a new Mac and I installed the Drupal item and went well. However when I am looking at 'Appearance' I can not see 'Install new theme', it's not there, basically it's missing. I have ...
user avatar
1 vote
1 answer
279 views

Enabling AMP parameters in Nginx

I'm trying to enable AMP pages on my drupal website on a VPS running on CentOS 7 and nginx. Previous web server was Apache and I changed it to Nginx for better performance due to daily requests. ...
user avatar
0 votes
1 answer
106 views

nginx: how to serve multiple site on same domain name without virtual hosting?

I'm new of nginx. I read some documentation to install it and configure it with drupal 8. I have my server installed on linode. i access through ip address, not virtual host. My drupal is located in ...
user avatar
0 votes
1 answer
93 views

modsecurity3: replace rule with a custom one for a specific URI

In a crs 3.2 there is a rule with ID=941320 which prevents CKEditor to work within drupal. CKEditor is a wysiwyg that produces html and attempts to upload it to server. Modsecurity 3 with crs blocks ...
user avatar
  • 1
1 vote
1 answer
150 views

Error sending email (from contact@example.com to contact@example.com with a response to (reply-to header) to undefined)

I have a Drupal 8 site installed on an Ubuntu 18.04 server with PostFix. I am able to send and receive emails, but the server cannot send notifications to itself. The email server address is contact@...
user avatar
  • 11
0 votes
2 answers
741 views

PHP Fatal error: tried to allocate 47264368 bytes

While running a website hosted into two app servers via load balancer, suddenly one app server stopped working and got hang. From the other app server access log found 499 status and also load average ...
user avatar
1 vote
0 answers
103 views

Best Way to Achieve Solr Resilience for Drupal With Two Solr Nodes Available?

I'm trying to figure out the best way to deploy solr (6.6.6) on two nodes in conjunction with Drupal 7 to provide some kind of resilience. The first problem is that Drupal only supports the concept ...
user avatar
  • 153
0 votes
0 answers
20 views

Cannot add a domain to existing drupal 7 site

Sorry in advance if this is a dumb question, I can't seem to figure out how to add a domain name to a D7 site, (currently using an IP). The website is hosted on digitalocean, the new domain is from ...
user avatar
0 votes
0 answers
74 views

How to diagnose: Ubuntu 16.04 error 403 forbidden in response to GET from updates.drupal.org

None of the 3 Drupal websites on this server are able to show available updates. Error message is: GuzzleHttp\Exception\ClientException: Client error: GET http://updates.drupal.org/release-...
user avatar
-1 votes
1 answer
2k views

My Nginx server is not working

I have an Apache server on Ubunu 18.04 with a Drupal 8 site that I want to migrate to Nginx and PHP7.3-FPM. This is the only site on the server. I do not know Nginx at all. The site works with Apache ...
user avatar
  • 39
0 votes
1 answer
264 views

Varnish default.vcl to cover both Drupal and a simple regular website

I have a simple PHP index file website that changes color if refreshed on port 8080, but correctly shows the cached version of the page with the same color thanks to the following default.vcl: ...
user avatar
  • 205
1 vote
0 answers
421 views

Drupal / nginx redirect domain without changing URL with proxy_pass

We have a Drupal 8 website which runs about 18 languages, but only the Chinese one has a separate domain. We want this domain, which for testing purposes is testchinese.com to redirect in the ...
user avatar
0 votes
2 answers
5k views

Client denied by server configuration on Apache 2.4

We have migrated multiple Drupal 7 / 8 sites to a new stack, where the main changes were replacing Apache 2.2 and FastCGI with Apache 2.4 and PHP-FPM. We have the following error on multiple sites: [...
user avatar
  • 147
2 votes
1 answer
133 views

drupal and remote database

I get error "Failed to connect to your database server. The server reports the following message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '192.168.0.20' (13)." while installing drupal. ...
user avatar
0 votes
1 answer
78 views

How can I configure sites like subfolder on nginx?

I want to configure 3 sites on nginx (Drupal sites) www.domain.com == served in ==> /var/www/domain.com/ www.domain.com/folder01/ == served in ==> /var/www/folder01/ www....
user avatar
  • 101
1 vote
0 answers
355 views

leader_only is not working in Elastic Beanstalk

We are doing CI/CD for drupal site using Jenkins. Now, we need to run drush commands which we should run only in single instance. For this, we have created elastic beanstalk config script with ...
user avatar
1 vote
0 answers
86 views

Add a fake subdirectory to uri

When installing drupal 8 with composer, the default installation moves to the subdirectory /web. When visiting the root at http://example.com apache 2.3 serves a 403, but when visiting http://example....
user avatar
  • 671
0 votes
3 answers
410 views

Ansible playbook errors for installing Drupal

Please help in resolving the errors for the below playbook. There are few other playbooks and all that's for setting up Drupal. The below playbook is part of that setup which is throwing error. --...
user avatar
0 votes
1 answer
826 views

Nginx with php-fpm url encoding

I have also posted my question in Stackoverflow but i think here is more appropriate place to ask. I use docker and i have setup a nginx container with nginx 1.12.2, a php-fpm container with 5.6.33 ...
user avatar
  • 1
1 vote
1 answer
198 views

How to configure .htaccess to bypass specific subdirectories?

I have three directories, Dir1,Dir2 & Dir3 in the root of my Drupal installation. I want to bypass these directories. I have tried the below in .htaccess and its not working (Allowing ...
user avatar
0 votes
1 answer
360 views

Zabbix - monitoring version numbers of software on a server (Drupal websites)

I have a web server that is running the Zabbix Agent (3.4.x), reporting the normal stuff back to a Zabbix Server. The web server runs a number of websites based on common software (Drupal, Magento etc)...
user avatar
0 votes
1 answer
62 views

Site hacked, need help to look for clues about how it happened [duplicate]

i recognized a successful hacking attempt where someone managed somehow to modify a file under my drupal installation and to inject javascript code the file that was hacked was :jquery-1.9.1.min.js ...
user avatar
  • 1
0 votes
1 answer
673 views

Is it safe to give ownership of files to “daemon”?

I was having trouble uploading files using my CMS (Drupal). When I put more restrictive file permissions on, I could not upload anything. Then I changed the owner of the upload directory and all sub-...
user avatar
  • 11
0 votes
1 answer
195 views

MySQL account has password, but only logs in without it

I am running Windows Server 2012 R2 trying to host a Drupal site. Because it is Drupal, I am trying to connect to a MySQL server rather than a MSSQL server. I created a new schema as well as a new ...
user avatar
1 vote
1 answer
57 views

Civicrm - Add SPF Record, All Emails are going to spam,

All of my civicrm email's are going to spam. do i have to add SPF records for it? and if yes what it would be? For more details: https://www.screencast.com/t/hG2xCuBuE
user avatar
1 vote
1 answer
353 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-...
user avatar
0 votes
2 answers
415 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, ...
user avatar
  • 415
2 votes
1 answer
2k views

NGINX + Drupal installed in subfolder on linux server

I'm trying to configure the server like this have this accessible addresses: domain.com/webmail (webmail app) domain.com/app (node.js app) domain.com/mailadmin (mail administration app) domain.com/...
user avatar
0 votes
1 answer
177 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). ...
user avatar
  • 1
0 votes
0 answers
635 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 ...
user avatar
0 votes
1 answer
837 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 ...
user avatar
  • 1
0 votes
0 answers
374 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 ...
user avatar
  • 384
0 votes
1 answer
291 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* ...
user avatar
  • 101
0 votes
1 answer
248 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 ...
user avatar
0 votes
1 answer
220 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 ...
user avatar
  • 239
0 votes
1 answer
63 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-...
user avatar
  • 257
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 ...
user avatar
  • 171
0 votes
1 answer
834 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. ...
user avatar
1 vote
0 answers
182 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 ...
user avatar
0 votes
1 answer
643 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 ...
user avatar
0 votes
1 answer
247 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 ... ...
user avatar
1 vote
2 answers
242 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....
user avatar
  • 341
0 votes
0 answers
27 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
user avatar
  • 275
0 votes
1 answer
341 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 ...
user avatar
0 votes
0 answers
88 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 ...
user avatar
  • 1

1
2 3 4 5 6