Error by uploading files on server

Hello,

i try to upload the default kirbycms-master version to a server ( domainfactory) but it does not seem to work. checked if i did sth. wrong by uploading it to other servers and there it works perfectly. I have no clue, what’s wrong there.

PS: if i upload an index.html to the domainfactory-server, it works perfectly as well.

The Error message:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Could have several reasons, maybe

  • mod_rewrite not supported?
  • Wrong php version?

And what does the error log say? :smile:

First idea: Did you install into a subdirectory without adapting the RewriteBase in the .htaccess file?

Two things:

  • It seems like you installed Kirby 1 from bastianallgeier/kirbycms. There is Kirby 2 now: getkirby/starterkit
  • Try uncommenting the RewriteBase /mysite line in .htaccess and setting it to RewriteBase / if you are installing to the root of your domain. Some server configurations need that definition.
2 Likes

Not the original poster, but this fixed the same issue I was having. Thanks @lukasbestle !