Answers for "apache htaccess index.php"

PHP
1

htaccess all requests goes to index.php

# eg. on cpanel, set document root to Laravels 'public' folder
# put .htaccess to 'public_html' / root directory

RewriteEngine on
RewriteBase /frameworkRootFolder/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /frameworkRootFolder/index.php [L,QSA]
Posted by: Guest on September-28-2021
5

why we use .htaccess file in php

These .htaccess files can be used to alter the configuration of the Apache Web Server software to enable/disable additional functionality and features that the Apache Web Server software has to offer
Posted by: Guest on July-03-2020

Code answers related to "apache htaccess index.php"

Browse Popular Code Answers by Language