Changeset 47 in t29-www


Ignore:
Timestamp:
Sep 17, 2008, 10:20:46 PM (16 years ago)
Author:
sven
Message:

Projekte:

Einen blöden Javascript-"Hack" angewendet, um die HTTP-Authentifikation etwas
zu "vereinfachen". Sieht bloed aus (window.prompt() macht halt keinen Spass),
funktioniert nicht wirkliich, aber egal.

-- Sven @ workstation

Location:
projekte
Files:
1 added
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • projekte/.htaccess

    r43 r47  
    1313
    1414# und noch mehr bla:
    15 ErrorDocument 401 /projekte/.ERROR.shtm
    16 ErrorDocument 403 /projekte/.ERROR.shtm
     15ErrorDocument 401 /projekte/fehler.shtm
     16ErrorDocument 403 /projekte/fehler.shtm
  • projekte/fehler.shtm

    r45 r47  
    1414<h1><a href="/projekte"><span>technikum29: </span></a><strong>Projekte</strong></h1>
    1515
    16 <h2>Zugriff nicht erlaubt auf <tt><!--#echo var="REQUEST_URI" --></tt></h2>
     16<h2>Zugriff nicht erlaubt auf <tt>
     17<!--#if expr="$QUERY_STRING" -->
     18  <!--#echo var="QUERY_STRING" -->
     19<!--#else -->
     20  <!--#echo var="REQUEST_URI" -->
     21<!--#endif --></tt></h2>
    1722<p>Möglicherweise wurde das falsche Passwort und/oder der falsche
    1823Benutzername eingegeben. Probieren Sie folgendes aus:</p>
  • projekte/index.shtml

    r45 r47  
    99       td { color: #555; }
    1010     </style>
    11      <script type="text/javascript">
    12 
    13 function getHTTPObject() {
    14   if(typeof XMLHttpRequest != 'undefined') {
    15       return new XMLHttpRequest();
    16   }
    17   try {
    18      return new ActiveXObject("Msxml2.XMLHTTP");
    19   } catch (e) {
    20      try {
    21         return new ActiveXObject("Microsoft.XMLHTTP");
    22       } catch (e) {}
    23   }
    24   return false;
    25 }
    26      
    27      
    28      </script>
     11     <script type="text/javascript" src="/src/js/http-auth.js"></script>
     12     <script type="text/javascript" src="passwortschutz.js"></script>
    2913     <link rel="stylesheet" type="text/css" href="http://www.technikum29.de/src/private.design/style.css">
    30         <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
     14      <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
    3115</head>
    3216<body>
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License