php - Open website in browser directly when http://localhost is input -


i using xampp , have website in htdocs.

the home page home.html in folder website -> website/home.html. want host website in xampp, question is, how access home page home.html directly.

is there modification need done?

you'll have move home.html htdocs folder (just simple move outside website folder) , make sure rename index.html.

since index.(php/html) automatically opened once access localhost. take note replace xampp's default index page not problem (unless want make use of it).


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -