This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
ModuleWeb/SRC/public/.htaccess

83 lines
3.5 KiB
ApacheConf
Raw Normal View History

new file: SRC/.bash_history new file: SRC/.gitattributes new file: SRC/.gitignore new file: SRC/CONTRIBUTING.md new file: SRC/app/commands/.gitkeep new file: SRC/app/config/app.php new file: SRC/app/config/auth.php new file: SRC/app/config/cache.php new file: SRC/app/config/compile.php new file: SRC/app/config/database.php new file: SRC/app/config/local/app.php new file: SRC/app/config/local/database.php new file: SRC/app/config/mail.php new file: SRC/app/config/packages/.gitkeep new file: SRC/app/config/queue.php new file: SRC/app/config/remote.php new file: SRC/app/config/services.php new file: SRC/app/config/session.php new file: SRC/app/config/testing/cache.php new file: SRC/app/config/testing/session.php new file: SRC/app/config/view.php new file: SRC/app/config/workbench.php new file: SRC/app/controllers/.gitkeep new file: SRC/app/controllers/BaseController.php new file: SRC/app/controllers/HomeController.php new file: SRC/app/database/.gitignore new file: SRC/app/database/migrations/.gitkeep new file: SRC/app/database/seeds/.gitkeep new file: SRC/app/database/seeds/DatabaseSeeder.php new file: SRC/app/filters.php new file: SRC/app/lang/en/pagination.php new file: SRC/app/lang/en/reminders.php new file: SRC/app/lang/en/validation.php new file: SRC/app/models/User.php new file: SRC/app/routes.php new file: SRC/app/start/artisan.php new file: SRC/app/start/global.php new file: SRC/app/start/local.php new file: SRC/app/storage/.gitignore new file: SRC/app/storage/cache/.gitignore new file: SRC/app/storage/logs/.gitignore new file: SRC/app/storage/meta/.gitignore new file: SRC/app/storage/sessions/.gitignore new file: SRC/app/storage/views/.gitignore new file: SRC/app/tests/ExampleTest.php new file: SRC/app/tests/TestCase.php new file: SRC/app/views/emails/auth/reminder.blade.php new file: SRC/app/views/hello.php new file: SRC/artisan new file: SRC/bootstrap/autoload.php new file: SRC/bootstrap/paths.php new file: SRC/bootstrap/start.php new file: SRC/composer.json new file: SRC/phpunit.xml new file: SRC/public/.htaccess new file: SRC/public/favicon.ico new file: SRC/public/home.jpg new file: SRC/public/home.png new file: SRC/public/index.php new file: SRC/public/packages/.gitkeep new file: SRC/public/robots.txt new file: SRC/readme.md new file: SRC/server.php
2015-02-03 16:04:12 +00:00
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
2015-03-17 16:21:37 +00:00
<IfModule mod_deflate.c>
# Force compression for mangled headers.
# https://developer.yahoo.com/blogs/ydn/pushing-beyond-gzipping-25601.html
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
</IfModule>
</IfModule>
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Map certain file types to the specified encoding type in order to
# make Apache serve them with the appropriate `Content-Encoding` HTTP
# response header (this will NOT make Apache compress them!).
# If the following file types wouldn't be served without the appropriate
# `Content-Enable` HTTP response header, client applications (e.g.:
# browsers) wouldn't know that they first need to uncompress the response,
# and thus, wouldn't be able to understand the content.
# http://httpd.apache.org/docs/current/mod/mod_mime.html#addencoding
<IfModule mod_mime.c>
AddEncoding gzip svgz
</IfModule>
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Compress all output labeled with one of the following media types.
# IMPORTANT: For Apache versions below 2.3.7 you don't need to enable
# `mod_filter` and can remove the `<IfModule mod_filter.c>` & `</IfModule>`
# lines as `AddOutputFilterByType` is still in the core directives.
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE "application/atom+xml" \
"application/javascript" \
"application/json" \
"application/ld+json" \
"application/manifest+json" \
"application/rdf+xml" \
"application/rss+xml" \
"application/schema+json" \
"application/vnd.geo+json" \
"application/vnd.ms-fontobject" \
"application/x-font-ttf" \
"application/x-web-app-manifest+json" \
"application/xhtml+xml" \
"application/xml" \
"font/opentype" \
"image/svg+xml" \
"image/x-icon" \
"text/cache-manifest" \
"text/css" \
"text/html" \
"text/javascript" \
"text/plain" \
"text/vtt" \
"text/x-component" \
"text/xml"
</IfModule>
</IfModule>