Home › Forums › WordPress Plugins › Hide My WP › IIS web.config (not well-formed XML error)
- This topic has 12 replies, 4 voices, and was last updated 9 years, 2 months ago by salderman.
-
AuthorPosts
-
August 14, 2015 at 2:12 pm #4109saldermanPost count: 4
Okay let’s get first lot of support questions out of the way
Windows 2012 R2 (VPS)
PHP 5.4
Wordpress 4.2.4
Read FAQ / Read Instructions for IIS
Tried both Medium recommended profiles
Removed and reactivated HMWP (just in case)
recycled app pools after each change
flushed cacheNow:
IIS rejects quite a number of rules the plugin creates
1 – Plugin generates duplicate rule “names” like HWMP Plugin146
Confirmed – after troubleshooting proved IIS was correct by changing the name on one of the duplicates to HWMP Plugin146a – error goes away, but this happened for 8 rules (4 duplicates)
2 – missing [ or ] on:
rule name=”HMWP Dir_List12″ stopProcessing=”true”>
<match url=”^(((wp-content|wp-includes)/([A-Za-z0-9\-\_\/]*))|(wp-admin/(!network\/?)([A-Za-z0-9\-\_\/]+)))(\.txt|/)$” /
<action type=”Rewrite” url=”index.php?page_num=999999999″ appendQueryString=”true” />
</rule>
Troubleshooting there are matching [] in the match, IIS must be looking for additional items to be bracketed (did not attempt a fix) confirmed the error from the IIS GUI Rule Test
3 – Rule contains a form that IIS does not accept
<rule name=”HMWP Style138″ stopProcessing=”true”>
<match url=”^template/main\.css” />
<action type=”Rewrite” url=”/index.php?style_wrapper=1&XCGZF_hide_my_wp=1234″ appendQueryString=”true” />
</rule>
Confirmed – the string =”/index.php?style_wrapper=1&XCGZF_hide_my_wp=1234″ contains “&” symbol. If I remove it the error goes away, I assume this will break the login page.I look forward working through this with you.
Stephen
August 15, 2015 at 7:45 am #4115Suman M.Post count: 12478Hi, can you please post here (as private reply) the entire rules generated by HMWP?
August 15, 2015 at 11:00 am #4117saldermanPost count: 4This reply has been marked as private.August 16, 2015 at 4:31 am #4124Suman M.Post count: 12478Hi, I’ve assigned the ticket to Sr. Support to have further look into it. He shall get back to you soon.
August 16, 2015 at 9:21 am #4128Suman M.Post count: 12478Checked with Sr. support and it seems like there’s some issue with IIS config rules. We’ll be fixing this in the upcoming versions of the plugin.
- This reply was modified 9 years, 5 months ago by Suman M..
August 16, 2015 at 10:10 am #4130saldermanPost count: 4Is there a timeframe on next version as I cannot use the plugin?
August 16, 2015 at 4:33 pm #4131Suman M.Post count: 12478Sorry for the inconvenience, but as of now we cannot commit on the exact timeframe.
August 19, 2015 at 6:46 am #4177HassanPost count: 955Sorry for the inconvenience,
We have started working on this issue and it will be fixed in next version.
Until then try disabling: full hide mode and disable directory listing.
Hope this help.
August 28, 2015 at 10:45 am #4318saldermanPost count: 4Any update on fixing this for IIS , plugin is not usable on IIS no matter what you turn off. Plugin generates illegal characters. I understand you need time to resolve this, but I don’t think it is unreasonable to be given a timeframe considering IIS is supposed to be supported and clearly it isn’t, since it cannot generate a valid config that can be loaded.
September 4, 2015 at 1:07 pm #4452HassanPost count: 955You’re right!
We release a fixed version in following week!
September 11, 2015 at 8:27 pm #4571HassanPost count: 955Finally, here it is.
Please let me know if it solve the problem.
Attachments:
You must be logged in to view attached files.September 24, 2015 at 4:21 pm #4755ckpar3Post count: 5Both sets of errors are still there. Tried the latest download from codecanyon and the beta file posted above.
1 – error: The requested page cannot be accessed because the related configuration data for the page is invalid.
<action type=”Rewrite” url=”/index.php?style_wrapper=1&yFpB_hide_my_wp=1234″ appendQueryString=”true” />
2 – error: contains an unmatched ‘[‘ or ‘]’.
The expression “^(((website/wp-content|website/wp-includes)/([A-Za-z0-9\-\_\/]*))|(wp-admin/(!network\/?)([A-Za-z0-9\-\_\/]+)))(\.txt|/)$”
so far, plugin unusable on IIS
November 3, 2015 at 12:59 pm #5564saldermanPost count: 4Come on, it is now November we are going on three months that your plugin has not been in a working state for IIS. This is very poor considering this is advertised as a plugin compatible with IIS and it simply isn’t working at all nd you don’t seem to have any intention of fixing it.
-
AuthorPosts
You must be logged in to reply to this topic.