Comments (9)
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.
from massiveoctomustache.
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.
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.
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.
Also I think the GitHub IRC notifications are broked again
from massiveoctomustache.
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.
from massiveoctomustache.
doesn't make sense in my head, but it works, so I'll leave it be.
from massiveoctomustache.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from massiveoctomustache.