die musterdenker

Passenger – 403 Forbidden

Tags: , , ,

Running Passenger on an apache machine to deploy a RoR application I suddenly encountered a default

403 Forbidden – You don’t have permission to access / on this server.

page generated from apache, although it was working before and I didn’t made a single change to my apache server. No real help from the log files:

Directory index forbidden by rule: XYZ

After some time of searching and banging my head against the wall I realized what I did wrong:
I’m using capistrano for “easy” deployment and I added a symlink linking always to the same server “environment.rb”. Of course I had a misstyping there and the symlink and thus the environment.rb was empty. So check your environment.rb file if you get such a 403 page, it may be empty….

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • BlinkList
  • LinkedIn
  • MisterWong
  • MySpace
  • Netvibes
  • NewsVine
  • Reddit
  • StumbleUpon
  • Technorati
  • Yahoo! Bookmarks
  • Yahoo! Buzz
  • Yigg

Tags: , , ,

One Response to “Passenger – 403 Forbidden”


  1. wow gold
    on Apr 17th, 2010
    @ 04:08

    Nous fournissons wow po et wow power leveling pour les années.

Leave a Reply

© 2009 die musterdenker. All Rights Reserved.

This blog is powered by Wordpress and Magatheme by Bryan Helmig.