Permalink
Browse files

Allow proper directory access.

  • Loading branch information...
1 parent 976d7bd commit d5d77e392e8ff12da045008b71f56da3263fc652 @jbarnette committed Sep 12, 2010
Showing with 4 additions and 1 deletion.
  1. +4 −1 config/templates/apache.conf.erb
View
5 config/templates/apache.conf.erb
@@ -8,11 +8,14 @@
PassengerMaxInstancesPerApp 1
PassengerMaxPoolSize <%= @projects.size %>
- <Directory "/">
+ <Directory "<%= @public %>">
AuthName "Fortress"
AuthType Basic
AuthUserFile <%= @htpasswd %>
require valid-user
+
+ Order allow,deny
+ Allow from all
</Directory>
SetEnv RAILS_RELATIVE_URL_ROOT

0 comments on commit d5d77e3

Please sign in to comment.