I just dealt with this yesterday, it took a while to figure it out. For me, it had to do with using RewriteBase in side of a VirtualHost declaration. There relevant lines in my .conf ended up looking like this
<VirtualHost *:80> ServerName www.example.org DocumentRoot /www/survey <Directory /www/survey/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all </Directory> Alias /application /www/application/current/public <Directory "/www/application/current/public"> Options FollowSymLinks AllowOverride None Order allow,deny Allow from all RewriteEngine On RewriteBase /application/ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ balancer://application_mongrel_cluster% {REQUEST_URI} [P,QSA,L] </Directory> </VirtualHost> Hope that helps. -Jason On Feb 10, 2007, at 2:19 AM, Alexey Verkhovsky wrote: > "Forbidden > You don't have permission to access /testruby/ on this server. > You may need to create an index.html page or enable the directory > browsing by creating an .htaccess file containing "Options +Indexes"." > > > Your Apache doesn't know that you want it to route requests for > testruby/ to your Rails app (which must be a separate process > running on a separate port, connected to Apache via some form of a > proxy). > > Read this: http://mongrel.rubyforge.org/docs/apache.html > > Best regards, > Alex Verkhovsky > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---