Admin doesn't work on apache windows

Hi

Installed

apache 2.4
Php
PHP8 module
PHPIniDir “C:/php”
LoadModule php_module “C:/php/php8apache2_4.dll”
AddType application/x-httpd-php .php
tested installation php.info does work

installed grav-admin

vopied .htaccess to root
Configured modules

      documentRoot "${SRVROOT}/htdocs"
      <Directory "${SRVROOT}/htdocs">
          #
          # Possible values for the Options directive are "None", "All",
          # or any combination of:
          #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
          #
          # Note that "MultiViews" must be named *explicitly* --- "Options All"
          # doesn't give it to you.
          #
          # The Options directive is both complicated and important.  Please see
          # http://httpd.apache.org/docs/2.4/mod/core.html#options
          # for more information.
          #
          Options Indexes FollowSymLinks
      
          #
          # AllowOverride controls what directives may be placed in .htaccess files.
          # It can be "All", "None", or any combination of the keywords:
          #   AllowOverride FileInfo AuthConfig Limit
          #
          AllowOverride All
      
          #
          # Controls who can get stuff from this server.
          #
          #Allow from all
      </Directory>

browsing to localhost/grav-admin doesn’t work → sais localhost/admin doesn’t exist

tried a lot …
cannot get it to work, help appreciated
Alain

tried

Where did you copy the .htaccess from? Grav already has a ready-to-use one

I copied the grac .htaccess to the website root
No chabnges were made

In fact you need there are two options in http.conf where you need to set the (same) port
That caused the root to work but not the subsites since it redirected to the wrong port
issue closed

If your root is /localhost and you uploaded Grav to /localhost/grav-admin, you shouldn’t need to change anything in your root, unless there’s something special :thinking:

I’ve used xampp in Windows, with no problems with Grav. I don’t have to change anything.
Revise the PHP modules necessary and other troubles