Skip to content

mod_rewrite is not working #4

Description

@rmfloris

Bug description

Adding a .htaccess under /www/ with the following content
RewriteEngine On RewriteRule .* index.php
It doesn't change the url to index.php, but stays either on the page (if found) or throws a 404 status code.

Steps to reproduce

  • Create a file with the above content
  • change the url to for example /test/
  • outcome will be a status 404

Expected behavior

I would expect to end up at the index.php file, not a status 404.

Example repository

No response

Anything else?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions