Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST API: Add web.config (url rewrite) for IIS #1443

Merged
merged 1 commit into from Jan 21, 2019

Conversation

Projects
None yet
4 participants
@obmsch
Copy link
Contributor

commented Jan 10, 2019

To enable access to MantisBT through REST API under IIS, add an
.htaccess equivalent web.config for the url rewrite rule.
Otherwise 404 is returned on every request.
Generated with IIS-URL-Rewrite.Import(api/rest/.htaccess).

Fixes #24347

To enable access to MantisBT through REST API under IIS, add an
.htaccess equivalent web.config for the url rewrite rule.
Otherwise 404 is returned on every request.
Generated with IIS-URL-Rewrite.Import(api/rest/.htaccess).

Fixes #24347
@dregad

dregad approved these changes Jan 20, 2019

Copy link
Member

left a comment

I don't use IIS myself so I can't test this, but I think it's fair to add IIS config file since we already provide one for Apache, and I don't see anything wrong with the proposed one.

@atrol

This comment has been minimized.

Copy link
Member

commented Jan 20, 2019

@obmsch I assume you are using this on your own production environment.
If so, I am also fine with the change.

@obmsch

This comment has been minimized.

Copy link
Contributor Author

commented Jan 20, 2019

@atrol Although access trough the REST API is still experimental on my side, yes I use my
production environment (IIS 10). I simply copy that file to api/rest, after I update to a new
release of MantisBT (currently 2.19).

@vboctor vboctor merged commit c7ca400 into mantisbt:master Jan 21, 2019

1 check failed

continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details

@obmsch obmsch deleted the obmsch:issue-24347 branch Jan 21, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.