Magento – magento htaccess allow access specific folder

.htaccessmagento-1.9permissions

I want to access a folder in root directory in Magento like example.com/foldername but i got a blank page.

So my question:

how i can allow access specific folder in root directory in Magento using htaccess ?

Best Answer

Create a index.php file and put this code :

<html>
    <head>
    </head>
    <body>
     <?php echo 'Hi There'; ?>
    </body>
</html>

And then access it example.com/foldername

If above not worked then create a .htaccess file and add the following code in that file:

Order allow,deny
Allow from all