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

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -