Apache

access_compat: Für Abwärtskompatibilität mit älteren Zugriffssteuerungsrichtlinien. Zugriffskontrolle für ältere Versionen. 
aclr: Zugriffskontrolllisten für feingranulare Berechtigungen. Zugriffskontrolllisten. 
allowmethods: Beschränkt die erlaubten HTTP-Methoden. Erlaubte HTTP-Methoden festlegen. 
auth_basic: Grundlegende HTTP-Authentifizierung. 
auth_digest: Implementiert Digest-Authentifizierung. Digest-Authentifizierung für HTTP. 

Neue Konfigurationsdatei (.ini) erstellen: \etc\php\7.0\cgi\conf.d\meine_eigene.ini

memory_limit = 2G

upload_max_size = 2G

post_max_size = 2G

upload_max_filesize = 2G

max_execution_time = 300

max_input_time = 3600

max_file_uploads = 1000

xdebug.max_nesting_level = 512

session.gc_maxlifetime = 86400

# service apache2 reload

 

 

Lets-Encrypt / Certbot Error:

Certbot Installation (durch shell root) klappt nicht:

#/path/to/certbot/certbot-auto --apache

...

Installing Python packages...

Installation succeeded.

Saving debug log to /var/log/letsencrypt/letsencrypt.log

The apache plugin is not working; there may be problems with your existing configuration.

The error was: NotSupportedError('Apache plugin support requires libaugeas0 and augeas-lenses version 1.2.0 or higher, please make sure you have you have those installed.',)

 

Redirect www to non www properly (wildcard / any hostname)

RewriteEngine On RewriteBase /

RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

 

Redirect www.example.com to example.com (with hostname):

RewriteEngine on

RewriteCond %{HTTP_HOST} ^example.com [NC]

RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301,NC]

Iframe einbindung klappt nicht

Ich möchte meine alte Seite in einem Iframe anzeigen lassen, aber ich bekomme nur eine leere Seite zu sehen. Hatte gelesen, dass es an Header set X-Frame-Options liegen könnte. Stimmt das und wie kann ich dies über htaccess setzen?

<html>

<head></head>

<body>

<iframe src="https://www.meine-andere-seite.de/index.html" width="100%" height="100%"></iframe>

</body>

</html>

 

Suche

Neueste Kommentare

  • 1 month ago
    TypeError: Cannot assign null to property Drupal \ views \ Plugin \ views \ argument \ ArgumentPluginBase::$operator of type string

    Das geht auch:

          $this->operator = $break->operator ?? '' ;
  • 1 month 1 week ago
    Bootstrap 5 subtheme is not properly configured. This may be caused by a problem with file or directory permissions.
  • 1 month ago
    TypeError: Cannot assign null to property Drupal \ views \ Plugin \ views \ argument \ ArgumentPluginBase::$operator of type string

    It works too:

    • web/core/modules/views/src/Plugin/views/argument/NumericArgument.php 

    Line 63, 96 :

  • 1 month 3 weeks ago
    Site URI : http://default (Drupal, how2 update config?)

    Add this line to drupalroot/vendor/drush/drush/drush.yml

  • 2 months 3 weeks ago
    Webserver CPU Performance Test mit PHP

    Time: 0,19 

    CPU: AMD Ryzen 7 PRO 3700 8-Core Processor

  • 4 months 2 weeks ago
    TypeError: Cannot assign null to property Drupal \ views \ Plugin \ views \ argument \ ArgumentPluginBase::$operator of type string

    Line 63, 99 :

  • 5 months 1 week ago
    Drupal + Basic_Auth Problem : You do not have permission to access this page (Sie haben keine Zugriffsberechtigung für diese Seite. )

    My problem was:

  • 5 months 1 week ago
    Drupal Upgrade (Drupal 9 » Drupal 10)

    I had this exact issue and your site was the only place I found the fix.

    It'd be nice if the module developer applied your fix though.

    Good work! Much appreciated!

  • 6 months 2 weeks ago
    The datasource with ID 'elstut--entity:node' could not be retrieved for index (Drupal, Solr)

    Hier ist die Lösung. (/admin/config/search/search-api/server/solr_server/edit)

    Multisite-Kompatibilität
     + Nur Ergebnisse von dieser Seite beziehen
     

  • 6 months 2 weeks ago
    PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock

     

    Ich bekomme diese Fehlermeldung: