[Instantrails-users] Strange Path Problem

David Morton mortonda at dgrmm.net
Mon Nov 28 18:17:26 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alex Ezell wrote:
> I have the sample cookbook app working fine. However, when I create a
> new rails app and add a new Virtual Host to httpd.conf and a new hosts
> entry and start the scgi server, the page being shown is still the
> cookbook app.

> Any ideas?

When a request comes in to apache, if it doesn't match exactly on a ServerName
directive, it will use the first virtual host found in the config file.  Did you
modify the ServerName line?  Is it exactly the same as your hosts file and what
you use in the URL?


- --
David Morton
Maia Mailguard                        - http://www.maiamailguard.com
Morton Software Design and Consulting - http://www.dgrmm.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDi5AGSIxC85HZHLMRAmvFAJ9u4qvKEdCjklMTT0i17js+mZm0hwCfRIda
JO0XRdjWCiqEM85IQATr6ls=
=IO2z
-----END PGP SIGNATURE-----


More information about the Instantrails-users mailing list