Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Regex-Based aliases

Started by Samuele Masetto 8 years ago · 2 replies · 811 views
8 years ago

Hello,
I tried to add in my site.yaml this route (from documentation:

TXT
routes:
   /another/(.*): '/blog/$1'

If I go to http://mysite.com/another/focus-and-blur I wait until a message "Bad gateway". I tried with various regex but the result is the same.
Why?

Thanks

8 years ago

I am also seeing this, so I'm pretty sure we are following the docs correctly.

I just logged an issue as I need this too and there may be a recently introduced bug.

8 years ago

Are you running PHP5 and/or Nginx @samuele?

Suggested topics

Topic Participants Replies Views Activity
Support · by complanar, 6 days ago
6 139 15 hours ago
Support · by Rick Beebe, 6 days ago
2 100 2 days ago
Support · by blu3prince, 3 days ago
0 51 3 days ago
Support · by alex, 4 days ago
2 92 3 days ago
Support · by Marcel, 2 weeks ago
1 143 4 days ago