Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Grav at the root directory

Started by Arifur Rahman 7 years ago · 2 replies · 1417 views
7 years ago

Whenever I'm trying to install Grav at any of the website root like http://example.com/, it's not starting up, it fails to redirect to Admin or Content pages. But if I just move the same installation in a sub-folder location like http://example.com/web/, or domainname/anyname/ it works perfectly. What do I need to do to solve the problem?

7 years ago

Hi, thanks for your question.

Could you tell us what "not starting up" means? What are you seeing in your browser exactly?

It's probably your web server configuration. Could you post here the relevant snippets or details of your webserver?

Cheers

7 years ago

When ever the Grav files and folders are placed at the web root, and I want to access it from my browser, the browser gets forwarded to website/en if I'm using any of the skeletons, or website/admin if I'm using the Grav Core + Admin Plugin. Then it shoes a 404 Not Found,

Not Found
The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

But if it's placed in any of the sub folder, all your Skeleton, or Core+Admin Plugin works perfectly.

It's Linux host, with PHP 7.3.

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by DrPen, 6 days ago
4 117 4 days ago
Installation & Hosting · by vollstock, 3 weeks ago
3 221 3 weeks ago
Installation & Hosting · by David, 7 years ago
3 3508 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
3 345 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
0 269 1 month ago