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

c++ - CPP, 'X' button listener -

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -

shared memory - gstreamer shmsrc and shmsink with h264 data -