html - how to display first page in localhost? -


i using xamp create website, having folder named html has page called cart.html, folder html found in htdocs , want cart.html appear localhost being input in browser. when input http:// localhost/, cart.html page should appear. unable do, can u suggest me how it.

simple htaccess rule:

redirect 301 index.html cart.html 

assuming in same folder, otherwise replace whatever needed


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 -