change url

master
lars 18 years ago
parent 92e4db7063
commit 495bee4918

@ -1 +1 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox

@ -1 +1 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl?action=init_ask
url https://192.168.0.23/cryptobox?action=init_ask

@ -1,4 +1,4 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=init_do
data password=
data password2=

@ -1,4 +1,4 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=init_do
data password=hallo
data password2=hall

@ -1,4 +1,4 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=init_do
data password=hallo
data password2=hallo

@ -1 +1 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl?action=mount_ask
url https://192.168.0.23/cryptobox?action=mount_ask

@ -1,3 +1,3 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=mount_do
data password=hallo

@ -1 +1 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl?action=umount_ask
url https://192.168.0.23/cryptobox?action=umount_ask

@ -1 +1 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl?action=umount_do
url https://192.168.0.23/cryptobox?action=umount_do

@ -1 +1 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl?action=config_ask
url https://192.168.0.23/cryptobox?action=config_ask

@ -1,4 +1,4 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=config_do
data language=de
data ip=192.168.0.23

@ -1,4 +1,4 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=init_do
data password=hallo
data password2=hallo

@ -1 +1 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl?action=mount_ask
url https://192.168.0.23/cryptobox?action=mount_ask

@ -1,3 +1,3 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=mount_do
data password=hallo

@ -1 +1 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl?action=umount_ask
url https://192.168.0.23/cryptobox?action=umount_ask

@ -1 +1 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl?action=umount_do
url https://192.168.0.23/cryptobox?action=umount_do

@ -1 +1 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl?action=config_ask
url https://192.168.0.23/cryptobox?action=config_ask

@ -1,4 +1,4 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=config_do
data language=en
data ip=192.168.0.23

@ -1 +1 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl?action=init_ask
url https://192.168.0.23/cryptobox?action=init_ask

@ -1,4 +1,4 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=init_do
data password=hallo
data password2=hallo

@ -1 +1 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl?action=mount_ask
url https://192.168.0.23/cryptobox?action=mount_ask

@ -1,3 +1,3 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=mount_do
data password=

@ -1 +1 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl?action=mount_do
url https://192.168.0.23/cryptobox?action=mount_do

@ -1,3 +1,3 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=mount_do
data password=hallo

@ -1,3 +1,3 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=mount_do
data password=hallo

@ -1 +1 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl?action=mount_ask
url https://192.168.0.23/cryptobox?action=mount_ask

@ -1,3 +1,3 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=mount_do
data password=hallo

@ -1 +1 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl?action=umount_ask
url https://192.168.0.23/cryptobox?action=umount_ask

@ -1 +1 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl?action=umount_do
url https://192.168.0.23/cryptobox?action=umount_do

@ -1,4 +1,4 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=config_do
data language=xy
data ip=192.168.0.23

@ -1,4 +1,4 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=config_do
data language=de
data ip=192-168.0.23

@ -1,4 +1,4 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=config_do
data language=de
data ip=192.168.0.23

@ -1,4 +1,4 @@
url https://192.168.0.23/cgi-bin/cryptobox.pl
url https://192.168.0.23/cryptobox
data action=config_do
data language=en
data ip=10.1.1.1

@ -41,11 +41,20 @@ sub load_hdf()
{
my $hdf = ClearSilver::HDF->new();
$hdf->readFile("$LANGUAGE_DIR/$LANGUAGE" . '.hdf');
my $fname = "$LANGUAGE_DIR/$LANGUAGE" . '.hdf';
die ("Language file ($fname) not found!") unless (-e "$fname");
$hdf->readFile("$fname");
$fname = "$TEMPLATE_DIR/main.cs";
die ("Template directory is invalid ($fname not found)!") unless (-e "$fname");
$hdf->setValue("TemplateDir","$TEMPLATE_DIR");
die ("Documentation directory ($DOC_DIR) not found!") unless (-d "$DOC_DIR");
$hdf->setValue("DocDir","$DOC_DIR");
$hdf->setValue("ScriptName", $ENV{'SCRIPT_NAME'});
# if it was requested as directory index (link from index.html), we should
# set a real script name - otherwise links with a query string will break
$hdf->setValue("ScriptName", ($ENV{'SCRIPT_NAME'} eq '/')? '/cryptobox' : $ENV{'SCRIPT_NAME'});
return $hdf;
}

@ -4,12 +4,12 @@
<head>
<title>CryptoBox</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="0;/cgi-bin/cryptobox.pl">
<meta http-equiv="refresh" content="0;/cryptobox">
<link rel="stylesheet" media="screen" href="/cryptobox.css" type="text/css" />
</head>
<body>
<p>Please go to the <a href="/cgi-bin/cryptobox.pl" title="CryptoBox">CryptoBox-Interface</a></p>
<p>Please go to the <a href="/cryptobox" title="CryptoBox">CryptoBox-Interface</a></p>
</body>
</html>

Loading…
Cancel
Save