How to prevent directory listing
Create .htacess file in root directory of project. mkdir .htaccess open the .htaccess file and add below line Options -Indexes
Read moreCreate .htacess file in root directory of project. mkdir .htaccess open the .htaccess file and add below line Options -Indexes
Read moreOpen your .htaccess file or create new one. Copy the below code and placed on starting of files RewriteEngine On
Read moreBy default file upload size id 2MB in php.ini file but you can increase it in php.ini file or .htaccess
Read moreThe HTTP 404 isNot Found and 404 error message is a Hypertext Transfer Protocol (HTTP) standard response code, when you access a page
Read more# externally redirect /dir/file.php to /dir/file and remove index RewriteCond %{THE_REQUEST} \s/+(.*?/)?(?:index)?(.*?)\.(?:html?|php)/?[\s?] [NC] RewriteRule ^ /%1%2 [R=301,L,NE] # remove trailing
Read moreStatus 301 means that the resource (page) is moved permanently to a new location. The client/browser should not attempt to
Read moreStatus 302 means that the resource is temporarily located somewhere else, and the client/browser should continue requesting the original url.
Read moreIf your site can be accessed as both http://www.domain.com/ as well as http://domain.com/ and are having trouble with things such
Read moreIn this tutorial we are going to learn how to remove index.php from URL using .htaccess file in CodeIgniter. .htaccess
Read more