php - How to Deny access to .class file from URL but allow from CI Application folder? -


this htaccess file

how deny access .class file url allow ci application folder?

    rewriteengine on     rewritebase /ci/       rewritecond %{request_uri} ^system/.*     rewriterule ^(.*)$ /index.php?/$1 [l]          rewritecond %{request_uri} ^application.*     rewriterule ^(.*)$ /index.php?/$1 [l]         rewritecond %{request_filename} !-f     rewritecond %{request_filename} !-d     rewriterule ^(.*)$ index.php?/$1 [l] 


Comments

Popular posts from this blog

c# - ItextSharp font color issue in ver 5.5.4+ -

jquery - Multiple issues with pushstate: history, loading, calling functions -

ios - retrievePeripherals deprecated in IOS7 how to substitude it with retrievePeripheralsWithIdentifiers -