pagekit in subdirectory

  • Hi,

    Im trying to setup a pagekit website on uberspace. The pagekit-site is in a subdirectory on a domain ( When I try to start the admin-panel with I get an error 404. I need to use index.php/admin. In this case all href in the main navigation have an index.php entry.


    Some Modules don't work with the index.php in the url.

    How can I modify my .htaccess to get pagekit working in a subdirectory?

    (edit: partialy solved see my __edit section)

    Apache Version: Apache/2.2.15 (CentOS)

    PHP Version: 7.1.12 @ fast-cgi


    while typing i found a part of the solution

    the htaccess of pagekit needs it's own RewriteBase

    1. # Set base if your site is running in a VirtualDocumentRoot
    2. RewriteBase /pagekit # for my case

    now I can use and get a correct redirect to the admin-panel


    the navigation allready has `index.php/blog` in it´s href. How to solve this