Forum Moderators: phranque
Can I serve an ASP page, through an Apache server?...
I have hosting which is IIS, and its all great and suuuper easy with ASP...BUT I just love the funky Apache directory capabilities....
so, I decided to dabble in all that malarkie and now have a linux account tooo.
My question is basically can I serve up an ASP page which is on another server through a nicly formatted web address given by my linux account?
so instead of seeing:
www.myASPsite.com/something/file.asp
they see:
www.myPHPsite.com/whatever/whatever
but are actually looking at the html given and already processed by the other server?
Welcome to WebmasterWorld!
> My question is basically can I serve up an ASP page which is on another server through a nicly formatted web address given by my linux account?
Sure, see Apache mod_proxy [httpd.apache.org]. If you define the php URL-path as being proxied to your asp server, this will work automagically. Just be aware that the requests for the asp page will pass *through* the php server in both directions, and from the asp server's point of view, these requests will always appear to be originating at the php server. You can probably set an X-Forwarded-For header in these requests if this is a security or tracking/logging problem.
Jim