Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

HTTP Error 500.52 - URL Rewrite Module Error

admin first-time

Started by Nemanja Stabic 5 years ago · 5 replies · 2875 views
5 years ago

Hi,

I am trying to get the grav-admin plugin to work, I'm at the point where I imported the .htaccess file into IIS URL Rewrite successfully. The rules are parsed with no errors, and they are created in IIS:
image|690x136

When I browse to the grav-admin site I am presented with the following error:
HTTP Error 500.52 - URL Rewrite Module Error. The expression "({{|}}|{%|%})" contains a repeat expression (one of '*', '?', '+', '{' in most contexts) that is not preceded by an expression.

It looks like it is something to do with the rules, but I can't make heads or tails of it.
Please help.
Thank you!

5 years ago

That's the exact issue I had while trying to run Grav on Xampp and then on some native Windows software. Spent a day without any luck solving it. Then I just got Laragon (as I already suggested) and there were no issues ;) Doesn't look like I'm going back to Xampp or that Windows solution any time soon

👍 1
5 years ago

Ever considered going for Linux on your desktop: Windows Subsystem for Linux?

Choose your favourite Linux distro, (almost) seamless integration between Windows 10 and Linux, all powertools from Linux...

5 years ago

Thanks, I'm going to need to get Laragon and try all this again sometime.
I am quite despondent with Grav at the moment - I'll hopefully pick it up again in the near future.

5 years ago

Hi, I don't have any experience with Linux unfortunately. I was just trying to play around with Grav to see if it would work for my use case before making any decisions to move to a new OS or web server etc.

5 years ago

I found that if you removed the two sub-rules, it will work. I've been searching online and couldn't find a direct solution for IIS. So, I actually stopped being lazy and read the error and figured it out.

IIS-Screenshot 2021-04-04 021444|690x134

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 43 1 week ago
Plugins · by Xavier, 4 weeks ago
2 53 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1179 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 48 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 72 2 months ago