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
43 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
439 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
136 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
524 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
425 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
228 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 ...
0
votes
3answers
259 views

Server OOM crash nightly caused by multiple malicious POST requests?

So it appears that every night at around midnight some server from China attempts to access my drupal site. From the looks of the logs it keeps making the same request every 61 seconds (so as to avoid ...
-1
votes
1answer
655 views

Setting ftp on linux 12.04 lts (Amazon Instance) for Drupal installation

In these days I'm striving trying to set a proper ftp connection with my Amazon Instance, aimed for Drupal 7. It mounts a Linux Ubuntu 12.04 LTS and it's a Micro Instance. I tried a lot of vsftpd ...
-2
votes
1answer
66 views

drupal on development machine slow [closed]

My drupal site on the development machine loads the pages slow. A page takes between 1500ms and 2500ms. The same site in production on the internet loads pages quick. Using development tools in ...
0
votes
1answer
42 views

Apache virtual hosts for Drupal and fixed websites

I have two websites server1.mydomain.com and server2.mydomain.com. Server1 is part of a multi host Drupal installation located in dupal-7.2/, Server2 is a static website located in htdocs/myserver2. ...
0
votes
1answer
391 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 ...
0
votes
1answer
160 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 ...
0
votes
1answer
125 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
votes
2answers
134 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 ...
1
vote
2answers
740 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 ...
0
votes
2answers
1k 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 ...
0
votes
1answer
445 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 ...
0
votes
1answer
427 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, ...
4
votes
1answer
505 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 ...
0
votes
1answer
66 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 ...
0
votes
2answers
2k 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. ...
0
votes
1answer
2k 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 ...
1
vote
0answers
148 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'] ...
2
votes
1answer
39 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, ...
1
vote
1answer
528 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 ...
0
votes
1answer
387 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. ...
2
votes
0answers
636 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 ...
3
votes
2answers
10k 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 ...
0
votes
1answer
55 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 ...
1
vote
2answers
236 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: ...
0
votes
1answer
277 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 ...
1
vote
1answer
97 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 ...
0
votes
1answer
726 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 ...
2
votes
1answer
225 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 ...
3
votes
2answers
2k 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 ...
3
votes
1answer
736 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 ...
0
votes
2answers
721 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 ...
1
vote
1answer
2k 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 ...
0
votes
2answers
6k 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 ...
2
votes
1answer
818 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 ...
1
vote
1answer
5k 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 ...
0
votes
1answer
524 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 ...
2
votes
1answer
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; ...
0
votes
1answer
868 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 ...
1
vote
1answer
1k 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 ...
0
votes
1answer
120 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: ...
0
votes
1answer
670 views

Optimized LAMP/LEMP stack scripts

In the "let's try not to reinvent the wheel" perspective, I've been looking for a packaged LAMP (or LEMP) stack for some time now, not only the basic Mysql, Apache , PHP etc... but ideally stuff like ...
1
vote
2answers
122 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 ...
0
votes
2answers
393 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 ...
0
votes
1answer
82 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 ...