I have a 404 error when attempting to use the admin pages. I am using Caddy web server(https://caddyserver.com/docs) and the site itself showed up just fine until I installed the admin panel. I added a rewrite directive, but still no go. Please help!
Archive
Where do you guys find these webservers :) Never heard of that one.
Basically the rewrite Grav needs is the same as WordPress or Joomla. So if you can find a rewrite configuration for that, it should work fine for Grav also.
ok installed it and got it working with this config:
TXT
localhost:8080
gzip
fastcgi / 127.0.0.1:9000 {
ext .php
split .php
index index.php
}
rewrite {
regexp .*
ext /
to /index.php?_url={uri}
}
Of course you have to have php-fpm installed and running on port 9000 to work.
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1351 | 9 years ago | ||
| 2 | 935 | 9 years ago | ||
| 2 | 4063 | 9 years ago | ||
| 1 | 2948 | 9 years ago | ||
| 3 | 1119 | 9 years ago |