Questions tagged [apache]

The Apache HTTP Server, commonly referred to as Apache, is an open-source HTTP server for modern operating systems.

Filter by
Sorted by
Tagged with
-3
votes
0answers
30 views

.htaccess is overwritten every time I make an edit [on hold]

I installed Drupal 8.7.5 and chose "Standard" on installation. The .htaccess file is rewritten on every content change. It is in drupal-8.7.5/sites/default/files/. I cannot even change that file, ...
0
votes
0answers
27 views

Securing Admin on separate port

I am attempting to secure the admin pages (/admin/*) and login page (/user/login) to port 8443. I have successfully done that with the following in apache 2.4: <VirtualHost _default_:443> ...
-1
votes
1answer
14 views

Redirect domain to www, but on subdomain do not use www

I have a multilanguage website. The main language is English and the second language is Spanish. I need to have all the traffic using this domains: English domain: www.example.com Spanish domain: es....
0
votes
0answers
21 views

8 - Cannot get clean URL's to work in macos mojave

Trying to install Drupal 8 on my macos mojave but cannot get clean URL's to work. But failing. Here are my configs at /etc/apache2/httpd.conf: Rewrite mod and vhosts include is uncommented... ...
0
votes
1answer
62 views

Removing specific HTTP response header

I am trying to remove specific HTTP response header from my site. The header looks like this: Link: <https://example.com>; rel="canonical",<https://example.com>; rel="shortlink" So far ...
0
votes
1answer
15 views

LDAP SSO does not authenticate user on homepage

I have configured ldap sso and it is working so far for all Url paths except for the homepage. I get authenticated on /user/login/sso and I get authenticated on /whatsoever but I don't get ...
1
vote
1answer
29 views

Downloaded Drupal 8 with composer, now what? [closed]

I'm a complete Drupal newbie trying to install Drupal 8 for the first time on a new server. I downloaded the software following the instructions in section 3.5 of the User Guide, but there doesn't ...
0
votes
1answer
77 views

Solr search api indexing referenced fields by their id not value

So i created a basic Solr core and index. In the index i added several diff. content types and added a lot of fields from those CT, including a aggregated field (union of several diff. fields: plain ...
1
vote
0answers
65 views

How to use wildcard search in apache solr search module?

I am working on apachesolr search module. I want to implement wildcard search I have used hook_apachesolr_query_prepare() function to modify apachesolr query but it is not working can any one give ...
0
votes
1answer
454 views

ERR_EMPTY_RESPONSE during installation with PHP 7.3

I'm trying to install Drupal 8 with PHP version 7.3.0RC4. When I go to http://localhost it redirects me to http://localhost/core/install.php with the empty response error. I checked the Apache error ...
0
votes
1answer
1k views

htaccess for Angular app in a subfolder

I have an Angular 6 app living in a subfolder on a D8 installation. I have no issues navigating to the app and the angular routing doing it's thing as I navigate the app. My issues is I get a Drupal ...
0
votes
1answer
12 views

500 error on one page in entire site only showing error “You are here” instead of administration content

this error seems to only affect one page in on the website, and nowhere else. Here is what it looks like: The watchdog reports do not show the issue, and I believe it to be a permission error or ...
0
votes
1answer
39 views

How to get drupal to remove /drupal/ from all the links on the website

I first ran the install.php when drupal was reachable as example.org/drupal/, then later I changed the Apache configuration to make it into a virtual host. Now that I can reach the site at example....
0
votes
0answers
55 views

www.homepage.com/sites/ loads a 403 error and we want to redirect to 'page not found'

We are trying to tighten up our homepage drupal 7 installation and our SEO partner informed us that some subdirectories are showing up in our stats where they shouldn't be. At present, homepage.com/...
1
vote
1answer
30 views

How to configure my local Drupal site to contact my local Apache Solr server?

I installed Apache Solr server on my local machine and installed the Apache Solr Search module on my Drupal 7 site. When I configure the module and click submit an error message appears: Your site ...
1
vote
0answers
26 views

Page not found errors for images

The site becomes painfully slow at times and when I look into "Recent Log Mesaages" logs such as this is frequently found. The Location shows: http://example.com/sites/default/files/styles/featured/...
0
votes
1answer
117 views

Configuring drupal in a virtual directory

I am running drupal using apache on redhat linux. Currently drupal is running at the root of the apache site. However, I want to put drupal in a sub-directory/virtual folder, because it's possible ...
1
vote
1answer
600 views

Products containing a hyphen or numbers not shown or wrong relevance

I have an external Apache Solr Server, with Search API and Search API Views. When we search for ordinary products, they are shown correctly, with the correct descending relevance order. When we ...
0
votes
1answer
19 views

How to install new drupal packages on local apache server [closed]

I have a drupal site set up on a local mysql and a local apache server. I am trying to install a new module the problem is it brings me to the login for server ftp. I'm not sure what credentials it ...
1
vote
0answers
612 views

Leverage browser caching

I'm trying to leverage the browser cache for my Drupal 8 site. I saw many posts regarding it, but whenever I edit the .htaccess file, there is still no difference in testing. This is my code right now....
3
votes
3answers
2k views

error 500: Premature end of script headers: index.php

Everything works except the /node/[nr]/edit page of only one content type page. And it's not for every page of this specific content type. Only one. So let's say I have a content type "product" and ...
1
vote
2answers
1k views

Ajax submission leads to => An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (2 MB) that this server supports

So i'm trying to submit a form using ajax, in my form i have the following: $form['actions']['#type'] = 'actions'; $form['actions']['submit'] = array( '#type' => 'submit', ...
0
votes
1answer
207 views

Drupal configuration on non root url (how to change $base_url)?

sorry for my english, I'm french ok, that's I want to do is to install my drupal site on a url like : www.mymachine.fr/mydrupal/ and the problem is that when I go this url, he dispatch me to www....
0
votes
1answer
335 views

Cannot Login After Drupal 7 migration

Sorry, unrecognized username or password. Have you forgotten your password? The error above shows even though I have inputted correct credentials in my site(192.168.5.141/doc_monitor). Below are the ...
1
vote
1answer
94 views

When setting up the Drupal 7 database (mySql/mariadb) what database user accounts should be created?

When installing the database (mariadb) for use with Drupal 7 on Centos 7, what database admin and user accounts should be created and with what permissions? Do specific directory permissions or file ...
0
votes
1answer
227 views

The web service endpoint returned a “HTTP/1.1 403 Forbidden” response

There are 12 or so similar questions but not drupal related. Here is my site on a digitalocean droplet: http://104.236.27.226/ It is apache2 on ubuntu16 php7. I am using: 000-default.conf: ...
0
votes
1answer
3k views

Too many redirects error with https and domain access module

I'm redirecting traffic for my various domains to HTTPS. Things seem to work fine on my local, but when I deploy to my production site I get the "www.mysite.cn redirected you too many times." error. I'...
0
votes
1answer
690 views

Did anyone have success in configuring Mod security?

I am trying to set up Mod security (the Apache module) for my Drupal site, but it affects basic Drupal functionalities like node submission, module enable/disable and people permission submissions etc....
0
votes
1answer
57 views

How to have two domains for same site, but site working in directory in second domain

Example: www.domain1.com -> Drupal site in root dir (Managed by Apache) www.domain2.com/usa -> Drupal site of domain1.com (Managed by Nginx) The idea is that www.domain2.com/<countrycode&...
-1
votes
1answer
39 views

Problems with Drupal 7.55 Apache2 Subdomain Virtual Host no CSS

Setting up a fresh Drupal install in the domain root example.com works fine. Removing that and using a copy of the default virtualhost config file for a new virtual host site.example.com with a ...
3
votes
1answer
4k views

Index.php prompts to download instead of executing

I am running into a issue where I am trying to load up my Drupal site, but instead of going to the main page, it instead prompts to download / save the file. I know that my PHP is active and I can't ...
0
votes
1answer
167 views

Multisite: Only Drupal Root recognized for subpath

I am having a Drupal 8 multisite installation: Hostname: example.com 1st Drupal site: in example.com 2nd Drupal site: in example.com/sub/path I have configured this in sites.php: $sites['example....
5
votes
1answer
600 views

What should I set my Content-Security-Policy to?

I'm using Drupal 8, and I currently use Header always set Content-Security-Policy "default-src 'self'; nosniff" However, this causes bugs, such as Google Analytics not working and the textbox ...
-1
votes
1answer
555 views

404 and 403 Errors after site migration

I have migrated a site from one server to another and the page just refuses to work. I have all modules enabled as on the old server, .htaccess is present in the root folder yet when i access the ...
0
votes
1answer
24 views

Drush up caused httpd process bloom

I ran drush up -n to see what updates were available on the production site and watched in horror as the number of httpd processes increased to several hundred and the server load began to approach ...
5
votes
2answers
5k views

How to prevent executing .php files in sites/default/files directory for nginx+php7.0-fpm?

URL to Drupal.org article Preventing execution of untrusted PHP By default .htaccess inside sites/default/files contains: <IfModule mod_php5.c> php_flag engine off </IfModule> Adding ...
0
votes
0answers
102 views

How to get CLEAN URL's to work?

I have apache running and setup correctly. I have mod_rewrite on in both apache and in my .htaccess file, yet clean urls refuse to work for my site. How can I fix this issue??? My .htaccess file. # #...
5
votes
1answer
608 views

Understanding how SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006 works?

I understand that the files directory requires this in the .htaccess file: SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006 I know it prevents PHP from running in the files directory, but ...
0
votes
1answer
300 views

SA-CORE-2013-003 - Files directory Not fully protected

I'm using Pressflow 6.38 and I'm trying to implement SA-CORE-2013-003 - Drupal core - Multiple vulnerabilities | Drupal.org inside of /etc/httpd/conf.d/pressflow.conf configuration file, like ...
0
votes
1answer
572 views

Why are all files (except index.php) being redirected to 'index.html'

We have a Drupal 7 Drupal Commerce site that we've just moved to our virtual private apache server, however we're seeing very strange behaviour that's making the site not work. We're getting a ...
0
votes
1answer
271 views

Clean URL regarding admin/* paths return 503 Service unavailable

I'm facing a weird problem in which all clean urls of admin pages such as admin/dashboard return 503 notice. However, by changing url to non clean i.e. ?q=admin/dashboard it works. All other content ...
0
votes
1answer
49 views

Site won't display after logging in

OK, so I have a weird one that I have never seen before. I have about 15 Drupal sites setup locally that are all running fine. I am attempting to setup a new one that I am setting up from a Drush ...
1
vote
0answers
127 views

Views URL GET Query exceeding apache2 maximum limit

I am building a views based report that allows selection of fields using views dynamic fields [https://www.drupal.org/project/views_dynamic_fields]. The view also has more than 15 filters for ...
1
vote
1answer
2k views

Kernel error after setting up the site [closed]

I have realized that my Drupal Clean URLs didn't work because my .htaccess file was in ...drupal/sites/default/files directory and after copying it to .../drupal directory, now the .htaccess file is ...
2
votes
1answer
59 views

Need to alter response headers for error pages

We have Cloudflare sitting in front of our Drupal sites - and in order to take advantage of their "AlwaysOnline" feature - we need to alter the response code sent in the event of an error. I want to ...
0
votes
1answer
494 views

Can I use Apache 2.2.15 with mod_rewrite enabled?

I currently am running Centos 6 which only comes with Apache 2.2.15. Yeah, I know it is about time for me to upgrade... I get the following warning: The minimum version of Apache needed to run ...
2
votes
1answer
1k views

Clean urls not working

I just have Drupal 7 and 8 installed in my localhost on Opensuse Leap. With Drupal 7 I cannot pass the clean urls test, however the site is completely functional. By clicking the links on the menu I ...
1
vote
0answers
142 views

How do I add another field to facet for conditional filtering

I currently have a facet block that lists all sizes available for a certain category. The sizes come from a taxonomy vocabulary. I want the sizes facet block to only show the sizes that have stocks > ...
1
vote
0answers
86 views

Drupal in Azure behind Loadmaster - HTTPS enforced no CSS

I bow to those who can help me out with this. I've done this with F5 before but for some reason this isn't working. Drupal 7 sitting behind a Kemp LoadMaster, behind an Azure Load balancer. With Kemp ...
1
vote
1answer
795 views

Updating the PHP version of an existing site?

I am asking this as a total ignorant in differences between PHP versions: Is it possible to update the PHP version of an existing Drupal site that is installed on a local server on Ubuntu? I mean, ...