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

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -