Rails 3 files
@@ -1,40 +0,0 @@
|
||||
# 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.fcgi [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"
|
||||
@@ -1,29 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,7 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<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; }
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<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; }
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<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; }
|
||||
@@ -21,7 +20,6 @@
|
||||
<!-- 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>
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/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
|
||||
@@ -1,24 +0,0 @@
|
||||
#!/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!
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/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
|
||||
|
Before Width: | Height: | Size: 101 B |
|
Before Width: | Height: | Size: 97 B |
|
Before Width: | Height: | Size: 97 B |
|
Before Width: | Height: | Size: 74 B |
|
Before Width: | Height: | Size: 105 B |
|
Before Width: | Height: | Size: 76 B |
|
Before Width: | Height: | Size: 108 B |
|
Before Width: | Height: | Size: 103 B |
|
Before Width: | Height: | Size: 502 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 217 B |
|
Before Width: | Height: | Size: 77 B |
|
Before Width: | Height: | Size: 717 B |
|
Before Width: | Height: | Size: 69 B |
|
Before Width: | Height: | Size: 184 B |
|
Before Width: | Height: | Size: 151 B |
|
Before Width: | Height: | Size: 847 B |
|
Before Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 238 B |
|
Before Width: | Height: | Size: 686 B |
|
Before Width: | Height: | Size: 558 B |
|
Before Width: | Height: | Size: 574 B |
|
Before Width: | Height: | Size: 796 B |
|
Before Width: | Height: | Size: 560 B |
|
Before Width: | Height: | Size: 937 B |
|
Before Width: | Height: | Size: 765 B |
|
Before Width: | Height: | Size: 346 B |
|
Before Width: | Height: | Size: 635 B |
|
Before Width: | Height: | Size: 864 B |
|
Before Width: | Height: | Size: 592 B |
|
Before Width: | Height: | Size: 769 B |
|
Before Width: | Height: | Size: 609 B |
|
Before Width: | Height: | Size: 588 B |
|
Before Width: | Height: | Size: 897 B |
|
Before Width: | Height: | Size: 879 B |
|
Before Width: | Height: | Size: 703 B |
|
Before Width: | Height: | Size: 685 B |
|
Before Width: | Height: | Size: 500 B |
|
Before Width: | Height: | Size: 592 B |
|
Before Width: | Height: | Size: 632 B |
|
Before Width: | Height: | Size: 419 B |
|
Before Width: | Height: | Size: 816 B |
|
Before Width: | Height: | Size: 873 B |
|
Before Width: | Height: | Size: 864 B |
|
Before Width: | Height: | Size: 701 B |
|
Before Width: | Height: | Size: 443 B |
|
Before Width: | Height: | Size: 628 B |
|
Before Width: | Height: | Size: 477 B |
|
Before Width: | Height: | Size: 537 B |
|
Before Width: | Height: | Size: 779 B |
|
Before Width: | Height: | Size: 544 B |
|
Before Width: | Height: | Size: 464 B |
|
Before Width: | Height: | Size: 866 B |
|
Before Width: | Height: | Size: 911 B |
|
Before Width: | Height: | Size: 603 B |
|
Before Width: | Height: | Size: 720 B |
|
Before Width: | Height: | Size: 510 B |
|
Before Width: | Height: | Size: 773 B |
|
Before Width: | Height: | Size: 498 B |
|
Before Width: | Height: | Size: 807 B |
|
Before Width: | Height: | Size: 680 B |
|
Before Width: | Height: | Size: 776 B |
|
Before Width: | Height: | Size: 617 B |
|
Before Width: | Height: | Size: 561 B |
|
Before Width: | Height: | Size: 591 B |
|
Before Width: | Height: | Size: 441 B |
|
Before Width: | Height: | Size: 650 B |
|
Before Width: | Height: | Size: 788 B |
|
Before Width: | Height: | Size: 717 B |
|
Before Width: | Height: | Size: 644 B |
|
Before Width: | Height: | Size: 430 B |
|
Before Width: | Height: | Size: 459 B |
|
Before Width: | Height: | Size: 629 B |
|
Before Width: | Height: | Size: 518 B |
|
Before Width: | Height: | Size: 992 B |
|
Before Width: | Height: | Size: 936 B |
|
Before Width: | Height: | Size: 855 B |
|
Before Width: | Height: | Size: 919 B |
|
Before Width: | Height: | Size: 784 B |
|
Before Width: | Height: | Size: 894 B |
|
Before Width: | Height: | Size: 918 B |
|
Before Width: | Height: | Size: 896 B |
|
Before Width: | Height: | Size: 919 B |
|
Before Width: | Height: | Size: 917 B |
|
Before Width: | Height: | Size: 914 B |
|
Before Width: | Height: | Size: 635 B |
|
Before Width: | Height: | Size: 591 B |
|
Before Width: | Height: | Size: 498 B |
|
Before Width: | Height: | Size: 627 B |
|
Before Width: | Height: | Size: 436 B |
|
Before Width: | Height: | Size: 435 B |