Skip to content

Commit b92ce66

Browse files
committed
Fist Commit
1 parent e4cac2d commit b92ce66

File tree

12,226 files changed

+1780672
-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.

12,226 files changed

+1780672
-0
lines changed

.htaccess

+209
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,209 @@
1+
############################################
2+
## uncomment these lines for CGI mode
3+
## make sure to specify the correct cgi php binary file name
4+
## it might be /cgi-bin/php-cgi
5+
6+
# Action php5-cgi /cgi-bin/php5-cgi
7+
# AddHandler php5-cgi .php
8+
9+
############################################
10+
## GoDaddy specific options
11+
12+
# Options -MultiViews
13+
14+
## you might also need to add this line to php.ini
15+
## cgi.fix_pathinfo = 1
16+
## if it still doesn't work, rename php.ini to php5.ini
17+
18+
############################################
19+
## this line is specific for 1and1 hosting
20+
21+
#AddType x-mapp-php5 .php
22+
#AddHandler x-mapp-php5 .php
23+
24+
############################################
25+
## default index file
26+
27+
DirectoryIndex index.php
28+
29+
<IfModule mod_php5.c>
30+
31+
############################################
32+
## adjust memory limit
33+
34+
# php_value memory_limit 64M
35+
php_value memory_limit 256M
36+
php_value max_execution_time 18000
37+
38+
############################################
39+
## disable magic quotes for php request vars
40+
41+
php_flag magic_quotes_gpc off
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+
###########################################
60+
# turn off compatibility with PHP4 when dealing with objects
61+
62+
php_flag zend.ze1_compatibility_mode Off
63+
64+
</IfModule>
65+
66+
<IfModule mod_security.c>
67+
###########################################
68+
# disable POST processing to not break multiple image upload
69+
70+
SecFilterEngine Off
71+
SecFilterScanPOST Off
72+
</IfModule>
73+
74+
<IfModule mod_deflate.c>
75+
76+
############################################
77+
## enable apache served files compression
78+
## http://developer.yahoo.com/performance/rules.html#gzip
79+
80+
# Insert filter on all content
81+
###SetOutputFilter DEFLATE
82+
# Insert filter on selected content types only
83+
#AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
84+
85+
# Netscape 4.x has some problems...
86+
#BrowserMatch ^Mozilla/4 gzip-only-text/html
87+
88+
# Netscape 4.06-4.08 have some more problems
89+
#BrowserMatch ^Mozilla/4\.0[678] no-gzip
90+
91+
# MSIE masquerades as Netscape, but it is fine
92+
#BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
93+
94+
# Don't compress images
95+
#SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
96+
97+
# Make sure proxies don't deliver the wrong content
98+
#Header append Vary User-Agent env=!dont-vary
99+
100+
</IfModule>
101+
102+
<IfModule mod_ssl.c>
103+
104+
############################################
105+
## make HTTPS env vars available for CGI mode
106+
107+
SSLOptions StdEnvVars
108+
109+
</IfModule>
110+
111+
<IfModule mod_rewrite.c>
112+
113+
############################################
114+
## enable rewrites
115+
116+
Options +FollowSymLinks
117+
RewriteEngine on
118+
119+
############################################
120+
## you can put here your magento root folder
121+
## path relative to web root
122+
123+
#RewriteBase /magento/
124+
125+
############################################
126+
## uncomment next line to enable light API calls processing
127+
128+
# RewriteRule ^api/([a-z][0-9a-z_]+)/?$ api.php?type=$1 [QSA,L]
129+
130+
############################################
131+
## rewrite API2 calls to api.php (by now it is REST only)
132+
133+
RewriteRule ^api/rest api.php?type=rest [QSA,L]
134+
135+
############################################
136+
## workaround for HTTP authorization
137+
## in CGI environment
138+
139+
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
140+
141+
############################################
142+
## TRACE and TRACK HTTP methods disabled to prevent XSS attacks
143+
144+
RewriteCond %{REQUEST_METHOD} ^TRAC[EK]
145+
RewriteRule .* - [L,R=405]
146+
147+
############################################
148+
## redirect for mobile user agents
149+
150+
#RewriteCond %{REQUEST_URI} !^/mobiledirectoryhere/.*$
151+
#RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC]
152+
#RewriteRule ^(.*)$ /mobiledirectoryhere/ [L,R=302]
153+
154+
############################################
155+
## always send 404 on missing files in these folders
156+
157+
RewriteCond %{REQUEST_URI} !^/(media|skin|js)/
158+
159+
############################################
160+
## never rewrite for existing files, directories and links
161+
162+
RewriteCond %{REQUEST_FILENAME} !-f
163+
RewriteCond %{REQUEST_FILENAME} !-d
164+
RewriteCond %{REQUEST_FILENAME} !-l
165+
166+
############################################
167+
## rewrite everything else to index.php
168+
169+
RewriteRule .* index.php [L]
170+
171+
</IfModule>
172+
173+
174+
############################################
175+
## Prevent character encoding issues from server overrides
176+
## If you still have problems, use the second line instead
177+
178+
AddDefaultCharset Off
179+
#AddDefaultCharset UTF-8
180+
181+
<IfModule mod_expires.c>
182+
183+
############################################
184+
## Add default Expires header
185+
## http://developer.yahoo.com/performance/rules.html#expires
186+
187+
ExpiresDefault "access plus 1 year"
188+
189+
</IfModule>
190+
191+
############################################
192+
## By default allow all access
193+
194+
Order allow,deny
195+
Allow from all
196+
197+
###########################################
198+
## Deny access to release notes to prevent disclosure of the installed Magento version
199+
200+
<Files RELEASE_NOTES.txt>
201+
order allow,deny
202+
deny from all
203+
</Files>
204+
205+
############################################
206+
## If running in cluster environment, uncomment this
207+
## http://developer.yahoo.com/performance/rules.html#etags
208+
209+
#FileETag none

.htaccess.sample

+178
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
############################################
2+
## uncomment these lines for CGI mode
3+
## make sure to specify the correct cgi php binary file name
4+
## it might be /cgi-bin/php-cgi
5+
6+
# Action php5-cgi /cgi-bin/php5-cgi
7+
# AddHandler php5-cgi .php
8+
9+
############################################
10+
## GoDaddy specific options
11+
12+
# Options -MultiViews
13+
14+
## you might also need to add this line to php.ini
15+
## cgi.fix_pathinfo = 1
16+
## if it still doesn't work, rename php.ini to php5.ini
17+
18+
############################################
19+
## this line is specific for 1and1 hosting
20+
21+
#AddType x-mapp-php5 .php
22+
#AddHandler x-mapp-php5 .php
23+
24+
############################################
25+
## default index file
26+
27+
DirectoryIndex index.php
28+
29+
<IfModule mod_php5.c>
30+
31+
############################################
32+
## adjust memory limit
33+
34+
php_value memory_limit 512M
35+
php_value max_execution_time 18000
36+
37+
############################################
38+
## disable magic quotes for php request vars
39+
40+
php_flag magic_quotes_gpc off
41+
42+
############################################
43+
## disable automatic session start
44+
## before autoload was initialized
45+
46+
php_flag session.auto_start off
47+
48+
############################################
49+
## enable resulting html compression
50+
51+
#php_flag zlib.output_compression on
52+
53+
###########################################
54+
# disable user agent verification to not break multiple image upload
55+
56+
php_flag suhosin.session.cryptua off
57+
58+
###########################################
59+
# turn off compatibility with PHP4 when dealing with objects
60+
61+
php_flag zend.ze1_compatibility_mode Off
62+
63+
</IfModule>
64+
65+
<IfModule mod_security.c>
66+
###########################################
67+
# disable POST processing to not break multiple image upload
68+
69+
SecFilterEngine Off
70+
SecFilterScanPOST Off
71+
</IfModule>
72+
73+
<IfModule mod_deflate.c>
74+
75+
############################################
76+
## enable apache served files compression
77+
## http://developer.yahoo.com/performance/rules.html#gzip
78+
79+
# Insert filter on all content
80+
###SetOutputFilter DEFLATE
81+
# Insert filter on selected content types only
82+
#AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
83+
84+
# Netscape 4.x has some problems...
85+
#BrowserMatch ^Mozilla/4 gzip-only-text/html
86+
87+
# Netscape 4.06-4.08 have some more problems
88+
#BrowserMatch ^Mozilla/4\.0[678] no-gzip
89+
90+
# MSIE masquerades as Netscape, but it is fine
91+
#BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
92+
93+
# Don't compress images
94+
#SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
95+
96+
# Make sure proxies don't deliver the wrong content
97+
#Header append Vary User-Agent env=!dont-vary
98+
99+
</IfModule>
100+
101+
<IfModule mod_ssl.c>
102+
103+
############################################
104+
## make HTTPS env vars available for CGI mode
105+
106+
SSLOptions StdEnvVars
107+
108+
</IfModule>
109+
110+
<IfModule mod_rewrite.c>
111+
112+
############################################
113+
## enable rewrites
114+
115+
Options +FollowSymLinks
116+
RewriteEngine on
117+
118+
############################################
119+
## you can put here your magento root folder
120+
## path relative to web root
121+
122+
#RewriteBase /magento/
123+
124+
############################################
125+
## workaround for HTTP authorization
126+
## in CGI environment
127+
128+
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
129+
130+
############################################
131+
## always send 404 on missing files in these folders
132+
133+
RewriteCond %{REQUEST_URI} !^/(media|skin|js)/
134+
135+
############################################
136+
## never rewrite for existing files, directories and links
137+
138+
RewriteCond %{REQUEST_FILENAME} !-f
139+
RewriteCond %{REQUEST_FILENAME} !-d
140+
RewriteCond %{REQUEST_FILENAME} !-l
141+
142+
############################################
143+
## rewrite everything else to index.php
144+
145+
RewriteRule .* index.php [L]
146+
147+
</IfModule>
148+
149+
150+
############################################
151+
## Prevent character encoding issues from server overrides
152+
## If you still have problems, use the second line instead
153+
154+
AddDefaultCharset Off
155+
#AddDefaultCharset UTF-8
156+
157+
<IfModule mod_expires.c>
158+
159+
############################################
160+
## Add default Expires header
161+
## http://developer.yahoo.com/performance/rules.html#expires
162+
163+
ExpiresDefault "access plus 1 year"
164+
165+
</IfModule>
166+
167+
############################################
168+
## By default allow all access
169+
170+
Order allow,deny
171+
Allow from all
172+
173+
############################################
174+
## If running in cluster environment, uncomment this
175+
## http://developer.yahoo.com/performance/rules.html#etags
176+
177+
#FileETag none
178+

0 commit comments

Comments
 (0)