L
Lionel
Hi,
I've a VB .Net web app (for example foo) on an internal server. In the
intranet we can access this application like this :
http://myserver/foo/index.aspx.
Now we want to make this application available on the Internet. We 've
set up an Apache forwarding on our LAN and we can access the
application :
http://www.fooapp.com/index.aspx is OK
But there is a problem each time we are using a Response.Redirect in
our code (in a postback for example).
For example if we want to redirect to index2.aspx (using
Response.Redirect("index2.aspx"), which is a webform located in the
same directory than index.aspx it fails on the Internet with a 404
error code because the we are redirected to :
http://www.fooapp.com/foo/index2.aspx and not to
http://www.fooapp.com/index2.aspx
Note : when you try to do the same Response.Redirect in an ASP (and not
..Net) page :it is OK !!! No additionnal /foo!
Have you an idea? (other than using Server.Transfer, we want to keep a
"true" URL on the client browser)
Thanks for your answers
Lionel
I've a VB .Net web app (for example foo) on an internal server. In the
intranet we can access this application like this :
http://myserver/foo/index.aspx.
Now we want to make this application available on the Internet. We 've
set up an Apache forwarding on our LAN and we can access the
application :
http://www.fooapp.com/index.aspx is OK
But there is a problem each time we are using a Response.Redirect in
our code (in a postback for example).
For example if we want to redirect to index2.aspx (using
Response.Redirect("index2.aspx"), which is a webform located in the
same directory than index.aspx it fails on the Internet with a 404
error code because the we are redirected to :
http://www.fooapp.com/foo/index2.aspx and not to
http://www.fooapp.com/index2.aspx
Note : when you try to do the same Response.Redirect in an ASP (and not
..Net) page :it is OK !!! No additionnal /foo!
Have you an idea? (other than using Server.Transfer, we want to keep a
"true" URL on the client browser)
Thanks for your answers
Lionel