[Mono-list] Running ASP.NET on a 3rd party hosting provider
Daniel Freund
daniel.freund@zkrd.de
Fri, 08 Oct 2004 17:02:53 +0200
Hi Mike,
if your ISP allows configuration changes to Apache (maybe through
.htaccess files) you could use Apaches mod_proxy to create a reverse
proxy. You would need something like
ProxyPass /myMonoApp/ http://127.0.0.1:8088/myMonoApp/
ProxyPassReverse /myMonoApp/ http://127.0.0.1:8088/myMonoApp/
See Apache documentation at
http://httpd.apache.org/docs/mod/mod_proxy.html for details
If your ISP doesn't allow reverse proxying, you could use some kind of
hack to hide the "ugly URL" (I think you are talking of the port number)
Create a index.html with a frameset in /myMonoApp on the Apache document
root. The frameset consists of one frame that loads the ugly port
8088-Url (or whatever port xsp is listening on) url. The browser won't
show up the real URL with port number.
The frameset might look like this:
<frameset rows="*" frameborder="NO" border="0" framespacing="0">
<frame src="http://server:8088/myMonoApp" scrolling="NO" noresize>
</frameset>
/daniel
MikeOrb schrieb:
> Hi. I've been researching how to run Mono/ASP.NET on my hosting provider. I
> could run a server on a non-80 port, but I was hoping to not have such an
> "ugly" URL (although I could make a vanity URL for the advertised URL and
> have it redirect to the real app).
>
> I saw this post by Gonzalo on June 30 2004:
>
>
>>You can run xsp and making it listen on a port known to cgi-wrapper.
>>Then forward the requests.
>
>
> I'm not up to speed on cgi-wrapper. Is Gonzalo saying it can be configured
> to gateway to a URL on another server? I.e. act like a proxy, with my
> private version running at foo.com:8080 or some such and www.foo.com
> proxying to the 8080 version?
>
> My ISP is running Apache 1.3.31. Is what I am describing really something
> I'll be able to setup w/out system-level changes by my Web host?
>
> Thanks,
> -Mike
>
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
--
Daniel Freund Zentrales Knochenmarkspender-Register
Software Developer fuer die Bundesrepublik Deutschland
(German Ntl Bone Marrow Donor Registry)
phone: +49 (731) 1507-45 ZKRD gGmbH, P.O.B. 4244, D-89032 Ulm
fax : +49 (731) 1507-01 http://www.zkrd.de