| T.R | Title | User | Personal Name | Date | Lines |
|---|
| 4510.1 | | axel.zko.dec.com::FOLEY | http://axel.zko.dec.com | Thu Feb 27 1997 12:07 | 4 |
|
Try msnews-gw.pa-x.dec.com instead.
mike
|
| 4510.2 | | HOUBA::MEHERS | Damian, http://bigbird.geo.dec.com/ | Thu Feb 27 1997 12:19 | 49 |
| The browser should see nothing ASP related, so there must be something
weird in the generated document ...
/Damian
FWIW, try out:
http://bigbird.geo.dec.com/asptest/who.asp
(who.asp is below - not beautiful, or commented, but it does the job).
<html>
<head>
<title>Who has been accessing Bigbird?</title>
</head>
<body>
<%@ LANGUAGE = "JavaScript" %>
<!--#include virtual="/ASPSAMP/SAMPLES/Adojavas.inc"-->
<%
if(Session("dbConn") == null)
{
Response.write("A New User!<P>");
Session("dbConn") = Server.CreateObject("ADODB.Connection");
Session("dbConn").open("islogs");
Session("ipInfo") = Server.CreateObject("IPINFO.INFO");
}
accessList = Session("dbConn").Execute("select * from lq") ;
Response.write("<table border=2>");
while(! accessList.eof)
{
Response.write("<tr>");
Response.write("<td><A HREF=\"http://www-rle.zuo.dec.com/cgi-bin/info_address?TCPIP=ipaddr&SEARCH=");
// Response.write(Session("ipInfo").toName(accessList("ClientHost")) + "\">");
Response.write(accessList("ClientHost") + " \">");
Response.write(Session("ipInfo").toName(accessList("ClientHost")) + "</a></td>");
// Response.write("<td><" + Session("ipInfo").toName(accessList("ClientHost")) + "</td>");
Response.write("<td>" + accessList("Expr1") + "</td>");
Response.write("<td>" + accessList("target") + "</td>");
Response.write("</tr>");
accessList.MoveNext();
}
Response.write("</table>");
accessList.close();
%>
</body>
</html>
|
| 4510.3 | works on yours... | NETRIX::"hardikar@mail.dec.com" | | Thu Feb 27 1997 12:49 | 19 |
| Thanks for replying! Yes - my netscape browser works nicely on yours. My
test file is simply like
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
test
</BODY>
</HTML>
try it at stage.ako.dec.com:90/test.asp
Any suggestions?
Jay
[Posted by WWW Notes gateway]
|
| 4510.4 | | KELVIN::VILCANS | | Thu Feb 27 1997 17:30 | 12 |
|
re: last
In explorer "file manager", check if the .asp extension is being
interpeted as a browser file like your other .htm extensions. The new
notepad likes to add double extensions, and the resulting .asp file may
have a hidden .txt extension or something else.
Note: Looking at your example, there is no "asp" commands in there, so
the browser probably doesn't know its "htm" or "asp".
=Paul=
|
| 4510.5 | Error code 406, not 404 check EXECUTE access in IIS | HOUBA::MEHERS | Damian, http://bigbird.geo.dec.com/ | Fri Feb 28 1997 03:31 | 20 |
|
One handy way of finding out what a Web server is sending back is to
telnet to the machine - if you are using Windows then start up the
telnet util, enable local echo in the options, and connect to your
machine, specifying the appropriate port (in your case 90), then send
the commands that your browser would be sending
GET /test.asp HTTP/1.0
Followed by newline, newline (second new line terminates the headers).
The message that is being returned seems to be:
HTTP/1.0 406 No acceptable objects were found
Content-Type: text/html
<body><h1>HTTP/1.0 406 No acceptable objects were found
Check that test.asp really is in your Web server's home directory and
that you have enabled execute access on that directory (inside IIS
config).
Good luck,
/Damian
|
| 4510.6 | | teco.mro.dec.com::tecotoo.mro.dec.com::mayer | Danny Mayer | Fri Feb 28 1997 08:52 | 7 |
| > GET /test.asp HTTP/1.0
Note that it's important to include the HTTP/1.0 in the statement
otherwise you won't get all the information in the header that you may
find useful.
Danny
|
| 4510.7 | Re: Netscape 3.0 doesn't render ASP files | QUABBI::"crowley@mail.dec.com" | Dave Crowley | Wed Mar 05 1997 23:59 | 48 |
| Jayant Hardikar <hardikar@mail.dec.com> wrote in article
<4510.0-970227-115314@networking.internet_tools>...
> Title: Netscape 3.0 doesn't render ASP files
>
> Anyway - I have IIS3.0 running on an NT4 server. A file called test.asp
in
> the web root comes up very nicely using IE3.0, but when trying to view it
> using Netscape 3.0 it comes up with the all-so-familiar "save to
disk/open
> file" dialog box. Why does a .ASP need a mime type? Am I doing something
> wrong?
>
Still seeing this problem? Here's some ideas that might give you something
to go on.
1. ASP files need to be executed on the server side. If the server doesn't
have 'execute'
access to the directory containing these scripts, the server feeds 'em as
plain
text to the client -- where the familiar "save/open" dialog gets invoked.
Your symptom is commonly an indication of incorrect permissions.
2. But why the difference between NS and IE? Could be a few things
worth checking. It might be related to the difference between "Basic"
and "NT Challenge/Response" security when you set up the server.
Challenge security can be used by IE, but a fetch by NS will fault and
generally
the user would be prompted for a username/password. Is this fault handled
differently here? Perhaps because the server can serve the "read" but not
"executed" page? Dunno. Did you set up for Challenge/Response? Are
your ASPs in a READable directory?
Things to keep in mind:
- Keep ASPs and HTMs in separate directories, with ONLY the
appropriate permissions. I've seen this FAQ'd and README'd a number
of times in ASP and VinterDev, and it seems worth heeding.
- If you're going to use Challenge/Response security, expect different
behavior in NS vs IE when touching secure files.
==========================================
dave crowley
crowley@mail.dec.com
[posted by Notes-News gateway]
|