home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 1999 April / APC443.iso / features / grpware / coldfus / coldfusi.exe / data1.cab / Examples / publish / admin / application.cfm < prev    next >
Encoding:
Text File  |  1998-10-08  |  1.0 KB  |  30 lines

  1. <CFAPPLICATION SESSIONMANAGEMENT="Yes" SESSIONTIMEOUT="#CreateTimeSpan(0,2,0,0)#">
  2.  
  3. <!--- Only let this directory be used if the user is on the server --->
  4. <CFIF CGI.REMOTE_ADDR NEQ "127.0.0.1">
  5. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  6.  
  7. <HTML>
  8. <HEAD>
  9.     <TITLE>Access denied.</TITLE>
  10. </HEAD>
  11.  
  12. <BODY BGCOLOR="#000066" TEXT="#FFFFFF" LINK="#FFFF00" VLINK="#FFFF00">
  13.  
  14. <P><FONT FACE="Helvetica" SIZE="+3"><B>Sorry...</B></FONT></P>
  15.  
  16. <P><FONT FACE="MS Sans Serif, Helvetica" SIZE="-1">
  17. For security reasons, access to this portion of the<BR>
  18. publishing example application has been restricted<BR>
  19. to the IP address 127.0.0.1. That means you must be<BR>
  20. sitting at the server and using 127.0.0.1 as the server<BR>
  21. name to access this directory.</FONT></P>
  22.  
  23. <P><FONT FACE="MS Sans Serif, Helvetica" SIZE="-1">
  24. If you are on the server, try <A HREF="http://127.0.0.1<CFOUTPUT>#CGI.PATH_INFO#?#CGI.QUERY_STRING#</CFOUTPUT>">this link</A>.
  25. </FONT></P>
  26.  
  27. </BODY>
  28. </HTML>
  29. <CFABORT>
  30. </CFIF>