Loading an individual file on any directory request (Apache) -
i wish load particular .html file on request of any directory w/ apache.
for example if request somewebsite.com/thisdirectory web browser index.html load, if request somewebsite.com/anotherdirectory same index.html render.
you use url rewriting:
rewriteengin on rewriterule ^.*$ /index.html [l]
Comments
Post a Comment