my-simon 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. data/README.md +3 -20
  2. data/Rakefile +1 -1
  3. data/VERSION +1 -1
  4. data/my-simon.gemspec +3 -78
  5. metadata +2 -77
  6. data/DOC/Launch Check List.docx +0 -0
  7. data/DOC/Launch Check List.pdf +0 -0
  8. data/build/rakefile.rb +0 -12
  9. data/config.rb +0 -24
  10. data/scaffolding/simon/controller.tpl +0 -9
  11. data/scaffolding/simon/model.tpl +0 -10
  12. data/scaffolding/simon/view.tpl +0 -5
  13. data/scaffolding/standards/html_template.html +0 -44
  14. data/scaffolding/standards/html_template.php +0 -44
  15. data/scaffolding/standards/jquery_plugin_template.js +0 -45
  16. data/scaffolding/standards/js_template.js +0 -43
  17. data/www/.htaccess +0 -488
  18. data/www/404.html +0 -32
  19. data/www/crossdomain.xml +0 -25
  20. data/www/favicon.ico +0 -0
  21. data/www/index.php +0 -17
  22. data/www/lib/js/homePage.js +0 -43
  23. data/www/lib/js/jquery/JQbook.js +0 -809
  24. data/www/lib/js/jquery/jquery-1.8.0.min.js +0 -27
  25. data/www/lib/js/jquery/jquery.alphanumeric.js +0 -82
  26. data/www/lib/js/jquery/jquery.cookie.js +0 -96
  27. data/www/lib/js/jquery/jquery.easing.1.3.js +0 -207
  28. data/www/lib/js/main.js +0 -117
  29. data/www/lib/js/master.js +0 -6
  30. data/www/lib/js/plugins/handlebars-1.0.rc.1.js +0 -1920
  31. data/www/lib/js/plugins/modernizr-1.7.min.js +0 -2
  32. data/www/lib/js/plugins/swfobject.js +0 -777
  33. data/www/lib/js/plugins_mod/README.txt +0 -3
  34. data/www/lib/php/app.php +0 -53
  35. data/www/lib/php/controller/index.php +0 -10
  36. data/www/lib/php/controller/regex.php +0 -23
  37. data/www/lib/php/model/Book.php +0 -8
  38. data/www/lib/php/model/Model.php +0 -8
  39. data/www/lib/php/plugins/php-activerecord/ActiveRecord.php +0 -44
  40. data/www/lib/php/plugins/php-activerecord/lib/CallBack.php +0 -226
  41. data/www/lib/php/plugins/php-activerecord/lib/Column.php +0 -155
  42. data/www/lib/php/plugins/php-activerecord/lib/Config.php +0 -288
  43. data/www/lib/php/plugins/php-activerecord/lib/Connection.php +0 -456
  44. data/www/lib/php/plugins/php-activerecord/lib/ConnectionManager.php +0 -38
  45. data/www/lib/php/plugins/php-activerecord/lib/DateTime.php +0 -45
  46. data/www/lib/php/plugins/php-activerecord/lib/Exceptions.php +0 -137
  47. data/www/lib/php/plugins/php-activerecord/lib/Expressions.php +0 -183
  48. data/www/lib/php/plugins/php-activerecord/lib/Inflector.php +0 -115
  49. data/www/lib/php/plugins/php-activerecord/lib/Model.php +0 -1673
  50. data/www/lib/php/plugins/php-activerecord/lib/Reflections.php +0 -86
  51. data/www/lib/php/plugins/php-activerecord/lib/Relationship.php +0 -637
  52. data/www/lib/php/plugins/php-activerecord/lib/SQLBuilder.php +0 -396
  53. data/www/lib/php/plugins/php-activerecord/lib/Serialization.php +0 -302
  54. data/www/lib/php/plugins/php-activerecord/lib/Singleton.php +0 -57
  55. data/www/lib/php/plugins/php-activerecord/lib/Table.php +0 -547
  56. data/www/lib/php/plugins/php-activerecord/lib/Utils.php +0 -351
  57. data/www/lib/php/plugins/php-activerecord/lib/Validations.php +0 -833
  58. data/www/lib/php/plugins/php-activerecord/lib/adapters/MysqlAdapter.php +0 -73
  59. data/www/lib/php/plugins/php-activerecord/lib/adapters/OciAdapter.php +0 -121
  60. data/www/lib/php/plugins/php-activerecord/lib/adapters/PgsqlAdapter.php +0 -104
  61. data/www/lib/php/plugins/php-activerecord/lib/adapters/SqliteAdapter.php +0 -81
  62. data/www/lib/php/system/Config.php +0 -174
  63. data/www/lib/php/system/config.routes.php +0 -29
  64. data/www/lib/php/system/router.php +0 -220
  65. data/www/lib/php/template/footer.php +0 -59
  66. data/www/lib/php/template/header.php +0 -74
  67. data/www/lib/php/view/index.php +0 -5
  68. data/www/media/images/facebook_share.jpg +0 -0
  69. data/www/robots.txt +0 -5
  70. data/www/sandbox/readme.txt +0 -3
  71. data/www/sass/javascript.scss +0 -1
  72. data/www/sass/layout.scss +0 -128
  73. data/www/sass/master.scss +0 -4
  74. data/www/sass/reset.scss +0 -47
  75. data/www/sass/typography.scss +0 -24
  76. data/www/styles/javascript.css +0 -1
  77. data/www/styles/layout.css +0 -186
  78. data/www/styles/master.css +0 -4
  79. data/www/styles/reset.css +0 -60
  80. data/www/styles/typography.css +0 -24
@@ -1,43 +0,0 @@
1
- /*! CLASS_NAME class
2
- * Put javascript plugin depedencies below (see main.js for an exmaple)
3
- * @depends jquery/jquery-1.8.0.min.js
4
- */
5
- var CHANGE_ME = CHANGE_ME || {};
6
- CHANGE_ME.CLASS_NAME = function(){
7
- // =================================================
8
- // = Private variables (example: var _foo = bar; ) =
9
- // =================================================
10
-
11
-
12
-
13
- // =================================================
14
- // = public functions =
15
- // =================================================
16
- var self = {
17
-
18
- init : function(){
19
-
20
- debug.group("# [CLASS_NAME.js]");
21
-
22
- debug.log('- initialized');
23
-
24
- //--> sof private functions
25
-
26
- //--> eof private functions
27
-
28
- debug.groupEnd();
29
-
30
- }
31
-
32
- };
33
-
34
- return self;
35
-
36
- // ================================================
37
- // = Private functionse (function _private() {} ) =
38
- // ================================================
39
-
40
- }();
41
- //CHANGE_ME.main.queue(CHANGE_ME.CLASS_NAME.init);
42
-
43
-
data/www/.htaccess DELETED
@@ -1,488 +0,0 @@
1
- # Apache configuration file
2
- # httpd.apache.org/docs/2.2/mod/quickreference.html
3
-
4
- # Note .htaccess files are an overhead, this logic should be in your Apache config if possible
5
- # httpd.apache.org/docs/2.2/howto/htaccess.html
6
-
7
- # Techniques in here adapted from all over, including:
8
- # Kroc Camen: camendesign.com/.htaccess
9
- # perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/
10
- # Sample .htaccess file of CMS MODx: modxcms.com
11
-
12
-
13
- ###
14
- ### If you run a webserver other than apache, consider:
15
- ### github.com/paulirish/html5-boilerplate-server-configs
16
- ###
17
-
18
- RewriteEngine On
19
- RewriteCond %{REQUEST_FILENAME} !-f
20
- RewriteCond %{REQUEST_FILENAME} !-d
21
- RewriteRule ^(.*)$ /index.php [L,QSA]
22
-
23
-
24
- AddType video/ogg .ogv
25
- AddType video/mp4 .mp4
26
- AddType video/webm .webm
27
-
28
- # ----------------------------------------------------------------------
29
- # Better website experience for IE users
30
- # ----------------------------------------------------------------------
31
-
32
- # Force the latest IE version, in various cases when it may fall back to IE7 mode
33
- # github.com/rails/rails/commit/123eb25#commitcomment-118920
34
- # Use ChromeFrame if it's installed for a better experience for the poor IE folk
35
-
36
- <IfModule mod_setenvif.c>
37
- <IfModule mod_headers.c>
38
- BrowserMatch MSIE ie
39
- Header set X-UA-Compatible "IE=Edge,chrome=1" env=ie
40
- </IfModule>
41
- </IfModule>
42
-
43
- <IfModule mod_headers.c>
44
- # Because X-UA-Compatible isn't sent to non-IE (to save header bytes),
45
- # We need to inform proxies that content changes based on UA
46
- Header append Vary User-Agent
47
- # Cache control is set only if mod_headers is enabled, so that's unncessary to declare
48
- </IfModule>
49
-
50
-
51
- # ----------------------------------------------------------------------
52
- # Cross-domain AJAX requests
53
- # ----------------------------------------------------------------------
54
-
55
- # Serve cross-domain ajax requests, disabled.
56
- # enable-cors.org
57
- # code.google.com/p/html5security/wiki/CrossOriginRequestSecurity
58
-
59
- # <IfModule mod_headers.c>
60
- # Header set Access-Control-Allow-Origin "*"
61
- # </IfModule>
62
-
63
-
64
-
65
- # ----------------------------------------------------------------------
66
- # Webfont access
67
- # ----------------------------------------------------------------------
68
-
69
- # allow access from all domains for webfonts
70
- # alternatively you could only whitelist
71
- # your subdomains like "sub.domain.com"
72
-
73
- <FilesMatch "\.(ttf|otf|eot|woff|font.css)$">
74
- <IfModule mod_headers.c>
75
- Header set Access-Control-Allow-Origin "*"
76
- </IfModule>
77
- </FilesMatch>
78
-
79
-
80
-
81
- # ----------------------------------------------------------------------
82
- # Proper MIME type for all files
83
- # ----------------------------------------------------------------------
84
-
85
- # audio
86
- AddType audio/ogg oga ogg
87
-
88
- # video
89
- AddType video/ogg ogv
90
- AddType video/mp4 mp4
91
- AddType video/webm webm
92
-
93
- # Proper svg serving. Required for svg webfonts on iPad
94
- # twitter.com/FontSquirrel/status/14855840545
95
- AddType image/svg+xml svg svgz
96
- AddEncoding gzip svgz
97
-
98
- # webfonts
99
- AddType application/vnd.ms-fontobject eot
100
- AddType font/truetype ttf
101
- AddType font/opentype otf
102
- AddType application/x-font-woff woff
103
-
104
- # assorted types
105
- AddType image/x-icon ico
106
- AddType image/webp webp
107
- AddType text/cache-manifest appcache manifest
108
- AddType text/x-component htc
109
- AddType application/x-chrome-extension crx
110
- AddType application/x-xpinstall xpi
111
- AddType application/octet-stream safariextz
112
-
113
-
114
-
115
- # ----------------------------------------------------------------------
116
- # Allow concatenation from within specific js and css files
117
- # ----------------------------------------------------------------------
118
-
119
- # e.g. Inside of script.combined.js you could have
120
- # <!--#include file="libs/jquery-1.5.0.min.js" -->
121
- # <!--#include file="plugins/jquery.idletimer.js" -->
122
- # and they would be included into this single file
123
-
124
- # this is not in use in the boilerplate as it stands. you may
125
- # choose to name your files in this way for this advantage
126
- # or concatenate and minify them manually.
127
- # Disabled by default.
128
-
129
- # <FilesMatch "\.combined\.(js|css)$">
130
- # Options +Includes
131
- # SetOutputFilter INCLUDES
132
- # </FilesMatch>
133
-
134
-
135
-
136
- # ----------------------------------------------------------------------
137
- # gzip compression
138
- # ----------------------------------------------------------------------
139
-
140
- <IfModule mod_deflate.c>
141
-
142
-
143
- # force deflate for mangled headers developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping/
144
- <IfModule mod_setenvif.c>
145
- <IfModule mod_headers.c>
146
- SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s,?\s(gzip|deflate)?|X{4,13}|~{4,13}|-{4,13})$ HAVE_Accept-Encoding
147
- RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
148
- </IfModule>
149
- </IfModule>
150
- # html, txt, css, js, json, xml, htc:
151
- <IfModule filter_module>
152
- FilterDeclare COMPRESS
153
- FilterProvider COMPRESS DEFLATE resp=Content-Type /text/(html|css|javascript|plain|x(ml|-component))/
154
- FilterProvider COMPRESS DEFLATE resp=Content-Type /application/(javascript|json|xml|x-javascript)/
155
- FilterChain COMPRESS
156
- FilterProtocol COMPRESS change=yes;byteranges=no
157
- </IfModule>
158
-
159
- <IfModule !mod_filter.c>
160
- # Legacy versions of Apache
161
- AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
162
- AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript
163
- AddOutputFilterByType DEFLATE text/xml application/xml text/x-component
164
- </IfModule>
165
-
166
- # webfonts and svg:
167
- <FilesMatch "\.(ttf|otf|eot|svg)$" >
168
- SetOutputFilter DEFLATE
169
- </FilesMatch>
170
- </IfModule>
171
-
172
-
173
-
174
- # ----------------------------------------------------------------------
175
- # Expires headers (for better cache control)
176
- # ----------------------------------------------------------------------
177
-
178
- # these are pretty far-future expires headers
179
- # they assume you control versioning with cachebusting query params like
180
- # <script src="application.js?20100608">
181
- # additionally, consider that outdated proxies may miscache
182
- # www.stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring/
183
-
184
- # if you don't use filenames to version, lower the css and js to something like
185
- # "access plus 1 week" or so
186
-
187
- <IfModule mod_expires.c>
188
- ExpiresActive on
189
-
190
- # Perhaps better to whitelist expires rules? Perhaps.
191
- ExpiresDefault "access plus 1 month"
192
-
193
- # cache.appcache needs re-requests in FF 3.6 (thx Remy ~Introducing HTML5)
194
- ExpiresByType text/cache-manifest "access plus 0 seconds"
195
-
196
- # your document html
197
- ExpiresByType text/html "access plus 0 seconds"
198
-
199
- # data
200
- ExpiresByType text/xml "access plus 0 seconds"
201
- ExpiresByType application/xml "access plus 0 seconds"
202
- ExpiresByType application/json "access plus 0 seconds"
203
-
204
- # rss feed
205
- ExpiresByType application/rss+xml "access plus 1 hour"
206
-
207
- # favicon (cannot be renamed)
208
- ExpiresByType image/x-icon "access plus 1 week"
209
-
210
- # media: images, video, audio
211
- ExpiresByType image/gif "access plus 1 month"
212
- ExpiresByType image/png "access plus 1 month"
213
- ExpiresByType image/jpg "access plus 1 month"
214
- ExpiresByType image/jpeg "access plus 1 month"
215
- ExpiresByType video/ogg "access plus 1 month"
216
- ExpiresByType audio/ogg "access plus 1 month"
217
- ExpiresByType video/mp4 "access plus 1 month"
218
- ExpiresByType video/webm "access plus 1 month"
219
-
220
- # htc files (css3pie)
221
- ExpiresByType text/x-component "access plus 1 month"
222
-
223
- # webfonts
224
- ExpiresByType font/truetype "access plus 1 month"
225
- ExpiresByType font/opentype "access plus 1 month"
226
- ExpiresByType application/x-font-woff "access plus 1 month"
227
- ExpiresByType image/svg+xml "access plus 1 month"
228
- ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
229
-
230
- # css and javascript
231
- ExpiresByType text/css "access plus 2 months"
232
- ExpiresByType application/javascript "access plus 2 months"
233
- ExpiresByType text/javascript "access plus 2 months"
234
-
235
- <IfModule mod_headers.c>
236
- Header append Cache-Control "public"
237
- </IfModule>
238
-
239
- </IfModule>
240
-
241
-
242
-
243
- # ----------------------------------------------------------------------
244
- # ETag removal
245
- # ----------------------------------------------------------------------
246
-
247
- # Since we're sending far-future expires, we don't need ETags for
248
- # static content.
249
- # developer.yahoo.com/performance/rules.html#etags
250
- FileETag None
251
-
252
-
253
-
254
- # ----------------------------------------------------------------------
255
- # Stop screen flicker in IE on CSS rollovers
256
- # ----------------------------------------------------------------------
257
-
258
- # The following directives stop screen flicker in IE on CSS rollovers - in
259
- # combination with the "ExpiresByType" rules for images (see above). If
260
- # needed, un-comment the following rules.
261
-
262
- # BrowserMatch "MSIE" brokenvary=1
263
- # BrowserMatch "Mozilla/4.[0-9]{2}" brokenvary=1
264
- # BrowserMatch "Opera" !brokenvary
265
- # SetEnvIf brokenvary 1 force-no-vary
266
-
267
-
268
-
269
- # ----------------------------------------------------------------------
270
- # Cookie setting from iframes
271
- # ----------------------------------------------------------------------
272
-
273
- # Allow cookies to be set from iframes (for IE only)
274
- # If needed, uncomment and specify a path or regex in the Location directive
275
-
276
- # <IfModule mod_headers.c>
277
- # <Location />
278
- # Header set P3P "policyref=\"/w3c/p3p.xml\", CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""
279
- # </Location>
280
- # </IfModule>
281
-
282
-
283
-
284
- # ----------------------------------------------------------------------
285
- # Start rewrite engine
286
- # ----------------------------------------------------------------------
287
-
288
- # Turning on the rewrite engine is necessary for the following rules and features.
289
-
290
- <IfModule mod_rewrite.c>
291
- RewriteEngine On
292
- </IfModule>
293
-
294
-
295
-
296
- # ----------------------------------------------------------------------
297
- # Suppress or force the "www." at the beginning of URLs
298
- # ----------------------------------------------------------------------
299
-
300
- # The same content should never be available under two different URLs - especially not with and
301
- # without "www." at the beginning, since this can cause SEO problems (duplicate content).
302
- # That's why you should choose one of the alternatives and redirect the other one.
303
-
304
- # By default option 1 (no "www.") is activated. Remember: Shorter URLs are sexier.
305
- # no-www.org/faq.php?q=class_b
306
-
307
- # If you rather want to use option 2, just comment out all option 1 lines
308
- # and uncomment option 2.
309
- # IMPORTANT: NEVER USE BOTH RULES AT THE SAME TIME!
310
-
311
- # ----------------------------------------------------------------------
312
-
313
- # Option 1:
314
- # Rewrite "www.domain.com -> domain.com"
315
-
316
- #<IfModule mod_rewrite.c>
317
- # RewriteCond %{HTTPS} !=on
318
- # RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
319
- # RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
320
- #</IfModule>
321
-
322
- # ----------------------------------------------------------------------
323
-
324
- # Option 2:
325
- # To rewrite "domain.com -> www.domain.com" uncomment the following lines.
326
- # Be aware that the following rule might not be a good idea if you
327
- # use "real" subdomains for certain parts of your website.
328
-
329
- #<IfModule mod_rewrite.c>
330
- # RewriteCond %{HTTPS} !=on
331
- # RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
332
- # RewriteCond %{HTTP_HOST} (.+)$ [NC]
333
- # RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L]
334
- #</IfModule>
335
-
336
-
337
-
338
- # ----------------------------------------------------------------------
339
- # Add/remove trailing slash to (non-file) URLs
340
- # ----------------------------------------------------------------------
341
-
342
- # Google treats URLs with and without trailing slashes separately.
343
- # Forcing a trailing slash is usually preferred, but all that's really
344
- # important is that one correctly redirects to the other.
345
-
346
- # By default option 1 (force trailing slash) is activated.
347
- # http://googlewebmastercentral.blogspot.com/2010/04/to-slash-or-not-to-slash.html
348
- # http://www.alistapart.com/articles/slashforward/
349
- # http://httpd.apache.org/docs/2.0/misc/rewriteguide.html#url Trailing Slash Problem
350
-
351
- # ----------------------------------------------------------------------
352
-
353
- # Option 1:
354
- # Rewrite "domain.com/foo -> domain.com/foo/"
355
-
356
- <IfModule mod_rewrite.c>
357
- RewriteCond %{REQUEST_FILENAME} !-f
358
- RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/|#(.*))$
359
- RewriteRule ^(.*)$ /$1/ [R=301,L]
360
- </IfModule>
361
-
362
- # ----------------------------------------------------------------------
363
-
364
- # Option 2:
365
- # Rewrite "domain.com/foo/ -> domain.com/foo"
366
-
367
- #<IfModule mod_rewrite.c>
368
- # RewriteRule ^(.*)/$ /$1 [R=301,L]
369
- #</IfModule>
370
-
371
-
372
-
373
- # ----------------------------------------------------------------------
374
- # Built-in filename-based cache busting
375
- # ----------------------------------------------------------------------
376
-
377
- # If you're not using the build script to manage your filename version revving,
378
- # you might want to consider enabling this, which will route requests for
379
- # /css/all.20110203.css to /res/all.css
380
-
381
- # To understand why this is important and a better idea than all.css?v1231,
382
- # read: github.com/paulirish/html5-boilerplate/wiki/Version-Control-with-Cachebusting
383
-
384
- # Uncomment to enable.
385
- # <IfModule mod_rewrite.c>
386
- # RewriteCond %{REQUEST_FILENAME} !-f
387
- # RewriteCond %{REQUEST_FILENAME} !-d
388
- # RewriteRule ^(.+)\.(\d+)\.(js|css|png|jpg|gif)$ $1.$3 [L]
389
- # </IfModule>
390
-
391
-
392
-
393
- # ----------------------------------------------------------------------
394
- # Prevent SSL cert warnings
395
- # ----------------------------------------------------------------------
396
-
397
- # Rewrite secure requests properly to prevent SSL cert warnings, e.g. prevent
398
- # https://www.domain.com when your cert only allows https://secure.domain.com
399
- # Uncomment the following lines to use this feature.
400
-
401
- # <IfModule mod_rewrite.c>
402
- # RewriteCond %{SERVER_PORT} !^443
403
- # RewriteRule (.*) https://example-domain-please-change-me.com/$1 [R=301,L]
404
- # </IfModule>
405
-
406
-
407
-
408
- # ----------------------------------------------------------------------
409
- # Prevent 404 errors for non-existing redirected folders
410
- # ----------------------------------------------------------------------
411
-
412
- # without -MultiViews, Apache will give a 404 for a rewrite if a folder of the same name does not exist
413
- # e.g. /blog/hello : webmasterworld.com/apache/3808792.htm
414
-
415
- Options -MultiViews
416
-
417
-
418
-
419
- # ----------------------------------------------------------------------
420
- # custom 404 page
421
- # ----------------------------------------------------------------------
422
-
423
- # You can add custom pages to handle 500 or 403 pretty easily, if you like.
424
- ErrorDocument 404 /404.html
425
-
426
-
427
-
428
- # ----------------------------------------------------------------------
429
- # UTF-8 encoding
430
- # ----------------------------------------------------------------------
431
-
432
- # use utf-8 encoding for anything served text/plain or text/html
433
- AddDefaultCharset utf-8
434
-
435
- # force utf-8 for a number of file formats
436
- AddCharset utf-8 .html .css .js .xml .json .rss
437
-
438
-
439
-
440
- # ----------------------------------------------------------------------
441
- # A little more security
442
- # ----------------------------------------------------------------------
443
-
444
-
445
- # Do we want to advertise the exact version number of Apache we're running?
446
- # Probably not.
447
- ## This can only be enabled if used in httpd.conf - It will not work in .htaccess
448
- # ServerTokens Prod
449
-
450
-
451
- # "-Indexes" will have Apache block users from browsing folders without a default document
452
- # Usually you should leave this activated, because you shouldn't allow everybody to surf through
453
- # every folder on your server (which includes rather private places like CMS system folders).
454
- # Options -Indexes
455
-
456
-
457
- # Block access to "hidden" directories whose names begin with a period. This
458
- # includes directories used by version control systems such as Subversion or Git.
459
- <IfModule mod_rewrite.c>
460
- RewriteRule "(^|/)\." - [F]
461
- </IfModule>
462
-
463
-
464
- # If your server is not already configured as such, the following directive
465
- # should be uncommented in order to set PHP's register_globals option to OFF.
466
- # This closes a major security hole that is abused by most XSS (cross-site
467
- # scripting) attacks. For more information: http://php.net/register_globals
468
- #
469
- # IF REGISTER_GLOBALS DIRECTIVE CAUSES 500 INTERNAL SERVER ERRORS :
470
- #
471
- # Your server does not allow PHP directives to be set via .htaccess. In that
472
- # case you must make this change in your php.ini file instead. If you are
473
- # using a commercial web host, contact the administrators for assistance in
474
- # doing this. Not all servers allow local php.ini files, and they should
475
- # include all PHP configurations (not just this one), or you will effectively
476
- # reset everything to PHP defaults. Consult www.php.net for more detailed
477
- # information about setting PHP directives.
478
-
479
- # php_flag register_globals Off
480
- #
481
- # Mobile Redirection to /www/mobile/
482
- #
483
- RewriteBase /
484
-
485
-
486
-
487
-
488
-