Re: mod_ruby gets 503 error
Brian Candler <[email protected]> Sun, 22 Jan 2006 19:09:52 +0000
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
> > Now when I view the apache error log I noticed something interesting. > > It seems that somehow it is redirecting the .rb files to a default > > cgi-bin directory. It is showing this: > > > > [Sun Jan 22 02:36:10 2006] [error] [client 203.14.211.15] Symbolic link > > not allowed: /usr/local/www/cgi-bin/ > > [Sun Jan 22 06:55:12 2006] [error] [client 218.200.122.35] Symbolic link > > not allowed: /home/ > > > > Any ideas on how to fix this? > > Yes - either remove the symlinks, or set options FollowSymLinks in your > Apache config. For example, perhaps /usr/local/www/cgi-bin is a symlink to > /usr/local/www/cgi-bin-dist or something like that. The default is that > Apache will not follow them, for security reasons. In addition - as to why it's redirecting some page to a cgi-bin directory - I can't answer that unless you stick the whole Apache config on a website somewhere and post the URL here. Also, access a specific page (say /foo.rb) and post the access log and error log entries which correspond to that hit. Brian.