Nothing works, files moved one folder upwards

Dear Ladys or Gentleman,

now i moved the files from /plainkit to my document root and nothing works. I adjust my settings in env.php and the first page looks normal but links and images are broken. Did you have an advise how i could solve my problem?

Best regards
Chris

Did you forget to transfer the .htaccess? Maybe your hoster needs the RewriteBase set to /. Have a look at the comments in the file.

That’s my configuration on the Webserver.

<VirtualHost *:80>
        ServerAdmin me@xyz.de
        DocumentRoot /var/www/html/

        <Directory /var/www/html/>
                Options FollowSymlinks
                AllowOverride All
                Require all granted
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        <Directory /var/www/html/>
                RewriteEngine on
                RewriteBase /
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteCond %{REQUEST_FILENAME} !-d
                RewriteRule ^panel/(.*) panel/index.php [L]
        </Directory>
</VirtualHost>

This could literally be anything and I’m not particularly knowledgable when it comes to server configuration.

On first glance your configuration seems to miss many of rewrite rules I can see in the default .htaccess.

This webserver is behind a reverse proxy. I wonder why kirby needs the plainkit folder. If i move it there everything works.

Nope, there was a caching problem with my Browser too. Now the links are correct but kirby doesn’t find the content.

I solved it by myself. I just replace a new plainkit and upload my manually added files to it. It seems that i had destroyed something before. Now it works in document root too.