sashtown / baseblog

—// This is a Kirby 2 project which is no longer maintained!
http://baseblog.sashtown.de/
Other
53 stars 15 forks source link

Internal 500 Error on "page:2" and tag URLs #12

Closed sqdge closed 8 years ago

sqdge commented 9 years ago

I have set up baseblog on a subfolder at http://localhost/bg. My .htaccess file has: RewriteEngine on RewriteBase /bg

Additionally, the config.php file is set to: c::set('url', 'http://localhost/bg'); c::set('subfolder', 'bg');

Most of the rewriting works fine. The main blog page comes up and I can click on and access any of the posts and pages. However, if I click on the "older posts" button I get an internal server error. It is directing me to the url http://localhost/bg/page:2. Similarly, clicking on a tag in the post produces the same error. The URL for those is http://localhost/bg/tag:nature

The Appache Error log says:

AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://localhost/bg/

Any ideas?

sashtown commented 9 years ago

Did you try it without adjusting the RewriteBase and config? Since version 2 Kirby is able to detect subfolder installations automatically. Never had problems with that so far. The Baseblog demo also runs in a subfolder without any additional tweaks.

labo-css commented 9 years ago

Same problem here, i work with wamp.

sashtown commented 9 years ago

Ok, I see. There (still) seems to be an issue with : characters within URLs on Apache servers on Windows. That’s why I wasn't able to retrace that error, because I work on a Mac. Had a quick chat with Bastian a few days ago. It should be fixed in the frontend with the latest Kirby version, so please make sure to get 2.1.1. If you face problems again, please open an issue in the Kirby repo.

labo-css commented 9 years ago

I did get the 2.1.1 you mean : "get the next version, it should be done for the next patch of kirby"? (sorry i don't want to be sarcastic or anything, i'm french and i just want to be sure to understand, thanx)

sashtown commented 9 years ago

Yeah, no problem. If you still run into trouble, please open an issue here and provide as much information about your setup as possible. Thanks!