getkirby-v2 / starterkit

This is the deprecated starterkit for Kirby v2.
http://getkirby.com
Other
301 stars 94 forks source link

HTTP 404 for all pages other than index #73

Closed chrismayer closed 7 years ago

chrismayer commented 7 years ago

I just deployed the Kirby starterkit to an Apache HTTP Server 2.2 with PHP 5.6. The index pages is displayed without any problems but all other pages (e.g. "projects" or "blog") result in a HTTP 404.

I tried this with v2.4.1 and the current master. Both show the result described above.

texnixe commented 7 years ago

Have you deployed the .htaccess file? Is mod_rewrite enabled? Is the .htaccess file read by the server? If yes to all above, you might have to set the rewrite base in .htaccess.

chrismayer commented 7 years ago

Thank you very much for your help @texnixe! I will try the steps described by you and report feedback here.

bastianallgeier commented 7 years ago

I will close this as it's not a Kirby bug but a problem on the server.

chrismayer commented 7 years ago

I will close this as it's not a Kirby bug but a problem on the server.

@bastianallgeier: Agree. Where is the correct place to ask those questions?

Just for the record: Solution was the wrong rewrite base in the .htaccess file on my server:

    RewriteBase /kirby/

instead of

    RewriteBase /

Thanks @texnixe for your useful hints!

texnixe commented 7 years ago

The right place to ask these question is the Kirby forum: https://forum.getkirby.com