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
14 views

Customize Drupal Solr SearchBox

I want to customize the searchbox to bring let's say the node title and the description. How can this be achieved? The way I am thinking of doing it: Create a custom module implementing hook_menu ...
0
votes
0answers
16 views

Multiple queries in apache solr views

with Apache Solr Views, I created a view with some exposed filters (a textbox, and a bunch of checkboxes on 2 taxonomy vocabularies) to satisfy very picky specs. When a user launches a text search ...
-1
votes
0answers
20 views

Drupal Varnish always get X-Varnish-Cache MISS

I need some assistance with my varnish,when I use fire_bug to check for varnish's "X-Varnish-Cache" I always get "MISS" I dont understand what should I do now please give me some advice Thanks ...
0
votes
0answers
41 views

The clean URL test failed. (ubuntu14.04 lts + virtualmin + Apache/2.4.7)

i can't enable clean url. Mod_rewrite is already enabled. Anything i'm missing? here is the conf my apache is running user mode, the document root is in /home/drupal/public_html ...
2
votes
2answers
50 views

Load Aegir's site credentials from a php function

I'm using Aegir and want to inject some data into a site's vhost. And I managed to do it thanks to this post. My problem is I can't find an Aegir function to load a site's dabase configurations from ...
2
votes
3answers
135 views

Can't log in to Drupal websites after upgrading to OSX Yosemite

I have just upgraded my local machine to OSX Yosemite which has changed my Apache version from 2.2 to 2.4 and my PHP version from 5.4 to 5.5. When I visit both example.dev/user and ...
0
votes
1answer
78 views

Why after installing Drupal 8 all links to the front page generates 404 error? [closed]

After installing Drupal 8 I get access to the front page but all links generate a 404 error. Why clicking on any links gives 404 error: http://localhost/drupal8/ while everything works fine with: ...
7
votes
4answers
282 views

Content was not found on this server

Sometimes when I add or delete a new content (e.g. Article) on a freshly installed Drupal 7 website, I got this error message. The requested URL /myweb/admin/content was not found on this server. ...
0
votes
1answer
28 views

Ajax Request Failing

I've got a perplexing issue which has left me quite confused. I've got a form which has a link on it and when the user clicks the link it is supposed to open up an AJAX popup form and display some ...
0
votes
1answer
30 views

Default installation of D8 treatment of .gif accesses?

If I request a non-existent URL, say, /ddddd I get Page not found (as expected). If I do th4 same with an unusual extension /dddd.xcf I also get Page not found. BUT if I request /ddddd.gif there's an ...
0
votes
1answer
29 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
21 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
114 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
254 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
46 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
69 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
45 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
53 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
24 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
24 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
142 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
151 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
116 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
45 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
155 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
97 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
2k 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
150 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
138 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
742 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
243 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
91 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
258 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
200 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
692 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
102 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
36 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
77 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
2k 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
100 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
84 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
46 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
1k 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
408 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
62 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
1k 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
50 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
2answers
493 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
96 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 ...