[Instantrails-users] Strange Path Problem
curt.hibbs at gmail.com
Mon Nov 28 20:35:50 EST 2005
Maybe its your browser cache.
Anyway, try this: rename the cookbook directory so that it can't be found by
Apache. Either delete the cookbook's VirtualHost section, or make sure you
app's VirtualHost appears first in httpd.conf.
now try accesing your app. If you still get the cookbook redirect page, then
its got to be your browser cache, so hold down the shift key and click on
the refresh button (this should bypass your browser cache).
On 11/28/05, Alex Ezell <aezell at gmail.com> wrote:
> On 11/28/05, David Morton <mortonda at dgrmm.net> wrote:
> > 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
> > 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?
> Yes, everything matches. I even tried taking out the VirtualHost entry
> for the cookbook app altogether and I still was getting the cookbook
> app. As I said, it was even showing me an old index.html for the
> cookbook app after I modified it just to see if I could see the
> Alex Ezell
> "Formal Restrictions, contrary to what you might think,
> free you up by allowing you to concentrate on purer ideas."
> - Winter Sorbeck in Chip Kidd's "The Cheese Monkeys"
> Instantrails-users mailing list
> Instantrails-users at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Instantrails-users