Initial import
40
public/.htaccess
Normal file
@@ -0,0 +1,40 @@
|
||||
# General Apache options
|
||||
AddHandler fastcgi-script .fcgi
|
||||
AddHandler cgi-script .cgi
|
||||
Options +FollowSymLinks +ExecCGI
|
||||
|
||||
# If you don't want Rails to look in certain directories,
|
||||
# use the following rewrite rules so that Apache won't rewrite certain requests
|
||||
#
|
||||
# Example:
|
||||
# RewriteCond %{REQUEST_URI} ^/notrails.*
|
||||
# RewriteRule .* - [L]
|
||||
|
||||
# Redirect all requests not available on the filesystem to Rails
|
||||
# By default the cgi dispatcher is used which is very slow
|
||||
#
|
||||
# For better performance replace the dispatcher with the fastcgi one
|
||||
#
|
||||
# Example:
|
||||
# RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
|
||||
RewriteEngine On
|
||||
|
||||
# If your Rails application is accessed via an Alias directive,
|
||||
# then you MUST also set the RewriteBase in this htaccess file.
|
||||
#
|
||||
# Example:
|
||||
# Alias /myrailsapp /path/to/myrailsapp/public
|
||||
# RewriteBase /myrailsapp
|
||||
|
||||
RewriteRule ^$ index.html [QSA]
|
||||
RewriteRule ^([^.]+)$ $1.html [QSA]
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
|
||||
|
||||
# In case Rails experiences terminal errors
|
||||
# Instead of displaying this message you can supply a file here which will be rendered instead
|
||||
#
|
||||
# Example:
|
||||
# ErrorDocument 500 /500.html
|
||||
|
||||
ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"
|
||||
29
public/401.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<title>Access denied (401)</title>
|
||||
<style type="text/css">
|
||||
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
||||
div.dialog {
|
||||
width: 25em;
|
||||
padding: 0 4em;
|
||||
margin: 4em auto 0 auto;
|
||||
border: 1px solid #ccc;
|
||||
border-right-color: #999;
|
||||
border-bottom-color: #999;
|
||||
}
|
||||
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- This file lives in public/401.html -->
|
||||
<div class="dialog">
|
||||
<h1>Access denied</h1>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
30
public/404.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<title>The page you were looking for doesn't exist (404)</title>
|
||||
<style type="text/css">
|
||||
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
||||
div.dialog {
|
||||
width: 25em;
|
||||
padding: 0 4em;
|
||||
margin: 4em auto 0 auto;
|
||||
border: 1px solid #ccc;
|
||||
border-right-color: #999;
|
||||
border-bottom-color: #999;
|
||||
}
|
||||
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- This file lives in public/404.html -->
|
||||
<div class="dialog">
|
||||
<h1>The page you were looking for doesn't exist.</h1>
|
||||
<p>You may have mistyped the address or the page may have moved.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
30
public/422.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<title>The change you wanted was rejected (422)</title>
|
||||
<style type="text/css">
|
||||
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
||||
div.dialog {
|
||||
width: 25em;
|
||||
padding: 0 4em;
|
||||
margin: 4em auto 0 auto;
|
||||
border: 1px solid #ccc;
|
||||
border-right-color: #999;
|
||||
border-bottom-color: #999;
|
||||
}
|
||||
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- This file lives in public/422.html -->
|
||||
<div class="dialog">
|
||||
<h1>The change you wanted was rejected.</h1>
|
||||
<p>Maybe you tried to change something you didn't have access to.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
30
public/500.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<title>We're sorry, but something went wrong (500)</title>
|
||||
<style type="text/css">
|
||||
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
||||
div.dialog {
|
||||
width: 25em;
|
||||
padding: 0 4em;
|
||||
margin: 4em auto 0 auto;
|
||||
border: 1px solid #ccc;
|
||||
border-right-color: #999;
|
||||
border-bottom-color: #999;
|
||||
}
|
||||
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- This file lives in public/500.html -->
|
||||
<div class="dialog">
|
||||
<h1>We're sorry, but something went wrong.</h1>
|
||||
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
10
public/dispatch.cgi
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/ruby18
|
||||
|
||||
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
|
||||
|
||||
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
|
||||
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
|
||||
require "dispatcher"
|
||||
|
||||
ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
|
||||
Dispatcher.dispatch
|
||||
24
public/dispatch.fcgi
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/ruby18
|
||||
#
|
||||
# You may specify the path to the FastCGI crash log (a log of unhandled
|
||||
# exceptions which forced the FastCGI instance to exit, great for debugging)
|
||||
# and the number of requests to process before running garbage collection.
|
||||
#
|
||||
# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
|
||||
# and the GC period is nil (turned off). A reasonable number of requests
|
||||
# could range from 10-100 depending on the memory footprint of your app.
|
||||
#
|
||||
# Example:
|
||||
# # Default log path, normal GC behavior.
|
||||
# RailsFCGIHandler.process!
|
||||
#
|
||||
# # Default log path, 50 requests between GC.
|
||||
# RailsFCGIHandler.process! nil, 50
|
||||
#
|
||||
# # Custom log path, normal GC behavior.
|
||||
# RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
|
||||
#
|
||||
require File.dirname(__FILE__) + "/../config/environment"
|
||||
require 'fcgi_handler'
|
||||
|
||||
RailsFCGIHandler.process!
|
||||
10
public/dispatch.rb
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/ruby18
|
||||
|
||||
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
|
||||
|
||||
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
|
||||
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
|
||||
require "dispatcher"
|
||||
|
||||
ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
|
||||
Dispatcher.dispatch
|
||||
0
public/favicon.ico
Normal file
BIN
public/images/action/add.gif
Normal file
|
After Width: | Height: | Size: 101 B |
BIN
public/images/action/arrow2_n.gif
Normal file
|
After Width: | Height: | Size: 97 B |
BIN
public/images/action/arrow2_s.gif
Normal file
|
After Width: | Height: | Size: 97 B |
BIN
public/images/action/edit.gif
Normal file
|
After Width: | Height: | Size: 105 B |
BIN
public/images/action/subtract.gif
Normal file
|
After Width: | Height: | Size: 76 B |
BIN
public/images/action/trash.gif
Normal file
|
After Width: | Height: | Size: 108 B |
BIN
public/images/action/undo.gif
Normal file
|
After Width: | Height: | Size: 103 B |
BIN
public/images/avatar.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
public/images/bg_body.png
Normal file
|
After Width: | Height: | Size: 217 B |
BIN
public/images/bg_menu.png
Normal file
|
After Width: | Height: | Size: 717 B |
BIN
public/images/bullet.gif
Normal file
|
After Width: | Height: | Size: 69 B |
BIN
public/images/footer_bg.png
Normal file
|
After Width: | Height: | Size: 184 B |
BIN
public/images/header_bg.png
Normal file
|
After Width: | Height: | Size: 151 B |
BIN
public/images/loading.gif
Normal file
|
After Width: | Height: | Size: 847 B |
BIN
public/images/rails.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
public/images/rascunho.png
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
BIN
public/images/site_bg.png
Normal file
|
After Width: | Height: | Size: 238 B |
BIN
public/images/tango/accessories-calculator.png
Normal file
|
After Width: | Height: | Size: 686 B |
BIN
public/images/tango/accessories-character-map.png
Normal file
|
After Width: | Height: | Size: 558 B |
BIN
public/images/tango/accessories-text-editor.png
Normal file
|
After Width: | Height: | Size: 574 B |
BIN
public/images/tango/address-book-new.png
Normal file
|
After Width: | Height: | Size: 796 B |
BIN
public/images/tango/application-x-executable.png
Normal file
|
After Width: | Height: | Size: 560 B |
BIN
public/images/tango/applications-accessories.png
Normal file
|
After Width: | Height: | Size: 937 B |
BIN
public/images/tango/applications-development.png
Normal file
|
After Width: | Height: | Size: 765 B |
BIN
public/images/tango/applications-games.png
Normal file
|
After Width: | Height: | Size: 346 B |
BIN
public/images/tango/applications-graphics.png
Normal file
|
After Width: | Height: | Size: 635 B |
BIN
public/images/tango/applications-internet.png
Normal file
|
After Width: | Height: | Size: 864 B |
BIN
public/images/tango/applications-multimedia.png
Normal file
|
After Width: | Height: | Size: 592 B |
BIN
public/images/tango/applications-office.png
Normal file
|
After Width: | Height: | Size: 769 B |
BIN
public/images/tango/applications-other.png
Normal file
|
After Width: | Height: | Size: 609 B |
BIN
public/images/tango/applications-system.png
Normal file
|
After Width: | Height: | Size: 588 B |
BIN
public/images/tango/appointment-new.png
Normal file
|
After Width: | Height: | Size: 897 B |
BIN
public/images/tango/audio-card.png
Normal file
|
After Width: | Height: | Size: 879 B |
BIN
public/images/tango/audio-input-microphone.png
Normal file
|
After Width: | Height: | Size: 703 B |
BIN
public/images/tango/audio-volume-high.png
Normal file
|
After Width: | Height: | Size: 685 B |
BIN
public/images/tango/audio-volume-low.png
Normal file
|
After Width: | Height: | Size: 500 B |
BIN
public/images/tango/audio-volume-medium.png
Normal file
|
After Width: | Height: | Size: 592 B |
BIN
public/images/tango/audio-volume-muted.png
Normal file
|
After Width: | Height: | Size: 632 B |
BIN
public/images/tango/audio-x-generic.png
Normal file
|
After Width: | Height: | Size: 419 B |
BIN
public/images/tango/battery-caution.png
Normal file
|
After Width: | Height: | Size: 816 B |
BIN
public/images/tango/battery.png
Normal file
|
After Width: | Height: | Size: 873 B |
BIN
public/images/tango/camera-photo.png
Normal file
|
After Width: | Height: | Size: 864 B |
BIN
public/images/tango/camera-video.png
Normal file
|
After Width: | Height: | Size: 701 B |
BIN
public/images/tango/computer.png
Normal file
|
After Width: | Height: | Size: 443 B |
BIN
public/images/tango/contact-new.png
Normal file
|
After Width: | Height: | Size: 628 B |
BIN
public/images/tango/document-new.png
Normal file
|
After Width: | Height: | Size: 477 B |
BIN
public/images/tango/document-open.png
Normal file
|
After Width: | Height: | Size: 537 B |
BIN
public/images/tango/document-print-preview.png
Normal file
|
After Width: | Height: | Size: 779 B |
BIN
public/images/tango/document-print.png
Normal file
|
After Width: | Height: | Size: 544 B |
BIN
public/images/tango/document-properties.png
Normal file
|
After Width: | Height: | Size: 464 B |
BIN
public/images/tango/document-save-as.png
Normal file
|
After Width: | Height: | Size: 866 B |
BIN
public/images/tango/document-save.png
Normal file
|
After Width: | Height: | Size: 911 B |
BIN
public/images/tango/drive-harddisk.png
Normal file
|
After Width: | Height: | Size: 603 B |
BIN
public/images/tango/drive-optical.png
Normal file
|
After Width: | Height: | Size: 720 B |
BIN
public/images/tango/drive-removable-media.png
Normal file
|
After Width: | Height: | Size: 510 B |
BIN
public/images/tango/edit-clear.png
Normal file
|
After Width: | Height: | Size: 773 B |
BIN
public/images/tango/edit-copy.png
Normal file
|
After Width: | Height: | Size: 498 B |
BIN
public/images/tango/edit-cut.png
Normal file
|
After Width: | Height: | Size: 807 B |
BIN
public/images/tango/edit-delete.png
Normal file
|
After Width: | Height: | Size: 680 B |
BIN
public/images/tango/edit-find-replace.png
Normal file
|
After Width: | Height: | Size: 776 B |
BIN
public/images/tango/edit-find.png
Normal file
|
After Width: | Height: | Size: 617 B |
BIN
public/images/tango/edit-paste.png
Normal file
|
After Width: | Height: | Size: 561 B |
BIN
public/images/tango/edit-redo.png
Normal file
|
After Width: | Height: | Size: 591 B |
BIN
public/images/tango/edit-select-all.png
Normal file
|
After Width: | Height: | Size: 441 B |
BIN
public/images/tango/edit-undo.png
Normal file
|
After Width: | Height: | Size: 650 B |
BIN
public/images/tango/emblem-favorite.png
Normal file
|
After Width: | Height: | Size: 788 B |
BIN
public/images/tango/emblem-important.png
Normal file
|
After Width: | Height: | Size: 717 B |
BIN
public/images/tango/emblem-photos.png
Normal file
|
After Width: | Height: | Size: 644 B |
BIN
public/images/tango/emblem-readonly.png
Normal file
|
After Width: | Height: | Size: 430 B |
BIN
public/images/tango/emblem-symbolic-link.png
Normal file
|
After Width: | Height: | Size: 459 B |
BIN
public/images/tango/emblem-system.png
Normal file
|
After Width: | Height: | Size: 629 B |
BIN
public/images/tango/emblem-unreadable.png
Normal file
|
After Width: | Height: | Size: 518 B |
BIN
public/images/tango/face-angel.png
Normal file
|
After Width: | Height: | Size: 992 B |
BIN
public/images/tango/face-crying.png
Normal file
|
After Width: | Height: | Size: 936 B |
BIN
public/images/tango/face-devilish.png
Normal file
|
After Width: | Height: | Size: 855 B |
BIN
public/images/tango/face-kiss.png
Normal file
|
After Width: | Height: | Size: 919 B |
BIN
public/images/tango/face-monkey.png
Normal file
|
After Width: | Height: | Size: 784 B |
BIN
public/images/tango/face-plain.png
Normal file
|
After Width: | Height: | Size: 894 B |
BIN
public/images/tango/face-sad.png
Normal file
|
After Width: | Height: | Size: 918 B |
BIN
public/images/tango/face-smile-big.png
Normal file
|
After Width: | Height: | Size: 896 B |
BIN
public/images/tango/face-smile.png
Normal file
|
After Width: | Height: | Size: 919 B |
BIN
public/images/tango/face-surprise.png
Normal file
|
After Width: | Height: | Size: 917 B |
BIN
public/images/tango/face-wink.png
Normal file
|
After Width: | Height: | Size: 914 B |
BIN
public/images/tango/folder-new.png
Normal file
|
After Width: | Height: | Size: 635 B |
BIN
public/images/tango/folder-remote.png
Normal file
|
After Width: | Height: | Size: 591 B |
BIN
public/images/tango/folder.png
Normal file
|
After Width: | Height: | Size: 498 B |
BIN
public/images/tango/font-x-generic.png
Normal file
|
After Width: | Height: | Size: 627 B |
BIN
public/images/tango/format-indent-less.png
Normal file
|
After Width: | Height: | Size: 436 B |
BIN
public/images/tango/format-indent-more.png
Normal file
|
After Width: | Height: | Size: 435 B |
BIN
public/images/tango/format-justify-center.png
Normal file
|
After Width: | Height: | Size: 330 B |
BIN
public/images/tango/format-justify-fill.png
Normal file
|
After Width: | Height: | Size: 317 B |