Skip to content

Commit eeae587

Browse files
author
Jed Galbraith
committed
default magento & redis config
0 parents  commit eeae587

File tree

11,171 files changed

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

11,171 files changed

+1784546
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
var/*
2+
downloader/*
3+
media/*
4+
app/etc/local.xml
5+
*.DS_Store

.htaccess

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

.htaccess.sample

Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
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 128M
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+
## workaround for HTTP authorization
127+
## in CGI environment
128+
129+
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
130+
131+
############################################
132+
## always send 404 on missing files in these folders
133+
134+
RewriteCond %{REQUEST_URI} !^/(media|skin|js)/
135+
136+
############################################
137+
## never rewrite for existing files, directories and links
138+
139+
RewriteCond %{REQUEST_FILENAME} !-f
140+
RewriteCond %{REQUEST_FILENAME} !-d
141+
RewriteCond %{REQUEST_FILENAME} !-l
142+
143+
############################################
144+
## rewrite everything else to index.php
145+
146+
RewriteRule .* index.php [L]
147+
148+
</IfModule>
149+
150+
151+
############################################
152+
## Prevent character encoding issues from server overrides
153+
## If you still have problems, use the second line instead
154+
155+
AddDefaultCharset Off
156+
#AddDefaultCharset UTF-8
157+
158+
<IfModule mod_expires.c>
159+
160+
############################################
161+
## Add default Expires header
162+
## http://developer.yahoo.com/performance/rules.html#expires
163+
164+
ExpiresDefault "access plus 1 year"
165+
166+
</IfModule>
167+
168+
############################################
169+
## By default allow all access
170+
171+
Order allow,deny
172+
Allow from all
173+
174+
############################################
175+
## If running in cluster environment, uncomment this
176+
## http://developer.yahoo.com/performance/rules.html#etags
177+
178+
#FileETag none
179+

0 commit comments

Comments
 (0)