Code: Select all
# subdomain to directory
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} ^(\w+)\. [NC]
RewriteCond %{REQUEST_URI}:%1 !^/([^/]+)/([^:]*):\1
RewriteRule ^(.*)$ /%1/$1 [QSA]
Standart web location http://domain.tld/bugtracking/*.php
.htaccess converted to http://bugtracking.domain.tld/*.php
Problem is Mantis no accepted http://bugtracking.domain.tld/*.php formating but show links as http://bugtracking.domain.tld/bugtracking/*.php
Where in MantisBT function for determinating formating URL? Or how i can fix this issue?
I want URL format: http://bugtracking.domain.tld/*.php
Thanks