sashtown / baseblog

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

New install shows Forbidden for Category Search #8

Closed username1290 closed 10 years ago

username1290 commented 10 years ago

Hi, installed on a local server and everything works great except clicking on a Category. Error shows:

Forbidden You don't have permission to access /kirbybaseblog/category:Tools on this server.

btw, troubleshoot set to true also says that default.php template was not found, but I think that's on purpose, right?

thx.

EDIT: Tried adding +Indexes to htaccess but no luck

username1290 commented 10 years ago

error.log:

[Fri Jan 31 09:58:08.175188 2014] [core:error] pid 8528:tid 940The given path is misformatted or contained invalid characters: [client ::1:51263] AH00127: Cannot map GET /kirbybaseblog/category:Tools HTTP/1.1 to file, referer: http://localhost:8090/kirbybaseblog/

access.log:

::1 - - [31/Jan/2014:09:54:43 -0700] "GET /kirbybaseblog/category:Stuff HTTP/1.1" 403 230 ::1 - - [31/Jan/2014:09:55:10 -0700] "GET /kirbybaseblog/ HTTP/1.1" 200 7416 ::1 - - [31/Jan/2014:09:55:11 -0700] "GET /kirbybaseblog/assets/styles/styles.css HTTP/1.1" 200 7180 ::1 - - [31/Jan/2014:09:55:11 -0700] "GET /kirbybaseblog/assets/images/favicon.png HTTP/1.1" 404 2876 ::1 - - [31/Jan/2014:09:55:12 -0700] "GET /kirbybaseblog/ HTTP/1.1" 200 7416 ::1 - - [31/Jan/2014:09:55:16 -0700] "GET /kirbybaseblog/category:Tools HTTP/1.1" 403 230 ::1 - - [31/Jan/2014:09:55:16 -0700] "GET /favicon.ico HTTP/1.1" 404 209 ::1 - - [31/Jan/2014:09:58:08 -0700] "GET /kirbybaseblog/category:Tools HTTP/1.1" 403 230

sashtown commented 10 years ago

Sorry for the late reply...

Uhm, sounds weird! Couldn't retrace your error here. Regarding the default.php template I'd say it's correct to be missed because Baseblog doesn't have one (at least by default).

Maybe you should make sure to adjust your .htaccess in terms of the RewriteBase if you use subfolders on your local machine. Something like:

RewriteBase /kirbybaseblog

could be helpful.

frenchesco commented 9 years ago

I realize this issue is closed, however, it still seems to be happening. I did some reading and I think it might have something to do with having a colon : character in the URL when running on Windows. This is likely because Windows does not allow colon characters in a file name. For me it was happening when running a local WAMP server.

sashtown commented 9 years ago

@frenchesco Yes, you're right. Please also check: https://github.com/sashtown/baseblog/issues/12.

frenchesco commented 9 years ago

@sashtown Thanks for the update. Glad it's getting fixed. I've since switched to testing locally on my Mac with MAMP and will eventually deploy to a Ubuntu server so should all be ok.