View Issue Details

IDProjectCategoryView StatusLast Update
0025237mantisbtintegrationpublic2022-05-13 09:33
Reportertruefriend-cz Assigned Todregad  
PrioritylowSeverityminorReproducibilityhave not tried
Status resolvedResolutionno change required 
Product Version2.19.0 
Summary0025237: Rewrite URL and server path from htaccess

I have problem with compatibility Mantis and .htaccess file for rewriting subdomain to directory

Steps To Reproduce

If have .htaccess in the root file for rewrite URL subdomain to directory:
My domain is http://bugs.domain.tld
and system path for Mantis is /etc/apache2/www/root/bugs


# subdomain to directory
RewriteCond %{HTTP_HOST} !^www\.domain\.tld$
RewriteCond %{HTTP_HOST} ^(\w+)\.domain\.tld$
RewriteCond %{REQUEST_URI}:%1 !^/([^/]+)/([^:]*):\1
RewriteRule ^(.*)$ /%1/$1 [QSA]

then on the webpage Mantis systemhave URLs for click ("a href" in html code) in format http://bugs.domain.tld/bugs/bug_report_page.php

i wanted domain in format http://bugs.domain.tld/bug_report_page.php

Additional Information

I am a little english

TagsNo tags attached.
Attached Files




2019-01-22 00:05

reporter   ~0061268

Please pair with this:



2019-01-30 20:29

reporter   ~0061339

Last edited: 2019-01-30 20:37

Next info...
Details is at forum -
(edit: i dont know why show link to forum after click show as "The requested topic does not exist.". Topic on forum is normally existed.
It is in "Board index -> MantisBT -> English -> Help -> URL format" from Jan 27, 2019 10:18 am.
Maybe have Mantis script problem with external URL links too.)

Untitled-1.png (39,893 bytes)   
Untitled-1.png (39,893 bytes)   
Untitled-2.png (40,760 bytes)   
Untitled-2.png (40,760 bytes)   
Untitled-3.png (30,778 bytes)   
Untitled-3.png (30,778 bytes)   
Untitled-4.png (17,484 bytes)   
Untitled-4.png (17,484 bytes)   


2019-09-06 03:27

developer   ~0062739


This is not a bug or feature request for MantisBT (you are asking for help on how to configure the system). I am therefore resolving this issue as "no change required".

Please use the forums to get support on customizing and using MantisBT (refer to for links and further details).



2019-09-06 10:14

reporter   ~0062745

Well, you could have sent me to hell better. So I'm waiting 9 months for a solution to send me to fuck.
I used that place. And they sent me back here. If I knew you'd react like this, I wouldn't report it. I can't solve the problem myself. So thank you very much. Have a nice day.



2019-09-16 19:42

reporter   ~0062829

Link removed



2019-09-16 19:43

reporter   ~0062830

Why link after add this place removed from Forum??? Before is link ok.



2019-09-16 19:48

reporter   ~0062831

Last edited: 2019-09-16 19:49

Ok, link is moved. New link is:
And the answers to this post were deleted by someone.

WHY???!!! The author of the post did not remove it.



2019-09-16 20:15

reporter   ~0062832

Sorry. URL format has been changed in your script.
And I have two similar questions on your forum.