GithubHelp home page GithubHelp logo

.htaccess files are not processed about templer HOT 3 CLOSED

skx avatar skx commented on September 26, 2024
.htaccess files are not processed

from templer.

Comments (3)

skx avatar skx commented on September 26, 2024

That is not intentional, and is a bug.

The code in sub assets in lib/Templer/Site.pm is supposed to correctly handle files with leading dots, and has comments to that effect.

A quick test shows things working as I'd expect on a new site:

 shelob ~ $ templer-generate tmp-site
 shelob ~ $ cd tmp-site/

 shelob ~/tmp-site $ touch input/.htaccess
 shelob ~/tmp-site $ templer
 All done: 2 page(s) updated in less than 1 second.

 shelob ~/tmp-site $ ls output/.htaccess 
 output/.htaccess

Similarly one of my existing sites also works correctly. Is there any chance you could add a verbose setting to lib/Templer/Site.pm at the point it invokes tar, or uses _findFiles to see why it is failing for you? Or share your site content so I can try building it locally?

from templer.

pwaring avatar pwaring commented on September 26, 2024

Terribly sorry, it turned out to be a bug in my deployment script which wasn't picking up dotfiles. I feel a bit silly now. :)

from templer.

skx avatar skx commented on September 26, 2024

I understand these things happen somtimes. Don't feel bad!

from templer.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.