View Issue Details

IDProjectCategoryView StatusLast Update
0025237mantisbtintegrationpublic2019-01-30 20:44
Reportertruefriend-cz Assigned To 
PrioritylowSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version2.19.0 
Target VersionFixed in Version 
Summary0025237: Rewrite URL and server path from htaccess
Description

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

.htaccess:

# 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.

Activities

truefriend-cz

truefriend-cz

2019-01-22 00:05

reporter   ~0061268

Please pair with this: https://www.mantisbt.org/bugs/view.php?id=25364

truefriend-cz

truefriend-cz

2019-01-30 20:29

reporter   ~0061339

Last edited: 2019-01-30 20:37

View 5 revisions

Next info...
Details is at forum - https://www.mantisbt.org/forums/viewtopic.php?f=3&t=26107
(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)

Issue History

Date Modified Username Field Change
2019-01-16 13:48 truefriend-cz New Issue
2019-01-22 00:05 truefriend-cz Note Added: 0061268
2019-01-30 20:29 truefriend-cz File Added: Untitled-1.png
2019-01-30 20:29 truefriend-cz File Added: Untitled-2.png
2019-01-30 20:29 truefriend-cz File Added: Untitled-3.png
2019-01-30 20:29 truefriend-cz File Added: Untitled-4.png
2019-01-30 20:29 truefriend-cz Note Added: 0061339
2019-01-30 20:31 truefriend-cz Note Edited: 0061339 View Revisions
2019-01-30 20:34 truefriend-cz Note Edited: 0061339 View Revisions
2019-01-30 20:37 truefriend-cz Note Edited: 0061339 View Revisions
2019-01-30 20:37 truefriend-cz Note Edited: 0061339 View Revisions