Htaccess File

iensenfirippu/securipe/master/src/.htaccess

RewriteEngine On
RewriteBase /
RewriteRule ^([^/]*.css)$ Styles/$1 [END]
RewriteRule ^([^/]*.js)$ Scripts/$1 [END]
RewriteRule ^([^/]*.(jpe?g|png))$ Images/$1 [END]

# -- Rule to rename links like: "http://localhost/login.aspx?get=value"
RewriteRule ^([a-zA-Z]+).aspx(?(.*))?$ index.php?action=$1 [QSA]

# -- Rule to redirect anything else to index.php (and let PHP handle the actual redirect)
RewriteRule ^(.*)$ index.php [L]
Exit mobile version