Update main.php

Hide index.php from address
Rules for address