Hi Freddy

I am operating under ISPConfig, this is my Vhost File:


----------------------------------------------------------------------


NameVirtualHost xx.xx.xx.xx:80
<VirtualHost xx.xx.xx.xx:80>
  ServerName localhost
  ServerAdmin [EMAIL PROTECTED]
  DocumentRoot /var/www/sharedip
  <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
    RewriteRule .* - [F]
  </IfModule>
</VirtualHost>

<Proxy balancer://aekschencluster>
# Mitglieder des Clusters
BalancerMember http://xx.xx.xx.xx:82
</Proxy>

ExtendedStatus On

<VirtualHost xx.xx.xx.xx:80>

ProxyRequests Off
#ProxyPass /balancer-manager !
#ProxyPass /server-status !
ProxyPass / balancer://aekschencluster/
ProxyPassReverse / balancer://aekschencluster/

ServerName www.domain.tdl:80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/www/web1/web
ServerAlias domain.tdl
DirectoryIndex index.html index.htm index.php index.php5 index.php4 
index.php3 index.shtml index.cgi index.pl index.jsp Default.htm 
default.htm
Alias  /cgi-bin/ /var/www/web1/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web1/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode Off
<IfModule mod_ruby.c>
  <Directory /var/www/web1/web>
    #Options +ExecCGI
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>
  RubyRequire apache/ruby-run
  #RubySafeLevel 0
  <Files *.rb>
    SetHandler ruby-object
    RubyHandler Apache::RubyRun.instance
  </Files>
  <Files *.rbx>
    SetHandler ruby-object
    RubyHandler Apache::RubyRun.instance
  </Files>
</IfModule>
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/var/www/web1/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
  RewriteRule .* - [F]
</IfModule>
</VirtualHost>

----------------------------------------------------------------------

The ruby projekt is under var/www/web1/
The ruby public is under a symlink var/www/web1/public to 
var/www/web1/web/
The normal apache is under var/www/web1/web/


Is the error coming from the missing Directory entry?

Greetings Andi
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to