newbie question - 404

3 views
Skip to first unread message

Farmar

unread,
Oct 22, 2009, 4:22:22 AM10/22/09
to OpenRasta
I’m trying to run the demo app under a virtual dir but i get 404 on
the root - http://localhost/ordemo/ but the app goes to http://localhost/home
and i get a 404.
it works fine using the cassini server running on the root (http://
localhost:56789/)
I’m using builds/trunk/2.0.3102.385
What am i doing wrong?

Sean

Barry Dahlberg

unread,
Oct 23, 2009, 9:58:20 AM10/23/09
to OpenRasta
In the default.aspx of the demo app it has the following line:

<meta http-equiv="Refresh" content="0;url=/home" />

This wont work in a virtual directory as you discovered, perhaps try
replacing it with something that works for your environment, e.g.

<meta http-equiv="Refresh" content="0;url=/ordemo/home" />

Barry

On Oct 22, 5:22 pm, Farmar <s.far...@gmail.com> wrote:
> I’m trying to run the demo app under a virtual dir but i get 404 on
> the root -http://localhost/ordemo/but the app goes tohttp://localhost/home

Farmar

unread,
Oct 23, 2009, 10:28:16 AM10/23/09
to OpenRasta
thanks for your help Barry unfortunately it doesn’t work... it's not
that important for now but i wonder how will this work once you deploy
it?

On Oct 23, 2:58 pm, Barry Dahlberg <barry.dahlb...@gmail.com> wrote:
> In the default.aspx of the demo app it has the following line:
>
>     <meta http-equiv="Refresh" content="0;url=/home" />
>
> This wont work in a virtual directory as you discovered, perhaps try
> replacing it with something that works for your environment, e.g.
>
>     <meta http-equiv="Refresh" content="0;url=/ordemo/home" />
>
> Barry
>
> On Oct 22, 5:22 pm, Farmar <s.far...@gmail.com> wrote:
>
> > I’m trying to run the demo app under a virtual dir but i get 404 on
> > the root -http://localhost/ordemo/butthe app goes tohttp://localhost/home

Sebastien Lambla

unread,
Oct 27, 2009, 6:32:13 AM10/27/09
to open...@googlegroups.com
Forgot to notify, but that's fixed too.

Farmar

unread,
Oct 27, 2009, 9:08:39 AM10/27/09
to OpenRasta
brilliant! thanks

On Oct 27, 10:32 am, "Sebastien Lambla" <s...@serialseb.com> wrote:
> Forgot to notify, but that's fixed too.
>
> -----Original Message-----
> From: open...@googlegroups.com [mailto:open...@googlegroups.com] On
>
> Behalf Of Farmar
> Sent: 23 October 2009 15:28
> To: OpenRasta
> Subject: [openrasta] Re: newbie question - 404
>
> thanks for your help Barry unfortunately it doesn’t work... it's not
> that important for now but i wonder how will this work once you deploy
> it?
>
> On Oct 23, 2:58 pm, Barry Dahlberg <barry.dahlb...@gmail.com> wrote:
> > In the default.aspx of the demo app it has the following line:
>
> >     <meta http-equiv="Refresh" content="0;url=/home" />
>
> > This wont work in a virtual directory as you discovered, perhaps try
> > replacing it with something that works for your environment, e.g.
>
> >     <meta http-equiv="Refresh" content="0;url=/ordemo/home" />
>
> > Barry
>
> > On Oct 22, 5:22 pm, Farmar <s.far...@gmail.com> wrote:
>
> > > I’m trying to run the demo app under a virtual dir but i get 404 on
> > > the root -http://localhost/ordemo/buttheapp goes
Reply all
Reply to author
Forward
0 new messages