Victor-Barcelo/Codeigniter-simple-Web-API/GitHub/php/.htaccess - Htaccess File

Victor-Barcelo/Codeigniter-simple-Web-API/GitHub/php/.htaccess

RewriteEngine On

# Put your installation directory here:
# If your URL is www.example.com/, use /
# If your URL is www.example.com/site_folder/, use /site_folder/

RewriteBase FILL_ME

# Do not enable rewriting for files or directories that exist
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# For requests that are not actual files or directories,
# Rewrite to index.php/URL
RewriteRule ^(.*)$ index.php/$1 [PT,L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache