On Thu, 17 Jun 2010, mistergoomba wrote:
Apologies. The error log helped me realize that I didn't replace
"host_name" in httpd-vhosts.conf
When I did this and tried to access the site on my machine, I was no
longer directed to the DocumentRoot for that server, rather the
default localhost location:
<VirtualHost *:80>
DocumentRoot "/Users/martin/Sites/allthat.dev/allthatrails/public"
ServerName allthat.dev
ProxyPass / balancer://allthat.dev/
ProxyPassReverse / balancer://allthat.dev/
</VirtualHost>
These are the errors:
[Thu Jun 17 13:10:05 2010] [notice] caught SIGTERM, shutting down
[Thu Jun 17 13:10:27 2010] [warn] Init: Session Cache is not
configured [hint: SSLSessionCache]
[Thu Jun 17 13:10:27 2010] [notice] Digest: generating secret for
digest authentication ...
[Thu Jun 17 13:10:27 2010] [notice] Digest: done
[Thu Jun 17 13:10:27 2010] [notice] Apache/2.2.14 (Unix) mod_ssl/
2.2.14 OpenSSL/0.9.8l DAV/2 PHP/5.3.1 configured -- resuming normal
operations
[Thu Jun 17 13:10:31 2010] [error] [client 127.0.0.1] File does not
exist: /Library/WebServer/Documents/favicon.ico
/Library/WebServer/Documents is the DocumentRoot for localhost
All of those errors are not related to your app not working. Is
"allthat.dev" directed towards localhost? I think I recall the hosts file
being rather dodgey on MacOS. There's nothing like Linux for these things.
And also, maybe you're just doing overkill. If all you want is a
development environment, you just need to `merb -a thin`, or just `merb`
as of latest version since "thin" is now the default adapter. This will
serve the whole app, by default, at localhost:4000. Make sure you have
thin installed (`gem install thin`) and you should be ready to go.
I guess I should have asked why you're even bothering with apache for a
local deployment =P
---
Michishige Kaito
BOFH excuse #205:
Quantum dynamics are affecting the transistors
--
You received this message because you are subscribed to the Google Groups
"merb" 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/merb?hl=en.