Hi,
I installed TI to subdom folder - installation is OK, but then I got ERROR 500.
If I delete .htaccess, then I see “Getting Started” page, but nothing else works.
Links goes to: subdom.domain.tld/subdom/tifolder/admin/themes but there is 404.
If I set correct folder to admin/themes I am stil getting 404.
Folder structure:
/www
-domains
------domain.tld
-subdom
-----tifolder
.htaccess in www:
RewriteEngine On
# domains/aliases
RewriteCond %{REQUEST_URI} !^domains/
RewriteCond %{REQUEST_URI} !^/domains/
RewriteCond %{HTTP_HOST} ^(www\.)?(.*)$
RewriteCond %{DOCUMENT_ROOT}/domains/%2 -d
RewriteRule (.*) domains/%2/$1 [DPI]
# subdomains
RewriteCond %{REQUEST_URI} !^subdom/
RewriteCond %{REQUEST_URI} !^/subdom/
RewriteCond %{HTTP_HOST} ^(www\.)?(.*)\.([^\.]*)\.([^\.]*)$
RewriteCond %{DOCUMENT_ROOT}/subdom/%2 -d
RewriteRule (.*) subdom/%2/$1 [DPI]
# aliases redirect
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^domains/[^/]+/(.+[^/])$ /$1/ [R]
# subdomains redirect
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^subdom/[^/]+/(.+[^/])$ /$1/ [R]
# https
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
I am unable to find the problem in the “main” .htaccess and “ti” default .htaccess
URL uses HTTPS with LetsEncrypt certificate.
Thanks for any tips and help. 🙂