Skip to main content
Drupal 8

Main navigation

  • Home
    • Question And Answer
    • NEWS
    • Projects
  • Tutorials - Drupal
    • Android
    • Other
User account menu
  • Log in

Breadcrumb

  1. Home

Install Drupal 8 with Virtualmin - Error 500

By editor , 16 November, 2015
Question

How to install drupal on a serveur with Virtualmin ?

Problem : Error 500 on serveur handled with Virtualmin.

Reson 1 : FollowSymLinks

By default, virtualmin does not support Options +FollowSymLinks (on .htaccess).

Solution 1 : Recommended

Change the site Directives : Add FollowSymLinks to the options list
Your VM -> Services -> Configure Website -> Edit Directives
Add +FollowSymLinks to the Options

The directives file must be like :
<Directory /home/YOUR_SITE>
    Options +Indexes +FollowSymLinks +MultiViews
    ...
</Directory>

Solution 2 : If you can't change the

It must be replace with Options +SymLinksIfOwnerMatch .

Edit every .htacces files contains Options +FollowSymLinks, replace with Options +SymLinksIfOwnerMatch .

You can do this with shell command (ssh):
find /path/to/drupal -name ".htaccess" -type f -print -exec sed -i "s/FollowSymLinks/SymLinksIfOwnerMatch/g" \{\} \;

Tags

  • Drupal 8
  • Server
  • Error
The website encountered an unexpected error. Please try again later.
Download and Install drupal 8/9 - Composer

Comments

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Links

  • Drupal.org
  • Drupal core release cycle
  • Drupal events with ease
  • Unit test with Drupal using PHPUnit (Drupal 10)
  • Tokens for file upload url
  • Tips for Docker
  • CKEditor inline image files usage for custom forms.
  • Install Docker on Linux Mint
  • Install PHP 8.1
  • Drupal Security Best Practices
  • Order and sort items with tabledrag
  • Add a custom service YAML container
  • Apply a patch with composer