Code Monkey home page Code Monkey logo

Comments (9)

LordFokas avatar LordFokas commented on August 27, 2024

we can probably handle it with a .htaccess, when you ask for the root of the website just shamelessly drop a 301 and redirect to the right page.

from massiveoctomustache.

LizzyTrickster avatar LizzyTrickster commented on August 27, 2024

from massiveoctomustache.

LizzyTrickster avatar LizzyTrickster commented on August 27, 2024

I <3 Linux symbolic links, just linked index.html in the root (server side) to /miscellaneous/home.html, so we don't need PHP on the production server at all (for this site, anyway) so I will close this.

@LordFokas the way i pull the site down to the server has also changed so you will need to poke me to update it manually (till I potentially set up another script to do it)

from massiveoctomustache.

LordFokas avatar LordFokas commented on August 27, 2024

if you used a symlink, you probably broke every relative link in the site. Also, every link is relative and not absolute, so you broke them all. :p

from massiveoctomustache.

LizzyTrickster avatar LizzyTrickster commented on August 27, 2024

How so? When I say symlink, i mean that as far as Nginx is concerned, index.html is just another file. HTTP relative links still work

from massiveoctomustache.

LizzyTrickster avatar LizzyTrickster commented on August 27, 2024

Also I think the GitHub IRC notifications are broked again

from massiveoctomustache.

LordFokas avatar LordFokas commented on August 27, 2024

because instead of being redirected to the /misc folder you are served a file from the root folder, so relative links point from an outer level than they should.

from massiveoctomustache.

LizzyTrickster avatar LizzyTrickster commented on August 27, 2024

from massiveoctomustache.

LordFokas avatar LordFokas commented on August 27, 2024

doesn't make sense in my head, but it works, so I'll leave it be.

from massiveoctomustache.

Related Issues (7)

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.