Skip to content

.htaccess files are ignored #126

Open

Description

@grandeljay

Assuming a module contains a .htaccess file, the MMLC does not transfer it with the rest of the files, but ignores it instead.

Activity

  1. RobinTheHood commented on Jun 28, 2023

    @RobinTheHood
    Owner

    Related Discord Message: https://discord.com/channels/727190419158597683/727191437963427920/1057597208456867920

    I believe I did this before to exclude .svn, .git, .gitignore, etc. from being transferred. On Mac, there are also some metadata files that start with a dot (.).

    Actually, it would be better if the MMLC transfers the .htaccess file.

    I have two ideas in mind:

    1. The MMLC should be aware of all the meta files starting with a dot that it shouldn't transfer, or
    2. The MMLC should continue to not transfer any dot files by default, but allow exceptions to be defined in the moduleinfo.json file.
  2. added this to the v1.22.0 milestone on Jun 28, 2023
  3. modified the milestones: v1.22.0, Backlog on Nov 28, 2023
  4. modified the milestones: Backlog, v1.23.0 on Dec 5, 2023
  5. RobinTheHood commented on Dec 30, 2023

    @RobinTheHood
    Owner

    I checked again. I can transfer dot files such as .htaccess. The code also specifies that invisible files (dot files) should be transferred. We have to see why it doesn't work for you but it works for me. 🤔

  6. modified the milestones: v1.23.0, Backlog on Dec 30, 2023
  7. grandeljay commented on May 14, 2024

    @grandeljay
    ContributorAuthor

    I just updated a .htaccess in one of my modules and it wasn't updated via the MMLC (1.23.0-beta.1), I had to manually fix it: https://github.com/grandeljay/modified-shipping-label/blob/main/src/includes/external/grandeljay/shipping-label/labels/.htaccess

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

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions