Hey there.. i need to get into an old backup of an old website.. its kirby 2.5.12.
i tried to start the page localy with php internal server php -S and everything works.. also navigating to subpages and panel works.. except displaying svgz-files due to not correct headers..
But i need to show those svgz files.. in 2017 i was coding something to display information ontop of images.. and the reason for getting this old kirby, is this part, that i want to reproduce for my current latest kirby 4
so i installed apache2 ontop of this php-install.. but i am only able to render the startpage.. if i want to navigate on the site or want to go to panel, i get 404 error on everything
going to /panel redirects to /panel/login with 404
i tried debugging via c::set('debug', true);, but still 404 on apache (on php-server, debugging works).. i checked file permissions.. php-info says, that mod_rewrite and mbstring are active.
→ Apache/2.4.63 (Unix) PHP/8.4.7
i am a little confused about the difference between php-server and apache.. for sure i missed some config.. but i don’t know which one.. also i was not able to find old installation-guide for this old version of kirby..
Apache is a full-fledged web-server, while the “php-server” is a tool built that is built into PHP to facilitäte development without having to install Apache, Nginx etc. on your machine.
As regards the svgz files, you probably need to add these lines to your .htaccess:
As regards subpages not working on Apache, then rewriting is not working as expected, probably due to .htaccess being ignored.
ON a side note, old Kirby 2.5.x is not compatible with PHP 8. Documentation for old versions of Kirby can be found in the archive: Versions | Kirby CMS