1.1 --- a/java/hg-projekty/web/WEB-INF/cgi/hg Mon Feb 16 20:35:11 2009 +0100
1.2 +++ b/java/hg-projekty/web/WEB-INF/cgi/hg Mon Feb 16 21:21:34 2009 +0100
1.3 @@ -10,8 +10,8 @@
1.4 from mercurial import demandimport; demandimport.enable()
1.5
1.6 # Uncomment to send python tracebacks to the browser if an error occurs:
1.7 -import cgitb
1.8 -cgitb.enable()
1.9 +#import cgitb
1.10 +#cgitb.enable()
1.11
1.12 # If you'd like to serve pages with UTF-8 instead of your default
1.13 # locale charset, you can do so by uncommenting the following lines.
2.1 --- a/java/hg-projekty/web/WEB-INF/web.xml Mon Feb 16 20:35:11 2009 +0100
2.2 +++ b/java/hg-projekty/web/WEB-INF/web.xml Mon Feb 16 21:21:34 2009 +0100
2.3 @@ -15,12 +15,10 @@
2.4 </servlet>
2.5 <servlet-mapping>
2.6 <servlet-name>cgi</servlet-name>
2.7 - <url-pattern>/mercurial/*</url-pattern>
2.8 + <url-pattern>/hg/*</url-pattern>
2.9 </servlet-mapping>
2.10 <session-config>
2.11 - <session-timeout>
2.12 - 30
2.13 - </session-timeout>
2.14 + <session-timeout>30</session-timeout>
2.15 </session-config>
2.16 <welcome-file-list>
2.17 <welcome-file>index.jsp</welcome-file>
3.1 --- a/java/hg-projekty/web/index.jsp Mon Feb 16 20:35:11 2009 +0100
3.2 +++ b/java/hg-projekty/web/index.jsp Mon Feb 16 21:21:34 2009 +0100
3.3 @@ -1,20 +1,16 @@
3.4 -<%--
3.5 - Document : index
3.6 - Created on : 16.2.2009, 15:04:32
3.7 - Author : fiki
3.8 ---%>
3.9 +<%@page contentType="text/html" pageEncoding="UTF-8"%>
3.10 +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
3.11 +<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3.12
3.13 -<%@page contentType="text/html" pageEncoding="UTF-8"%>
3.14 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3.15 - "http://www.w3.org/TR/html4/loose.dtd">
3.16 -
3.17 -<html>
3.18 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
3.19 <head>
3.20 - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
3.21 + <meta http-equiv="content-language" content="cs"/>
3.22 + <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8"/>
3.23 <title>Projekty – Frantovo.cz</title>
3.24 </head>
3.25 <body>
3.26 <h1>Projekty – Frantovo.cz</h1>
3.27 <p>Úložiště zdrojových kódů – mercurial (Hg).</p>
3.28 + <p><a href="/hg/hg/">Seznam úložišť</a>.</p>
3.29 </body>
3.30 </html>