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.

Installation & Hosting

Grav at the root directory

Started by Arifur Rahman 7 years ago · 2 replies · 1093 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 antoinep, 19 hours ago
7 72 1 hour ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 65 7 months ago
Installation & Hosting · by rappluk, 8 months ago
0 65 8 months ago
Installation & Hosting · by N, 12 months ago
3 76 12 months ago
Installation & Hosting · by Youle, 1 year ago
1 64 1 year ago