I have a webproject. Inside the web projects are several directories. I want only the web directory to be avilable to all.
I don't have access to change the vhost as this is for an internal intranet app.
I can however create a .htacess file. I know very little about htaccess files but I do believe that by creating one I can restrict web facing access to specific folders. Which brings me to my question.
I'm looking to do is restrict public access to only the web folder via the content in the htaccess.
webProjectRoot
.. web -- allow access to all
.. application -- no public access
.. library -- no public access
.. other folder -- no public access
.. other folder etc -- no public access