Skip to content

Commit af2f723

Browse files
committed
add version 2.0.0
0 parents  commit af2f723

File tree

22,909 files changed

+2523908
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

22,909 files changed

+2523908
-0
lines changed

.gitignore

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/.buildpath
2+
/.cache
3+
/.metadata
4+
/.project
5+
/.settings
6+
atlassian*
7+
/nbproject
8+
/sitemap
9+
/.idea
10+
/.gitattributes
11+
/app/config_sandbox
12+
/app/etc/config.php
13+
/app/etc/env.php
14+
/app/code/Magento/TestModule*
15+
/lib/internal/flex/uploader/.actionScriptProperties
16+
/lib/internal/flex/uploader/.flexProperties
17+
/lib/internal/flex/uploader/.project
18+
/lib/internal/flex/uploader/.settings
19+
/lib/internal/flex/varien/.actionScriptProperties
20+
/lib/internal/flex/varien/.flexLibProperties
21+
/lib/internal/flex/varien/.project
22+
/lib/internal/flex/varien/.settings
23+
/node_modules
24+
/.grunt
25+
26+
/pub/media/*.*
27+
!/pub/media/.htaccess
28+
/pub/media/catalog/*
29+
!/pub/media/catalog/.htaccess
30+
/pub/media/customer/*
31+
!/pub/media/customer/.htaccess
32+
/pub/media/downloadable/*
33+
!/pub/media/downloadable/.htaccess
34+
/pub/media/import/*
35+
!/pub/media/import/.htaccess
36+
/pub/media/theme/*
37+
/pub/media/theme_customization/*
38+
!/pub/media/theme_customization/.htaccess
39+
/pub/media/wysiwyg/*
40+
!/pub/media/wysiwyg/.htaccess
41+
/pub/media/tmp/*
42+
!/pub/media/tmp/.htaccess
43+
/pub/media/captcha/*
44+
/pub/static/*
45+
!/pub/static/.htaccess
46+
47+
/var/*
48+
!/var/.htaccess
49+
/vendor
50+
!/vendor/.htaccess

.htaccess

Lines changed: 294 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,294 @@
1+
############################################
2+
## overrides deployment configuration mode value
3+
## use command bin/magento deploy:mode:set to switch modes
4+
5+
# SetEnv MAGE_MODE developer
6+
7+
############################################
8+
## uncomment these lines for CGI mode
9+
## make sure to specify the correct cgi php binary file name
10+
## it might be /cgi-bin/php-cgi
11+
12+
# Action php5-cgi /cgi-bin/php5-cgi
13+
# AddHandler php5-cgi .php
14+
15+
############################################
16+
## GoDaddy specific options
17+
18+
# Options -MultiViews
19+
20+
## you might also need to add this line to php.ini
21+
## cgi.fix_pathinfo = 1
22+
## if it still doesn't work, rename php.ini to php5.ini
23+
24+
############################################
25+
## this line is specific for 1and1 hosting
26+
27+
#AddType x-mapp-php5 .php
28+
#AddHandler x-mapp-php5 .php
29+
30+
############################################
31+
## default index file
32+
33+
DirectoryIndex index.php
34+
35+
<IfModule mod_php5.c>
36+
37+
############################################
38+
## adjust memory limit
39+
40+
php_value memory_limit 768M
41+
php_value max_execution_time 18000
42+
43+
############################################
44+
## disable automatic session start
45+
## before autoload was initialized
46+
47+
php_flag session.auto_start off
48+
49+
############################################
50+
## enable resulting html compression
51+
52+
#php_flag zlib.output_compression on
53+
54+
###########################################
55+
## disable user agent verification to not break multiple image upload
56+
57+
php_flag suhosin.session.cryptua off
58+
59+
</IfModule>
60+
61+
<IfModule mod_php7.c>
62+
63+
############################################
64+
## adjust memory limit
65+
66+
php_value memory_limit 768M
67+
php_value max_execution_time 18000
68+
69+
############################################
70+
## disable automatic session start
71+
## before autoload was initialized
72+
73+
php_flag session.auto_start off
74+
75+
############################################
76+
## enable resulting html compression
77+
78+
#php_flag zlib.output_compression on
79+
80+
###########################################
81+
## disable user agent verification to not break multiple image upload
82+
83+
php_flag suhosin.session.cryptua off
84+
85+
</IfModule>
86+
87+
<IfModule mod_security.c>
88+
###########################################
89+
## disable POST processing to not break multiple image upload
90+
91+
SecFilterEngine Off
92+
SecFilterScanPOST Off
93+
</IfModule>
94+
95+
<IfModule mod_deflate.c>
96+
97+
############################################
98+
## enable apache served files compression
99+
## http://developer.yahoo.com/performance/rules.html#gzip
100+
101+
# Insert filter on all content
102+
###SetOutputFilter DEFLATE
103+
# Insert filter on selected content types only
104+
#AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
105+
106+
# Netscape 4.x has some problems...
107+
#BrowserMatch ^Mozilla/4 gzip-only-text/html
108+
109+
# Netscape 4.06-4.08 have some more problems
110+
#BrowserMatch ^Mozilla/4\.0[678] no-gzip
111+
112+
# MSIE masquerades as Netscape, but it is fine
113+
#BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
114+
115+
# Don't compress images
116+
#SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
117+
118+
# Make sure proxies don't deliver the wrong content
119+
#Header append Vary User-Agent env=!dont-vary
120+
121+
</IfModule>
122+
123+
<IfModule mod_ssl.c>
124+
125+
############################################
126+
## make HTTPS env vars available for CGI mode
127+
128+
SSLOptions StdEnvVars
129+
130+
</IfModule>
131+
132+
############################################
133+
## workaround for Apache 2.4.6 CentOS build when working via ProxyPassMatch with HHVM (or any other)
134+
## Please, set it on virtual host configuration level
135+
136+
## SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
137+
############################################
138+
139+
<IfModule mod_rewrite.c>
140+
141+
############################################
142+
## enable rewrites
143+
144+
Options +FollowSymLinks
145+
RewriteEngine on
146+
147+
############################################
148+
## you can put here your magento root folder
149+
## path relative to web root
150+
151+
#RewriteBase /magento/
152+
153+
############################################
154+
## workaround for HTTP authorization
155+
## in CGI environment
156+
157+
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
158+
159+
############################################
160+
## TRACE and TRACK HTTP methods disabled to prevent XSS attacks
161+
162+
RewriteCond %{REQUEST_METHOD} ^TRAC[EK]
163+
RewriteRule .* - [L,R=405]
164+
165+
############################################
166+
## redirect for mobile user agents
167+
168+
#RewriteCond %{REQUEST_URI} !^/mobiledirectoryhere/.*$
169+
#RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC]
170+
#RewriteRule ^(.*)$ /mobiledirectoryhere/ [L,R=302]
171+
172+
############################################
173+
## never rewrite for existing files, directories and links
174+
175+
RewriteCond %{REQUEST_FILENAME} !-f
176+
RewriteCond %{REQUEST_FILENAME} !-d
177+
RewriteCond %{REQUEST_FILENAME} !-l
178+
179+
############################################
180+
## rewrite everything else to index.php
181+
182+
RewriteRule .* index.php [L]
183+
184+
</IfModule>
185+
186+
187+
############################################
188+
## Prevent character encoding issues from server overrides
189+
## If you still have problems, use the second line instead
190+
191+
AddDefaultCharset Off
192+
#AddDefaultCharset UTF-8
193+
194+
<IfModule mod_expires.c>
195+
196+
############################################
197+
## Add default Expires header
198+
## http://developer.yahoo.com/performance/rules.html#expires
199+
200+
ExpiresDefault "access plus 1 year"
201+
ExpiresByType text/html A0
202+
ExpiresByType text/plain A0
203+
204+
</IfModule>
205+
206+
###########################################
207+
## Deny access to root files to hide sensitive application information
208+
RedirectMatch 404 /\.git
209+
210+
<Files composer.json>
211+
order allow,deny
212+
deny from all
213+
</Files>
214+
<Files composer.lock>
215+
order allow,deny
216+
deny from all
217+
</Files>
218+
<Files .gitignore>
219+
order allow,deny
220+
deny from all
221+
</Files>
222+
<Files .htaccess>
223+
order allow,deny
224+
deny from all
225+
</Files>
226+
<Files .htaccess.sample>
227+
order allow,deny
228+
deny from all
229+
</Files>
230+
<Files .php_cs>
231+
order allow,deny
232+
deny from all
233+
</Files>
234+
<Files .travis.yml>
235+
order allow,deny
236+
deny from all
237+
</Files>
238+
<Files CHANGELOG.md>
239+
order allow,deny
240+
deny from all
241+
</Files>
242+
<Files CONTRIBUTING.md>
243+
order allow,deny
244+
deny from all
245+
</Files>
246+
<Files CONTRIBUTOR_LICENSE_AGREEMENT.html>
247+
order allow,deny
248+
deny from all
249+
</Files>
250+
<Files COPYING.txt>
251+
order allow,deny
252+
deny from all
253+
</Files>
254+
<Files Gruntfile.js>
255+
order allow,deny
256+
deny from all
257+
</Files>
258+
<Files LICENSE.txt>
259+
order allow,deny
260+
deny from all
261+
</Files>
262+
<Files LICENSE_AFL.txt>
263+
order allow,deny
264+
deny from all
265+
</Files>
266+
<Files nginx.conf.sample>
267+
order allow,deny
268+
deny from all
269+
</Files>
270+
<Files package.json>
271+
order allow,deny
272+
deny from all
273+
</Files>
274+
<Files php.ini.sample>
275+
order allow,deny
276+
deny from all
277+
</Files>
278+
<Files README.md>
279+
order allow,deny
280+
deny from all
281+
</Files>
282+
283+
################################
284+
## If running in cluster environment, uncomment this
285+
## http://developer.yahoo.com/performance/rules.html#etags
286+
287+
#FileETag none
288+
289+
############################################
290+
## Add custom headers
291+
<IfModule mod_headers.c>
292+
Header set X-Content-Type-Options "nosniff"
293+
Header set X-XSS-Protection "1; mode=block"
294+
</IfModule>

0 commit comments

Comments
 (0)