Closed Bug 580471 Opened 15 years ago Closed 9 years ago

Ship with a default web.config for IIS installs

Categories

(Bugzilla :: Installation & Upgrading, enhancement)

x86
Windows 7
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 6.0

People

(Reporter: glob, Assigned: LpSolit)

References

()

Details

Attachments

(1 file, 2 obsolete files)

Attached file sample web.config (obsolete) —
iis has a file similar to apache's .htaccess which controls the site's configuration. we should ship with one :)
Severity: normal → enhancement
Attached file web.config (obsolete) —
A web.config file is required to correctly protect params.json + other source files, else these files may be world-readable. I will update http://bugzilla.readthedocs.org/en/latest/installing/iis.html in a separate bug to mention security.
Assignee: installation → LpSolit
Attachment #458863 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #8735180 - Flags: review?(gerv)
Attached file web.config, v1
Removing tabs.
Attachment #8735180 - Attachment is obsolete: true
Attachment #8735180 - Flags: review?(gerv)
Attachment #8735183 - Flags: review?(gerv)
Summary: ship with a default web.config for iis installs → Ship with a default web.config for IIS installs
Target Milestone: --- → Bugzilla 6.0
Comment on attachment 8735183 [details] web.config, v1 I'm not the right person to review this; I haven't used Windows in a decade. Is there anyone else on the dev team who uses Windows? Gerv
Attachment #8735183 - Flags: review?(gerv)
Comment on attachment 8735183 [details] web.config, v1 Maybe dylan or dkl?
Attachment #8735183 - Flags: review?(dylan)
Attachment #8735183 - Flags: review?(dkl)
Attachment #8735183 - Flags: review?(dkl) → review?(wicked)
Comment on attachment 8735183 [details] web.config, v1 web.config fails currently because the url rewriting rules changed in the most recent versions of IIS. It doesn't give a very good error, but removing the rewrite section causes it to work... so it's partly right. Seems to be related to this: http://stackoverflow.com/questions/32204515/web-config-that-worked-under-iis-7-5-doesnt-work-under-iis-10
Attachment #8735183 - Flags: review?(wicked)
Attachment #8735183 - Flags: review?(dylan)
Attachment #8735183 - Flags: review-
(In reply to Dylan Hardison [:dylan] from comment #5) > web.config fails currently because the url rewriting rules changed in the > most recent versions of IIS. Did you install URL Rewrite 2.0 as specified here? http://bugzilla.readthedocs.io/en/latest/installing/iis.html#enable-rewrite-rules-for-rest
Comment on attachment 8735183 [details] web.config, v1 iis needs to be restarted for url rewriting to work. this can be corrected in docs.
Attachment #8735183 - Flags: review- → review+
To github.com:bugzilla/bugzilla.git 457bf33..22ef8ff master -> master
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: