Problem with .htaccess and httpd.conf


I am trying to host Grav on my server but I have a problem with the rewrite.

When you enter the home you see correctly, but when you enter any section, you will get the following message:

Not Found
The requested URL / taxonomy was not found on this server.

The .htaccess file modify the following line:

Begin RewriteBase

If you are getting 500 or 404 errors on subpages, you may have to uncomment the RewriteBase entry

You should change the ‘/’ to your appropriate subfolder. For example if you have

your Grav install at the root of your site ‘/’ should work, else it might be something

along the lines of: RewriteBase / <your_sub_folder>

RewriteBase / app / www / html / grav

The httpd.conf file has the following:

Each directory to which Apache has access can be configured with respect

to which services and features are allowed and / or disabled in that

directory (and its subdirectories).

First, we set the “default” to be a very restrictive set of


Options FollowSymLinks AllowOverride All

Then the virtual host:

<VirtualHost *: 80>
<Directory / app / www / html / grav>
Options FollowSymLinks
Options SymLinksIfOwnerMatch
AllowOverride All
</ Directory>
DocumentRoot / app / www / html / grav
ServerAlias ​​grav
</ VirtualHost>

Could you help me find where I am making the mistake?

I read the documentation but I can not solve it.

I await your comments.

Thank you!

What does your current htaccess/virtualhost entry contain for the Grav install? Can you post it in a code block?

What is your directory structure? Is Grav in the root dir or a subdir on the server?

Are you utilizing a hosts file to be able to see your test site?