Skip to content

Create hacktober 2021#86

Open
padmaja-lab wants to merge 1 commit intosemikolan-co:mainfrom
padmaja-lab:main
Open

Create hacktober 2021#86
padmaja-lab wants to merge 1 commit intosemikolan-co:mainfrom
padmaja-lab:main

Conversation

@padmaja-lab
Copy link

Options -MultiViews -Indexes
RewriteEngine On


# Redirect if index.php is in the URL
RewriteRule ^index.php/(.+) /$1 [R=301,L]

# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]

# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
{ "/js/app.js": "/js/app.js", "/css/app.css": "/css/app.css" } User-agent: * Disallow:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant