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

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -