diff --git a/using index.php/.htaccess b/using index.php/.htaccess new file mode 100644 index 0000000..b6e9a86 --- /dev/null +++ b/using index.php/.htaccess @@ -0,0 +1,25 @@ + + + Options -MultiViews -Indexes + + + RewriteEngine On + + # Handle Authorization Header + RewriteCond %{HTTP:Authorization} . + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + + RewriteCond %{REQUEST_FILENAME} -d [OR] + RewriteCond %{REQUEST_FILENAME} -f + RewriteRule ^ ^$1 [N] + + RewriteCond %{REQUEST_URI} (\.\w+$) [NC] + RewriteRule ^(.*)$ public/$1 + + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^ index.php + + + + diff --git a/using index.php/index.php b/using index.php/index.php new file mode 100644 index 0000000..d124192 --- /dev/null +++ b/using index.php/index.php @@ -0,0 +1,14 @@ +