summaryrefslogtreecommitdiffstats
path: root/web_wizard/web.wiz
diff options
context:
space:
mode:
Diffstat (limited to 'web_wizard/web.wiz')
-rw-r--r--web_wizard/web.wiz552
1 files changed, 552 insertions, 0 deletions
diff --git a/web_wizard/web.wiz b/web_wizard/web.wiz
new file mode 100644
index 00000000..2b24ae4d
--- /dev/null
+++ b/web_wizard/web.wiz
@@ -0,0 +1,552 @@
+<?xml version="1.0"?>
+
+
+<Wizard
+ name="general"
+ libScript="__WIZ_HOME__/common/scripts/functions.sh"
+ wizardTitle="wizdrake: Web wizard"
+ imagePosition="top"
+ defaultImage="__WIZ_HOME__/images/apache.jpg"
+ height="400"
+ width="525"
+ hasDb="false"
+ dbPositions="0"
+ referenceLength="425"
+ referenceHeight="13"
+ perlModule="__WIZ_HOME__/web_wizard/scripts/Webconf.pm"
+>
+
+ <Variable
+ name="wiz_web_internal"
+ shellVariable="wiz_web_internal"
+ persistent="false"
+ >
+ </Variable>
+
+ <Variable
+ name="wiz_web_external"
+ shellVariable="wiz_web_external"
+ persistent="false"
+ >
+ </Variable>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-web.html"
+ name="welcome"
+ jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Target
+ targetName="web connections"
+ jumpIndex="0"
+ >
+ </Target>
+
+ <Target
+ targetName="must be root"
+ jumpIndex="1"
+ >
+ </Target>
+
+ <Target
+ targetName="error_need_net"
+ jumpIndex="2"
+ >
+ </Target>
+
+ <Info
+ name="info1"
+ alignement="Center"
+ helpText="Web Server Configuration Wizard"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info2"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info3"
+ alignement="Center"
+ helpText="This wizard will help you configuring"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info4"
+ alignement="Center"
+ helpText="the Web Server for your network."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-web.html"
+ name="must be root"
+ nextButtonText="OK"
+ executionLevel="NORMAL"
+ nextFinish="true"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Info
+ name="info"
+ alignement="Center"
+ helpText="Sorry, you must be root to do this..."
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-web.html"
+ name="error_need_net"
+ subWizard="__WIZ_HOME__/server_wizard/server.wiz"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="false"
+ canCancel="true"
+ >
+
+ <Info
+ name="errorLabel"
+ alignement="Center"
+ helpText="Network not configured yet"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info23"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info22"
+ alignement="Center"
+ helpText="You have to configure the basic network parameters before launch this wizard."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info25"
+ alignement="Center"
+ helpText="Press next to configure these parameters now, or Cancel to exit this wizard."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info26"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info24"
+ alignement="Center"
+ helpText="If you choose to configure now, you will automatically continue"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info27"
+ alignement="Center"
+ helpText="with the WEB configuration"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-web.html"
+ name="server launcher"
+ jumpPage="web connections"
+ executionLevel="DEBUG"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-web.html"
+ name="web connections"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Info
+ name="webTitle"
+ alignement="Center"
+ helpText="Web Server"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info6"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info7"
+ alignement="East"
+ helpText="Your server can act as a Web Server toward your internal"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info11"
+ alignement="East"
+ helpText="network (intranet) and as a Web Server for the Internet."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info10"
+ alignement="East"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info5"
+ alignement="East"
+ helpText="Select the kind of Web service you want to activate:"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info21"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Boolean
+ name="wiz_web_internal"
+ variableName="wiz_web_internal"
+ forceEnabled="1"
+ forceDisabled="0"
+ helpText="Enable the Web Server for the Intranet"
+ guiType="chechbox"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ >
+ </Boolean>
+
+ <Info
+ name="info8"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Boolean
+ name="wiz_web_external"
+ variableName="wiz_web_external"
+ forceEnabled="1"
+ forceDisabled="0"
+ helpText="Enable the Web Server for the Intranet and for the Internet"
+ guiType="chechbox"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ >
+ </Boolean>
+
+ <Info
+ name="info9"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info12"
+ alignement="East"
+ helpText="Don't check any box if you don't want to activate your Web Server."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-web.html"
+ name="confirmation"
+ jumpPage="congratulations"
+ nextButtonText="Configure"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ func="finish"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Info
+ name="confirmationTitle"
+ alignement="Center"
+ helpText="Configuring the Web Server"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info13"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info14"
+ alignement="East"
+ helpText="The wizard collected the following parameter"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info15"
+ alignement="East"
+ helpText="needed to configure your Web Server"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info16"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Freetext
+ name="freetext1"
+ alignement="Fill"
+ fillScript="[ \( ${wiz_web_internal} -eq 1 \) -o \( ${wiz_web_external} -eq 1 \) ] \a\a echo \qenabled\q || echo \qdisabled\q"
+ helpText="Intranet Web Server:"
+ guiType="textfield"
+ editable="false"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ length="40"
+ >
+ </Freetext>
+
+ <Freetext
+ name="freetext2"
+ alignement="Fill"
+ fillScript="[ ${wiz_web_external} -eq 0 ] \a\a echo \qdisabled\q || echo \qenabled\q"
+ helpText="Internet Web Server:"
+ guiType="textfield"
+ editable="false"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ length="40"
+ >
+ </Freetext>
+
+ <Info
+ name="info17"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info18"
+ alignement="East"
+ helpText="To accept these values, and configure your server, click on"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info19"
+ alignement="East"
+ helpText="\qConfigure\q or use the Back button to correct them."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-web.html"
+ name="congratulations"
+ nextButtonText="Quit"
+ executionLevel="NORMAL"
+ nextFinish="true"
+ canBack="false"
+ canCancel="false"
+ >
+
+ <Info
+ name="info23"
+ alignement="Center"
+ helpText="Congratulations"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info20"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info24"
+ alignement="Center"
+ helpText="The wizard successfully configured your"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info25"
+ alignement="Center"
+ helpText="Intranet/Internet Web Server"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+</Wizard>