That's about what I ended up with. The apache that I installed from
macports runs as user "www", so I moved my Rails app outside of my
user's folder, into Library/WebServer, then changed permissions so the
www user could read files in the public folder. removing the "order
deny,allow" stuff was the last bit to get it to work.
I wrote it up on my blog at http://brianketelsen.blogspot.com if it's
useful to anyone else on Leopard.
On Apr 12, 6:49 am, kwe <kwev...@gmail.com> wrote:
Apache runs as an username called Daemon by default so you may wish to
changed that in the httpd.conf (or alter folder/file permissions in
you app). Also I needed to comment out two lines in the conf..
<Directory />
Options FollowSymLinks
AllowOverride None
# Order deny,allow ! here
# Deny from all
</Directory>
It then works, but I'd need to do more research before doing this in
production use.
On Apr 12, 1:48 am, Brian <bket...@gmail.com> wrote:
I'm trying to install on a macports version of Apache2 installed in /
opt/local/apache2. I can start apache, and it says the passenger
module is loaded, but I'm getting errors like these:
[Fri Apr 11 20:39:55 2008] [error] [client ::1] (13)Permission denied:
access to / denied
[Fri Apr 11 20:39:55 2008] [error] [client ::1] (13)Permission denied:
access to /favicon.ico denied, referer:http://www.mysite.local/
my vhosts configuration looks like this:
<VirtualHost *:80>
ServerNamewww.mysite.local
RailsBaseURI /public
DocumentRoot /Users/briank/Projects/myproject/trunk/public
</VirtualHost>
and i have the appropriate dns entry in /etc/hosts so thatwww.mysite.local
resolves to 127.0.0.1