samedi 23 mai 2020

Laravel wildcard domain redirection shows Internal Server Error

  1. DONE with DNS setting (SubDomain * ) Zone editor type A with proper IP

  2. Execute below commands php artisan config:cache php artisan cache:clear php artisan view:clear php artisan route:clear

  3. My .htaccess file contain below code

    Options -MultiViews -Indexes

    RewriteEngine On

    RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [L,R=301]

    RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L]

    RewriteCond %{HTTP_HOST} ^teamconsulting.com.au\$1\$2 RewriteRule ^(.*)$ $1.teamconsulting.com.au\ [R=301,L]

Here main URL working properly but subdomain URL not working Show error as per belowenter image description here

How to solve this issue?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2A6sHY0
via IFTTT

Aucun commentaire:

Enregistrer un commentaire