Git Product home page Git Product logo

Comments (7)

hacdias avatar hacdias commented on May 4, 2024

Hello! Is your caddyfile in the same folder as your hugo website?

from filebrowser.

tonka3000 avatar tonka3000 commented on May 4, 2024

Yes, it's in the same directory.

from filebrowser.

hacdias avatar hacdias commented on May 4, 2024

Try this Caddyfile:

localhost:2020
gzip
log ./access.log
errors ./errors.log

root ./public
hugo 

And what's your OS?

from filebrowser.

hacdias avatar hacdias commented on May 4, 2024

One thing: I never tried Hugo with gzip. If the error persists, remove the gzip directive to see if it works.

from filebrowser.

tonka3000 avatar tonka3000 commented on May 4, 2024

I'm using it on windows 7 x64 SP1.
I moved my hugo site to a different location on my harddisk and give it all rights, and now it works - with gzip => so it seems to be a access problem, but i don't know why i got 404 instead of 403.
The only thing which does not work at the moment are the css-stuff.

My final Caddyfile is

localhost:2020
gzip
root ./public

hugo {

}

Thanks for your help.

from filebrowser.

hacdias avatar hacdias commented on May 4, 2024

Hey!

Those are good news. And thanks for reporting that it was an access error.
I'll fix that when I can.

Br
On Feb 25, 2016 11:51 AM, "tonka" [email protected] wrote:

Closed #54 #54.


Reply to this email directly or view it on GitHub
#54 (comment).

from filebrowser.

tonka3000 avatar tonka3000 commented on May 4, 2024

👍

from filebrowser.

Related Issues (20)

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.