[wp-trac] [WordPress Trac] #10386: The rewrite rules generated for IIS URL Rewrite Module causes user confusion
WordPress Trac
wp-trac at lists.automattic.com
Sat Jul 11 23:40:01 UTC 2009
#10386: The rewrite rules generated for IIS URL Rewrite Module causes user
confusion
-------------------------+--------------------------------------------------
Reporter: ruslany | Owner: westi
Type: enhancement | Status: new
Priority: normal | Milestone: 2.9
Component: General | Version: 2.8.1
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
This is related to #8974. If the IIS web.config file does not exist, the
rewrite rules XML that is given at the "Permalinks Settings" page contains
only the rewrite rule, but not all the parent XML configuration tags
required by IIS. Very often users just take this XML and paste it into an
empty web.config file and this causes the IIS configuration runtime error
(HTTP 500 returned).
The logic should be to check if the web.config file does not exist and if
the root directory is not writable then provide the complete web.config
file content, which users can just copy and paste into the empty
web.config file. See attached screenshot for how it is supposed to look
like.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10386>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list