The Apache HTTP Server, commonly referred to as Apache, is an open-source HTTP server for modern operating systems including UNIX, its variants and Windows. Apache is a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.

learn more… | top users | synonyms

0
votes
0answers
11 views

With a Two-Tier Drupal Architecture, Should you Put More RAM into the MySQL or the Apache Box? [on hold]

If you're spinning up a two-tier Drupal 7 environment (Apache on one server, MySQL on another), how would you allocate RAM? If there's a ratio to stick to, that would be handy, too (e.g. 2:1, MySQL to ...
0
votes
1answer
19 views

Moving from custom CMS to Drupal and need to keep a myriad of old mod_rewrites

I am moving content from an existing custom built CMS into Drupal 7. There is a host of mod_rewrite rules in place. These rules expand path names in the URL. For example, the rule below effectively ...
0
votes
0answers
13 views

What are the appropriate file security settings and Apache settings for Drupal sites running on a VPS?

I would be grateful for some help on this one - I have looked at the other posts on this subject with interest, but they don't seem quite to fit my situation. I'm not a great Unix expert, but there ...
0
votes
1answer
30 views

How I can force enable clean url d7

Today i have transferred my d7 site to a new ubuntu vps, then in the Apache config files i made this change: AllowOverride None to AllowOverride All and now d7 site is working under clean url. While ...
0
votes
0answers
56 views

Clean URLs not working on centos 6 vps

I have installed drupal 7 in my vps running centos, but while i run clean url test using the drupal 7 clean url option in order to enable it the it shows error like this: "The clean URL test failed." ...
0
votes
2answers
31 views

Ubuntu 12.04 - drupal site install on local apache not available [closed]

Apache config on "/etc/apache2/sites-available/drupal728" <VirtualHost *:80> ServerAlias drupal728 DocumentRoot /home/ip/Documents/drupal/drupal728 <Directory ...
1
vote
1answer
47 views

What's the correct way to enable clean urls when Drupal is hosted in a sub directory (linux server)?

Until recently, I've never used Drupal in a subfolder before, and having followed the directions in the .htaccess file as well as this page, I'm unable to get it working. Drupal projects will be ...
0
votes
2answers
28 views

Rewrite rules for Development & Production Environments

I'm having trouble with the file path when I upload my development environment to the server. The problem is actually quite simple. Development is working on the root folder ( development.tld ) ...
1
vote
1answer
33 views

How to use Drush with Apache Directives?

My Drupal installs are set up with apache environment variables/directives (SetEnv DB_NAME somedb) to store the database name, username and password. It appears that Drush isn't able to use these by ...
0
votes
0answers
14 views

Indexing the Title Attribut of a image field with Apache Solr Search module

We're using Apache Solr & Drupal on a website were there's going to be a lot of pictures. I'd like to use Apache Solr Search to index the Title Attribute of each picture (you can see an example ...
1
vote
1answer
17 views

Random Article Button

I'd like to create a button on a menu bar that can generate a link to a random article from my blog posts (much like Wikipedia has). It's for a client, and they'd like to have this functionality on ...
0
votes
1answer
62 views

Can I rename index.php?

I am going to replace the front page of a Drupal 6 site with a new index.php. How can I rename the Drupal 6 index.php (say, to drupal.php) and keep the Drupal site functions working? For example, I'd ...
0
votes
4answers
111 views

Clean URLs on multisite; Clean URL test fails but unable to enable it

Clean URL test fails but unable to enable it. Here is my configuration files. I am able to access the page via example.com/admin/config/search/clean-urls as well as ...
0
votes
1answer
61 views

Links not working on migrated site

I moved a site from a hosted server to my local machine and none of the links that point to internal pages work even though they look correct. I'm getting odd behaviour as described below. This is ...
0
votes
0answers
36 views

page load correctly but have 404 error

my page load correct and complete but in inspect element main page request is 404, I check header and rewrite mod of apache, clean-url, home page link and read question but don't find problem what ...
1
vote
0answers
67 views

How to pipe file uploads to subdomain?

I've got a Drupal 7 site on Apache and Varnish, sitting behind the CloudFlare CDN. Everythin on mysite.com goes through cloudflare... I also have a "direct access" subdomain set up at ...
0
votes
0answers
28 views

cannot migrate drupal site existed on MAMP to MacOS native apache server

the MAMP server is pretty slowly, I wanna to migrate the existed site on MAMP to MacOS native apachectl server. The native apachectl server is work fine, I can install a new drupal site on this. But ...
2
votes
1answer
738 views

Adding .htaccess within httpd.conf correctly

I am looking for advice on the correct way to place my .htaccess settings within my httpd.conf. Here is the server httpd.conf with the htaccess placed within a directory as per most instructions I ...
0
votes
0answers
63 views

Intermittent 'connection was reset' messages followed by 404 errors - Drupal7, Apache, Linux

After Drupal 7 core deployment on Linux, we're getting intermittent messages: 'connection was reset', followed by (after browser refresh): 'Access Error: 404 -- Not Found' errors - working with admin ...
0
votes
2answers
97 views

local copy of my drupal site doesn't seem to link

I isntalled a local LAMP system and basically copied my site into /var/www/ for some local "experiments" (without messing around with the live site). I've mirrored the db and everything. Now when I go ...
0
votes
4answers
320 views

How do I setup multiple sites with one database in Drupal 7 (or) Multisite Apache configuration with Drupal

I have a problem in multisite with Drupal 7.26. The name of the site is multisite, and the IP is 192.168.1.99. I created a folder that hosts a new site (/var/www/multisite/sites/site1), copied the ...
0
votes
1answer
138 views

Drupal not able to make any outgoing HTTP requests

So, my drupal setup is on a NAS architecture. It's a portal for a college department and is hosted on the campus NAS. This basically means that my web server has to connect through an internal proxy ...
0
votes
1answer
70 views

Website is getting very high load due to “UPDATE cache SET data…”

It's a high traffic website, but I guess high load is not because of traffic because many times it runs smooth on same traffic. I researched a lot and optimized Apache, switched off logging modules to ...
0
votes
0answers
147 views

Problems with mod_auth_sspi remote user and Drupal 7

I have been trying for a while now to get mod_auth_sspi up and running to help run a Drupal Intranet. It's hard to tell is it's a Drupal or Apache issue, I'm siding possibly with an Apache issue, but ...
2
votes
2answers
130 views

Top level directory files like readme.txt are served by apache

The content of the top-level server directory is publicly available by the web, e.g. files like example.com/readme.txt are readable. Is it normal? How can i disable this? (apache, ubuntu 12.04)
4
votes
3answers
357 views

After setting $base_url, I can only access the front page

I have Drupal installed in a subdirectory of public_html on BlueHost. It looks like this: /www/drupal7/mywebsite. I want to run the site out of the mywebsite subdirectory instead of www. However, I ...
0
votes
1answer
83 views

URL rewrites & Drupal functions

I have a server that hosts our Drupal 7 development, testing, and production environments: /var/www/html/dev /var/www/html/test /var/www/html/prod Instead of having dev and test live in ...
0
votes
1answer
32 views

Redirect a whole website to a drupal page [closed]

I'm looking for a way to redirect a whole website address like : www.example.com to a drupal website's page like: www.mydrupalwebsite.com/node/13 How can achieve this ?
0
votes
1answer
65 views

What are common methods of intrusion into a Drupal website?

I am running Drupal 6.28 that was recently hacked and there were scripts being executed out of the /tmp directory, apparently running a bitcoin mining server and other brute force scripts. I would ...
0
votes
2answers
1k views

Can't edit settings.php in Drupal 7 - Premission Denied - Can't Write to File via Cpanel File Manager

Trying to edit settings.php via Cpanel File Manager I can CHMOD the file to anything I want and back but can't write to it. I get the following message: Could not write ...
0
votes
0answers
93 views

Boost with Drupal 7 - WSOD

I was using Boost module with Drupal 7 for a few months and all was working fine. I recently upgraded to Apache 2.4.6 and noticed that Drupal frontpage has white screen. I disabled Boost and ...
0
votes
1answer
58 views

Implement boolean search in apache solr search

I am working on Apache solr search. I want to implement boolean search in apache solr search. On google i found following article and many more articles. I have also seen the ...
0
votes
1answer
38 views

How do I add static html files to my Aegir install

I have Aegir install running on a rack space server. In addition to the Drupal sites I am running, I would also like to be able to create static websites and server them from the same server. What ...
1
vote
0answers
823 views

Drupal site makes apache goes to 100% CPU usage often

My new drupal site crashes very often because the apache server goes up to 100% cpu usage. I have to ask our hardware guy to restart it once everyday. Also, He asked me if I am sure that the site ...
1
vote
1answer
299 views

Expiration date for static files

I don't understand the following: In Drupal 7's default .htaccess file the Apache module mod_expires is ordered to let files without a .php extension expire after two weeks. How is web development ...
0
votes
0answers
59 views

Cannot pass the Login block or login page

I have just set up a server on my home network to allow testing of a Drupal (Ver 7) development website from several computers. Ubuntu as well as the usual programs (Apache, PHP, MySQL) are installed. ...
0
votes
2answers
896 views

Apache AddDefaultCharset utf-8 - filename not saving in utf-8

Using file field to upload image which has utf-8 filename, but when it is uploaded to site filename is not saving in utf-8 format.But original name is saved as link in database making it not found ...
0
votes
0answers
47 views

Hook for apache solr search to open the search items in new tab

I am using Apache Solr Search on my site, and would like links on the search results page to open in a new window/tab. How can I accomplish this using a hook function?
0
votes
1answer
317 views

Redirect all www addresses to non-www web addresses

How can I redirect all traffic from www.domain.com/page to domain.com/page? I need to disallow traffic to web addresses that include the www. The reason is that I have an SSL certificate that only ...
0
votes
1answer
52 views

Where should I place .htaccess to take effect in a particular site?

We have an Apache web server that contains several Drupal 7 installations. Where should I place a .htaccess file in order for its contents to take effect on a particular website? I tried putting it ...
0
votes
1answer
87 views

Handle file requests

I'd like to be able to intercept calls to files (.pdf for instance) in order to run some custom code before the user accesses/downloads the file, and add a cover page accordingly. From what I ...
0
votes
1answer
236 views

White Screen of Death, From Apache to Litespeed

I'm facing a White Screen of Death on some backend(admin) pages after migrating to a new server. Apache--->LiteSpeed. New domain. When I migrate to a different server running Apache I don't have any ...
-2
votes
0answers
163 views

403 forbidden - chmod and selinux not the problem [closed]

So I have a Drupal installation on a LAMP server and have ran into an issue. I uploaded a new theme and everything on it worked fine, except the logo won't show up and when I try to view it in the ...
0
votes
2answers
366 views

Change base URL of multi-site install

I've searched a bit for the answer to this, but all the answers seem to refer to single sites, or they just don't work (or I'm doing them wrong). I have an out-of-the-box Bitnami image setup on ...
1
vote
0answers
108 views

Make Drupal menu router to ignore a path that belongs to another website

I have Drupal running at http://api.site.com. My conf file is: <VirtualHost *:80> ServerAdmin admin@site.com DocumentRoot /var/www/html/drupal ServerName api.site.com ...
0
votes
1answer
218 views

Why does Apache show such drastic differences in memory usage when using mod_php?

I've taken steps to reduce as much as possible the memory footprint of my Apache mod_php processes by disabling Apache modules as well as Drupal modules. When the server is under light load, I see ...
0
votes
2answers
281 views

$base_path is not added to AJAX URL request in login form

I have a D7 site in a subfolder, and would like for AJAX requests to find the correct docroot folder. When trying to login from localhost/mysite/user, AJAX sends a request to localhost/system/ajax. ...
24
votes
3answers
65k views

Nginx vs Apache - Are there any actual usage comparisons and statistcs out there?

I have a new server to play with, and I am staring at a blank canvas. I can put anything I want on it. While I am comfortable with Apache, I keep hearing how nginx can handle so much more traffic than ...
0
votes
1answer
230 views

When building Apache from scratch, what are the minimum modules needed for Drupal to run with clearn URLs?

I have a shiny, new, completely blank box of a LAMP server in front of me. I've heard tales of, even seen pictures of, Apache processes below 30 MB, but I have not seen in it in my Drupal lifetime. ...
0
votes
1answer
71 views

Requirements for enabling compress and aggregation files in Drupal 7

Is there any requirement or module that I need to enable in Apache to properly use the option bandwidth optimization in performance? Do I need to enable the deflate module or I just need the headers ...