Mirror NT web server with Apache Server ( serving .asp files )

Mirror NT web server with Apache Server ( serving .asp files )

Post by l.. » Sat, 15 Nov 1997 04:00:00



Hello,

        I'm working on mirroring a web server. The server is an NT served site.
It uses Microsoft's IIS software. Pages that are generated have a .asp
extension. While Apache server can serve them to my browser, they are
not displayed as a document. But the content looks like html.

        I'm not sure I'm saying this correctly. But is there a way to serve out
the asp files as html files? Can I run them through a utility to
translate them? I'd rather not. I want to be able to mirror the site
with as little manipulation to the original files as possible.

        I'm using wget to copy the site from server to server.

        So, what can I do. I do not have access to the NT machine. Nor do I
want it. But, to cover my posterior, I need to provide some backup for
it.

        I hope this all makes sense.

        Thanks in advance,

        Lyndon

 
 
 

Mirror NT web server with Apache Server ( serving .asp files )

Post by Marc Slemk » Sat, 15 Nov 1997 04:00:00


ASP files are Microsoft's proprietary (even though there is a
third party product or two that can handle them) server side
scripting.  They normally need to be interpreted by something
that handles ASP before they have any useful meaning.  There
isn't really any way around that.  If you want to just ignore the
ASP in them (which may work for some pages, but isn't a good solution)
you could setup your server to serve .asp files as text/html.

This isn't something that Apache can reasonably support on Unix because
it is excessively dependent on Microsoft proprietary technology.

ChiliSoft (http://www.chilisoft.net/) has a non-MS ASP implementation
for some UNIX platforms.  Not sure if it is in beta yet.  It is a
very large pain to do.


>Hello,
>    I'm working on mirroring a web server. The server is an NT served site.
>It uses Microsoft's IIS software. Pages that are generated have a .asp
>extension. While Apache server can serve them to my browser, they are
>not displayed as a document. But the content looks like html.
>    I'm not sure I'm saying this correctly. But is there a way to serve out
>the asp files as html files? Can I run them through a utility to
>translate them? I'd rather not. I want to be able to mirror the site
>with as little manipulation to the original files as possible.
>    I'm using wget to copy the site from server to server.
>    So, what can I do. I do not have access to the NT machine. Nor do I
>want it. But, to cover my posterior, I need to provide some backup for
>it.
>    I hope this all makes sense.
>    Thanks in advance,
>    Lyndon


 
 
 

Mirror NT web server with Apache Server ( serving .asp files )

Post by Ed Thoms » Mon, 17 Nov 1997 04:00:00


:
:       I'm working on mirroring a web server. The server is an NT served site.
: It uses Microsoft's IIS software. Pages that are generated have a .asp
: extension. While Apache server can serve them to my browser, they are
: not displayed as a document. But the content looks like html.

I know nothing about IIS or ASP, but if .asp files are really full of
(real) HTML, then just make Apache send a text/html content-type header
for your .asp files.

Add a line such as:
text/html       asp

in your ${DOCROOT}/conf/mime.types

Ed