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
1 answer
560 views

Drupal installation. GD and PDO issue on ubuntu amazon EC2

sorry if this has been answered already, but my searches brought me to nowhere. I have just installed LAMP environment on Amazon EC2 instance. It runs on: Ubuntu precise 12.04 amd64 server PHP ...
MAXIM's user avatar
  • 111
0 votes
1 answer
324 views

Running drupal as root in order for it to run bash scripts

I store a website on redhat and using drupal. There is a button on the site that activates a php script and that php script use exec to activate bash script on the server. Right now the script is not ...
ilansch's user avatar
  • 179
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 ...
sgtbeano's user avatar
  • 340
-1 votes
2 answers
231 views

Sendmail Invoked by Unknown Process [closed]

On a webserver, I am seeing unknown processes invoking sendmail like root 1544 1188 0 03:42 ? 00:00:00 sendmail: ./qBBJ2gNg014264 mail.furst.com.: user open I have DROPed all SMTP ...
Nishant's user avatar
  • 109
1 vote
2 answers
1k views

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 ...
Sukhjinder Singh's user avatar
1 vote
2 answers
3k views

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 ...
Zipp's user avatar
  • 141
0 votes
1 answer
744 views

310 too many redirects after moving drupal site to fast-cgi

Here is trouble: When i follow this link - http://znak.net.ua it rewrites to http://znak.net.ua/ru/ru/ru/ru/ru/ and i got Error 310 (net::ERR_TOO_MANY_REDIRECTS) This happend when i start using ...
Jaels's user avatar
  • 67
0 votes
1 answer
577 views

Drupal & nginx : a sound "general purpose" configuration? [closed]

After a bit back and forth with configuring Drupal and nginx to work together, I've come up with the below configuration for a site. It works well, both with private and public file systems. However, ...
sbrattla's user avatar
  • 1,600
4 votes
1 answer
804 views

Intranet corporate SSO for webapps against Active Directory

I am trying to plan and implement a SSO solution in a corporate environment that serves intranet web applications running on CentOS: Corporate portal (Drupal backend) Project management (Project.NET) ...
droidlock's user avatar
0 votes
1 answer
77 views

Is it safe/wise to run Drupal alongside bespoke business web apps in production? [closed]

I'm interested to know the general community feeling about the safety of running Drupal alongside bespoke, business critial ASP.NET MVC apps on a production server. Previously my employer's Drupal ...
Vaze's user avatar
  • 3
3 votes
2 answers
5k views

HTTPS variable in $_SERVER using nginx as reverse proxy

I'm using nginx as a reverse proxy in front of an apache with mod_php. My site is on https, and it would require the variable $_SERVER['HTTPS'] to be set 'on' to assemble some of the links correctly. ...
mimrock's user avatar
  • 157
1 vote
1 answer
4k views

what port should I open for mysql master-master replication?

I have two servers running php5-fpm and a load balancer running nginx, the three servers share /var/www/drupal using nfs. nfs is working correctly. I replicated the two servers' database using mysql ...
Vanddel's user avatar
  • 125
1 vote
0 answers
167 views

Is memcache impacting my performence negatively?

I am using pressflow 6 and NewRelic seems to suggest that memcache is infact hurting performance as shown below : My settings.php file : # Varnish reverse proxy on localhost $conf['reverse_proxy'] = ...
iTech's user avatar
  • 355
2 votes
1 answer
65 views

Server error with large posts

On a large drupal site, the database server is on a separate server connected directly to the web server. The web server uses apache and memcached. The problem is that whenever the post is a large, ...
Shirko's user avatar
  • 21
1 vote
1 answer
654 views

Bitnami Drupal can't send email

I have the Bitnami Drupal AMI that is on the AWS marketplace. https://aws.amazon.com/marketplace/pp/ref=bill_eml_1?sku=5ysj40wf1vkv5qwu3jszwhefa when someone attemps to create a new account they get ...
chuckboycejr's user avatar
1 vote
2 answers
497 views

can't login to SSH with Bitnami Drupal AMI on AWS Marketplace

I have the Bitnami Drupal AMI that is on the AWS marketplace. https://aws.amazon.com/marketplace/pp/ref=bill_eml_1?sku=5ysj40wf1vkv5qwu3jszwhefa I can't SSH to it in EC2. Tries to use user ubuntu. ...
chuckboycejr's user avatar
2 votes
0 answers
785 views

High load average, low CPU and IO (Centos 5.7)

A Drupal 7 site with CiviCRM, after running smoothly for a year on a 1&1 VPS suddenly became unresponsive. Now pages eventually load, but can take more than a minute. Looking at resource use in ...
Ben's user avatar
  • 21
4 votes
2 answers
17k views

Why is Varnish not caching?

I am troubleshooting the setup of Varnish 3.x on my Ubuntu server. I'm running Drupal 7 on two sites set up on the box, via named-based vhosts. Before trying to get Varnish to play nice with Drupal I'...
Justin's user avatar
  • 915
0 votes
1 answer
77 views

Solr, sort same weigthing results alphebetically

I'm working in a project that uses Drupal Solr module and I'm facing a problem plus I'm a complete rookie on Solr config. The issue is that same weigthing results does not appear ordered ...
razor7's user avatar
  • 135
1 vote
2 answers
297 views

ngnix simple location match, what does it mean

location ~ \..*/.*\.php$ { return 403; } I am interpreting this as: case sensitive .[any character repeated 0 or more times]/[any character repeated 0 or more times].php Examples: .abc/abc.php ...
Chris Muench's user avatar
0 votes
1 answer
332 views

nginx - another rewrite or internal redirection cycle - drupal

While migrating a site from another server, some strange problem occured. I use the default configuration for all my drupal sites, but this one doesnt seem to work. Some image files cause an internal ...
s1ck's user avatar
  • 145
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 ...
Zlatko's user avatar
  • 1,031
0 votes
1 answer
2k views

Finding malicious code injected into MySQL [duplicate]

Possible Duplicate: My server's been hacked EMERGENCY I've got a new client whose site looks like it has been hacked. It's running Drupal and I have run Hacked on it to verify that the file ...
Mike Gifford's user avatar
2 votes
1 answer
318 views

What's the best way to run Drupal and Django sites behind the same Varnish server?

I have a high traffic website running with Drupal and Apache, five web servers behind a Varnish server load balancing. Let's say this site is example.com. I'm using five backends and a director like ...
Mentakatz's user avatar
  • 131
3 votes
2 answers
4k views

Drupal on an NFS share has terrible performance

We have a setup where a Drupal 7 site with the following setup - a VMware ESXi 4.1 host server running a web vm and an NFS VM. The web VM is using Apache and mod_php. The site is still in development ...
Marcus's user avatar
  • 175
4 votes
1 answer
1k views

Using nginx and Drupal, how do I serve a 404 error for static files and directories that exist?

I deploy a Drupal web site using git (well, OK, the developers deploy it; I try to keep them out of trouble), and for that reason the site has a directory .git and a file .gitignore in the document ...
Michael Hampton's user avatar
0 votes
2 answers
2k views

Login to Drupal fails with Nginx and proxy_pass, but works when accessing Drupal directly

We need to proxy pass an url in which my.domain.com need to get drupal.apps.server.com. We configured rewrite and is working fine. Then we configured proxypass and while accessing my.domain.com we ...
Geo's user avatar
  • 575
3 votes
1 answer
4k views

How to you properly invalidate the local cache on a browser?

I'm troubleshooting a problem on my site where a user will authenticate successfully but the browser will load (I believe) the local cache of the page to which the user is redirected. Since it's a ...
Justin's user avatar
  • 915
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 ...
Akahadaka's user avatar
  • 113
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 ...
Gilles Grandguillaume's user avatar
1 vote
1 answer
9k views

PHP displays blank white page even with all error reporting enabled

I am trying to debug a broken page in a Drupal application and am having a hard time getting PHP to spit anything useful out. I have the following set: error_reporting = E_ALL display_errors = On ...
Andy Shinn's user avatar
  • 4,271
0 votes
1 answer
908 views

umask is being ignored on Gentoo while creating new files

I have a server running Gentoo and hosting a drupal installation. Whenever a Drupal update is executed, the directory permissions of the updated module turn from 755 to 744 preventing the application ...
drcelus's user avatar
  • 1,254
2 votes
1 answer
1k views

MySQL errors with Drupal and MediaTemple

I have been having intermitant issues between drupal 7.14 and MediaTemple. Specifically I am getting this error: PDOException: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try ...
Reid's user avatar
  • 411
0 votes
1 answer
1k views

Drupal Commons using sendmail with Gmail SMTP smart host: Account suspended for abuse

I have a Linux VPS with two Drupal sites, one of them using Drupal Commons. Both installations are told to send mail via sendmail, which in turn is configured to relay mail to the Gmail SMTP server (...
Mikael's user avatar
  • 103
1 vote
1 answer
3k views

Nginx gives 504 Gateway Time-out once moved to live

I am planning to switch my website (drupal 6.25) from apache to nginx. i have prepared everything for nginx and tested it on port 81. it is working fine. and now i changed listen from 81 to 80 and ...
Alaa Alomari's user avatar
0 votes
1 answer
148 views

centos linux log messages filling up with page not found

We have experienced some instability on our server lately. Checking log/messages there is a lot of messages like this Apr 25 20:27:17 lillevinkel2 drupal: http://skobloggen.lillevinkelsko.no|...
Tom's user avatar
  • 219
0 votes
2 answers
137 views

php security on a system with only known php software (or: need alternative non-PHP CMS)

I have a deep antipathy for PHP due to its security record and the way the project handles security in general. Unfortunately I have to deploy a CMS and I need a modern theme for it. So far I have ...
khaos's user avatar
  • 213
0 votes
2 answers
429 views

Site resolves fine without "www", "www" creates database error

Working with BOA ( Barracuda / Octopus / Aegir ) , I've installed a few Drupal sites without any problems and following the same process for all. BOA is running on Nginx. All sites are going thru ...
PatrickS's user avatar
  • 360
0 votes
1 answer
110 views

LAMP server being used to send SPAM [duplicate]

Possible Duplicate: My server's been hacked EMERGENCY I have a LAMP server running that has suddenly started trying to send out spam email. I wonder would anyone have any suggestion to help ...
Jan Geep's user avatar
  • 201
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 ...
Max's user avatar
  • 3,563
0 votes
1 answer
312 views

Maintaining a static website in the Drupal root

I have a virtual host setup to host a Drupal website. This is replacing our center's old website. However, a portion of that website (which is completely static) needs to still live on and have the ...
Lester Peabody's user avatar
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 ...
Max's user avatar
  • 3,563
1 vote
2 answers
4k views

Setup htpasswd for a specific URL

I have a htpasswd file, works fine - in my htaccess I have: <Limit GET POST> require valid-user </Limit> Which works, login/passwd shows up fine when you reach the root of website. ...
williamsowen's user avatar
  • 1,177
2 votes
1 answer
137 views

Any particular vacuum policy to increase performance using Drupal with PostgreSQL?

I'm running Drupal 7 with PostgreSQL as a Q&A (with a lot of nodes inserts/updates and several contrib modules). Do you, dba admins, recommand any particular pgsql vacuum policy on particular ...
Bao's user avatar
  • 121
1 vote
1 answer
2k views

MySQL cluster for Drupal?

We have a pretty busy site based on Drupal and I was thinking of introducing some form of clustering for HA and Load balancing. However, http://drupal.org/requirements says: Drupal supports MyISAM ...
Debianuser's user avatar
1 vote
1 answer
466 views

Failed PCI compliance - 403 (Forbidden)

Due to a recent upgrade in the scanning done by our PCI compliance testers, we recently failed a PCI, and the suggested solution is as follows: Configure the HTTP server to specify the same error ...
JonoB's user avatar
  • 273
3 votes
3 answers
25k views

Best my.cnf configuration for a 8GB MySQL server with MyISAM use only

I am preparing a large Drupal 6.x based installation and have setup a dedicated MySQL server with 8GB of RAM. Drupal 6.x uses only MyISAM engine and there will be around 500 concurrent users using the ...
Mohammad Emran's user avatar
1 vote
5 answers
358 views

Synching 2 remote folders

We have 2 Drupal servers that read/write to their own copy of the same folder (the sites/default/files folder for those of you who know a bit about Drupal). Those 2 folders should be in sync. I've ...
Max's user avatar
  • 3,563
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 ...
Dave's user avatar
  • 23
0 votes
2 answers
309 views

Memcache warnings

I have installed memcache on a Dreamhost VPS (Debian GNU/Linux 5.0.9 (lenny) / memcached 1.4.10 ) for a Drupal site . If for some reason the server needs rebooting, memcache is not restarted and ...
PatrickS's user avatar
  • 360