How to auto redirect IP address to a login PHP script?

I am using WAMP server, and I am a novice.
Currently, I have many scripts under /www/mySite.
I have set /www/mySite as my default location for the wamp server.

However, when you set the browser address to http://myIPAddress, it automatically shows a list of files under /www/mySite.

I don’t want this. When the user points to http://myIPAddress, I want it to point directly to http://myIPAddress/main_login.php. How do I achieve this?

Thanks for your help.

Source: wampserver

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.