Conversation
Notices
-
hypolite (hypolite@friendica.mrpetovan.com)'s status on Saturday, 26-Nov-2022 15:26:22 CET hypolite
@heluecht Let me look into it. -
Michael Vogel (heluecht@pirati.ca)'s status on Saturday, 26-Nov-2022 15:26:21 CET Michael Vogel
@hypolite I now realized that the problem isn't caused by the router. It's at the beginning where the pagename variable is set. I hope that you can solve this. -
hypolite (hypolite@friendica.mrpetovan.com)'s status on Saturday, 26-Nov-2022 15:46:46 CET hypolite
@heluecht It looks like we need to add the B flag to the RewriteRule statment in the .htaccess file.
Not sure about nginx though. -
Michael Vogel (heluecht@pirati.ca)'s status on Saturday, 26-Nov-2022 15:46:46 CET Michael Vogel
@hypolite Can you provide a PR? I'm not sure where to add this B here:
RewriteRule ^(.*)$ index.php?pagename=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA] -
hypolite (hypolite@friendica.mrpetovan.com)'s status on Saturday, 26-Nov-2022 16:28:09 CET hypolite
@heluecht Here you go:
RewriteRule ^(.*)$ index.php?pagename=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA,B]Michael Vogel likes this. -
Michael Vogel (heluecht@pirati.ca)'s status on Saturday, 26-Nov-2022 16:28:10 CET Michael Vogel
@hypolite Works!
-