Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Admin doesn't work on apache windows

Started by athire 2 years ago · 5 replies · 73 views
2 years ago

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

TXT
      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

2 years ago

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

2 years ago

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

2 years ago

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

2 years ago

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 🤔

2 years ago

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

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 64 17 hours ago
Support · by Anna, 3 days ago
2 68 20 hours ago
Support · by Justin Young, 21 hours ago
1 35 21 hours ago
Support · by Duc , 1 week ago
2 71 6 days ago
Support · by Colin Hume, 1 week ago
2 63 6 days ago