Apacher vs Frontpage

This is a discussion on Apacher vs Frontpage within the Apache Web Server forums, part of the Web Server and Related Forums category; I have a www site hosted by a web hotel. The web hotel is running a Windows FontPage server (I ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-23-2006
John
 
Posts: n/a
Default Apacher vs Frontpage

I have a www site hosted by a web hotel. The web hotel is running a Windows
FontPage server (I believe).

I am also running an Apache Windows server at home.

On my Apache server I have an simple test.exe which just displays "Hello World"
(the source code is listed at the bottom of this message).

When I open the page http://localhost/cgi-bin/test.exe (or via www) when Apache
is serving I get a page with "Hello World" as expected.

But when I open the page http://www.mypage/test.exe when FrontPage is serving I
get a page with download instruction on the test.exe.
Or when I open a simple htm file at http://www.mypage/testing.htm I get nothing
but an empty page. The source for testing.htm is below.

What am I doing wrong?


html>
<head>
<title>Testing</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<!--#exec cgi="test.exe" -->
</body>
</html>


__stdcall int WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPTSTR
lpCmdLine,int nCmdShow)
{
cout << "Content-Type: text/html\n\n"; // output HTTP header
cout << "<html> <head> <title>Testing</title> ";
cout << "<meta http-equiv=\"Content-Type\" content=\"text/html;
charset=iso-8859-1\">";
cout << "</head> <body bgcolor=\"#FFFFFF\"> <p>Hello World</p> </body>
</html>";

return 0;
}
  #2 (permalink)  
Old 03-24-2006
Newsgroup Poster
 
Posts: n/a
Default Re: Apacher vs Frontpage

frontpage isn't a webserver - check your windows webserver - nothing to do with apache

"John" <John.Smith@invalid.com> wrote in message news:fjb5221gq4a7nfjs07tkbgq0et29gud4ic@4ax.com...
>I have a www site hosted by a web hotel. The web hotel is running a Windows
> FontPage server (I believe).
>
> I am also running an Apache Windows server at home.
>
> On my Apache server I have an simple test.exe which just displays "Hello World"
> (the source code is listed at the bottom of this message).
>
> When I open the page http://localhost/cgi-bin/test.exe (or via www) when Apache
> is serving I get a page with "Hello World" as expected.
>
> But when I open the page http://www.mypage/test.exe when FrontPage is serving I
> get a page with download instruction on the test.exe.
> Or when I open a simple htm file at http://www.mypage/testing.htm I get nothing
> but an empty page. The source for testing.htm is below.
>
> What am I doing wrong?
>
>
> html>
> <head>
> <title>Testing</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> </head>
> <body bgcolor="#FFFFFF">
> <!--#exec cgi="test.exe" -->
> </body>
> </html>
>
>
> __stdcall int WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPTSTR
> lpCmdLine,int nCmdShow)
> {
> cout << "Content-Type: text/html\n\n"; // output HTTP header
> cout << "<html> <head> <title>Testing</title> ";
> cout << "<meta http-equiv=\"Content-Type\" content=\"text/html;
> charset=iso-8859-1\">";
> cout << "</head> <body bgcolor=\"#FFFFFF\"> <p>Hello World</p> </body>
> </html>";
>
> return 0;
> }



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:46 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0