php - .htaccess - allowing access to a directory from one URL -


my current .htaccess file looks this:

rewriteengine on rewritecond %{http_referer} !^https?://mysite.com/page/ [nc] rewriterule ^ - [l,f] 

and allows access index.php file in 'restricted' area people accessing iframe on /page/. how can allow access files in directory 403 error @ moment.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -