welcome: please sign in

Diff for "DomTool/Examples/Full"

Differences between revisions 1 and 87 (spanning 86 versions)
Revision 1 as of 2007-11-12 02:58:27
Size: 2786
Editor: MichaelOlson
Comment: Initial contents
Revision 87 as of 2008-04-14 23:13:27
Size: 9004
Editor: 124
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma section-numbers off

This page contains a number of working examples of DomTool configuration.

[[TableOfContents]]

= MichaelOlson =

Here is MichaelOlson's annotated DomTool configuration.

{{{
domain "mwolson.org" with
  (* DNS settings *)
  nameserver "ns1.hcoop.net";
  nameserver "ns3.hcoop.net";
  dnsDefault "69.90.123.68";
  dnsIP "www" "69.90.123.68";
  dnsIP "blog" "69.90.123.68";
  dnsIP "hariken" "66.253.212.116"; (* my home computer *)
  dnsIP "mail" "69.90.123.67";
  dnsMail 10 "mail.mwolson.org";

  (* Default webspace *)
  vhost "www" where
    DocumentRoot = (home "public_html");
  with
    addDefaultCharset "utf-8";
    serverAliasDefault;

    (* Change www.mwolson.org to mwolson.org *)
    rewriteCond "%{HTTP_HOST}" "^www\.mwolson\.org$" [cond_nocase];
    rewriteRule "^(.*)$" "http://mwolson.org$1" [redirectWith redir301,last];

    scriptAlias "/cgi-bin/" (home "cgi-bin/");
    rewriteRule "^/$" "http://mwolson.org/web/WelcomePage.html" [last];
    rewriteRule "^/blog/projects(.*)"
                "http://blog.mwolson.org/tech/projects$1"
                [redirectWith redir301,last];
    rewriteRule "^/blog([^.].*)" "http://blog.mwolson.org$1"
                [redirectWith redir301,last];
    rewriteRule "^/cs158" "http://mwolson.org/classes/cs158/index.html" [];
    rewriteRule "^/favicon\.ico$"
                "http://mwolson.org/static/logos/favicon.ico" [];
    rewriteRule "^/static/albums/(.*)"
                "http://mwolson.risnerolson.org/albums/$1" [];
  end;

  (* Example of serving page to deleuze, should we ever decide to *)
  (* allow that *)

(* vhost "git" where *)
(* WebNodes = ["deleuze"]; *)
(* with ... *)
(* end; *)

  (* Blog *)
  vhost "blog" where
    DocumentRoot = (home "public_html/blog");
  with
    addDefaultCharset "utf-8";
    alias "/favicon.ico" (home "public_html/static/logos/favicon.ico");
    alias "/comments.js" (home "public_html/comments.js");
    rewriteRule "^/projects(.*)" "http://blog.mwolson.org/tech/projects$1" [];
    scriptAlias "/" (home "cgi-bin/pyblosxom/pyblosxom.cgi/");
  end;

  (* DAV access *)
  vhost "dav" with
    rewriteRule "^(.*)$" "https://dav.mwolson.org$1" [redirect];
  end;

  vhost "dav" where
    DocumentRoot = (home "dav");
    SSL = use_cert "/etc/apache2/ssl/apache.pem";
  with
    addDefaultCharset "utf-8";

    location "/" with
      davFilesystem;
    end;
  end;

  (* email *)
  handleMail;
  emailAlias "me" "mwolson";
  emailAlias "me.purdue" "mwolson";
  emailAlias "me.vending" "mwolson";
  emailAlias "mwolson" "mwolson";
  emailAlias "hostmaster" "mwolson";
  emailAlias "news" "mwolson";
  emailAlias "webmaster" "mwolson";
end;
}}}

---- /!\ '''Edit conflict - other version:''' ----
interesting post thx <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-i730-fx ">free nextel ringtone i730
</a> 81964 <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-converter-fx ">free nextel ringtone converter
</a> tfik <a href=" http://groups.yahoo.com/group/free-nextel-phones-fx ">free nextel phones
</a> >:]] <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-program-fx ">free nextel ringtone program
</a> 660 <a href=" http://groups.yahoo.com/group/free-nextel-cell-phone-ringtone-fx ">free nextel cell phone ringtone
</a> =[[
----
CategoryOutdated

---- /!\ '''Edit conflict - your version:''' ----
interesting site man <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-i730-fx ">free nextel ringtone i730
</a> 58827 <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-converter-fx ">free nextel ringtone converter
</a> 401 <a href=" http://groups.yahoo.com/group/free-nextel-phones-fx ">free nextel phones
</a> misuvl <a href=" http://groups.yahoo.com/group/free-nextel-ringHTTP/1.1 200 OK
Date: Mon, 14 Apr 2008 23:13:14 GMT
Server: Apache/2.2.3 (Debian)
Vary: Cookie,User-Agent,Accept-Language
Cache-Control: no-cache
Expires: Sun, 15 Apr 2007 23:13:19 GMT
Pragma: no-cache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html;charset=utf-8

b5b
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta name="robots" content="noindex,nofollow">

<title>Edit "DomTool/Examples/Full" - HCoop Wiki</title>
<script type="text/javascript" src="/wikidata/common/js/common.js"></script>

<script type="text/javascript">
<!--// common functions

// We keep here the state of the search box
searchIsDisabled = false;

function searchChange(e) {
    // Update search buttons status according to search box content.
    // Ignore empty or whitespace search term.
    var value = e.value.replace(/\s+/, '');
    if (value == '' || searchIsDisabled) {
        searchSetDisabled(true);
    } else {
        searchSetDisabled(false);
    }
}

function searchSetDisabled(flag) {
    // Enable or disable search
    document.getElementById('fullsearch').disabled = flag;
    document.getElementById('titlesearch').disabled = flag;
}

function searchFocus(e) {
    // Update search input content on focus
    if (e.value == 'Search') {
        e.value = '';
        e.className = '';
        searchIsDisabled = false;
    }
}

function searchBlur(e) {
    // Update search input content on blur
    if (e.value == '') {
        e.value = 'Search';
        e.className = 'disabled';
        searchIsDisabled = true;
    }
}

function actionsMenuInit(title) {
    // Initialize action menu
    for (i = 0; i < document.forms.length; i++) {
        var form = document.forms[i];
        if (form.className == 'actionsmenu') {
            // Check if this form needs update
            var div = form.getElementsByTagName('div')[0];
            var label = div.getElementsByTagName('label')[0];
            if (label) {
                // This is the first time: remove label and do buton.
                div.removeChild(label);
                var dobutton = div.getElementsByTagName('input')[0];
                div.removeChild(dobutton);
                // and add menu title
                var select = div.getElementsByTagName('select')[0];
                var item = document.createElement('option');
                item.appendChild(document.createTextNode(title));
                item.value = 'show';
                select.insertBefore(item, select.options[0]);
                select.selectedIndex = 0;
            }
        }
    }
}
//-->
</script>


<link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/wikidata/modern/css/common.css">
<link rel="stylesheet" type="text/css" charset="utf-8" media="screen" href="/wikidata/modern/css/screen.css">
<link rel="stylesheet" type="text/css" charset="utf-8" media="print" href="/wikidata/modern/css/print.css">
<link rel="stylesheet" type="text/css" charset="utf-8" media="projection" href="/wikidata/modern/css/projection.css">

<!-- css only for MSIE browsers -->
<!--[if
3f0
 IE]>
   <link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/wikidata/modern/css/msie.css">
<![endif]-->



<script type="text/javascript" src="/wikidata/common/js/countdown.js"></script>
<script type="text/javascript">
var countdown_timeout_min = 10
var countdown_lock_expire = "Your edit lock on DomTool/Examples/Full has expired!"
var countdown_lock_mins = "Your edit lock on DomTool/Examples/Full will expire in # minutes."
var countdown_lock_secs = "Your edit lock on DomTool/Examples/Full will expire in # seconds."
addLoadEvent(countdown)
</script>

<link rel="Start" href="/WelcomePage">
<link rel="Alternate" title="Wiki Markup" href="/DomTool/Examples/Full?action=raw">
<link rel="Alternate" media="print" title="Print View" href="/DomTool/Examples/Full?action=print">
<link rel="Up" href="/DomTool/Examples">
<link rel="Search" href="/FindPage">
<link rel="Index" href="/TitleIndex">
<link rel="Glossary" href="/WordIndex">
<link rel="Help" href="/HelpOnFormatting">
</head>

347

<body lang="en" dir="ltr">

<div id="header">

<ul id="pagelocation">
<li>Edit "DomTool/Examples/Full"</li>
</ul>

<div id="message">
<p class="status">Someone else saved this page while you were editing! Please review the page and save then. Do not save this page as it is! Have a look at the diff of <a href="/DomTool/Examples/Full?action=diff&rev=85">DomTool/Examples/Full</a> to see what has been changed. This page was opened for editing or last previewed at 2008-04-14 23:11:21 by <span title="??? @ ev1s-209-62-108-194.ev1servers.net[209.62.108.194]">ev1s-209-62-108-194</span>.<br />
 <strong>You should <em>refrain from editing</em> this page for at least another 9 minute(s), to avoid editing conflicts.</strong><br />
 To leave the editor, press the Cancel button.</p>

</div>

</div>

<div id="page" lang="en" dir="ltr">

400
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<form id="editor" method="post" action="/DomTool/Examples/Full#preview" onSubmit="flgChange = false;"><fieldset style="border:none;padding:0;"><input type="hidden" name="action" value="edit"><input type="hidden" name="rev" value="86"><input type="hidden" name="ticket" value="004803e50f.a62f884ec08d97abb36249d803a0d5ead8cff75e">
<input class="button" type="submit" name="button_save" value="Save Changes" onClick="flgChange = false;">
<input class="button" type="submit" name="button_preview" value="Preview" onClick="flgChange = false;">

<input id="switch2gui" style="display: none;" class="button" type="submit" name="button_switch" value="GUI Mode">

<input class="button" type="submit" name="button_spellcheck" value="Check Spelling" onClick="flgChange = false;">
<input class="button" type="submit" name="button_cancel" value="Cancel">
<input type="hidden" name="editor" value="text">
<script type="text/javascript">
    var flgChange = fals
400
e;
    function confirmleaving() {
        if ( flgChange )
            return "Your changes are not saved!";
    }
</script>
<textarea id="editor-textarea" name="savetext" lang="en" dir="ltr" rows="20"
          onChange="flgChange = true;" onKeyPress="flgChange = true;">
---- /!\ '''Edit conflict - other version:''' ----
interesting post thx <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-i730-fx ">free nextel ringtone i730
</a> 81964 <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-converter-fx ">free nextel ringtone converter
</a> tfik <a href=" http://groups.yahoo.com/group/free-nextel-phones-fx ">free nextel phones
</a> >:]] <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-program-fx ">free nextel ringtone program
</a> 660 <a href=" http://groups.yahoo.com/group/free-nextel-cell-phone-ringtone-fx ">free nextel cell phone ringtone
</a> =[[
----
CategoryOutdated

---- /!\ '''Edit conflict - your versio
400
n:''' ----
interesting site man <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-i730-fx ">free nextel ringtone i730
</a> 58827 <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-converter-fx ">free nextel ringtone converter
</a> 401 <a href=" http://groups.yahoo.com/group/free-nextel-phones-fx ">free nextel phones
</a> misuvl <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-program-fx ">free nextel ringtone program
</a> mji <a href=" http://groups.yahoo.com/group/free-nextel-cell-phone-ringtone-fx ">free nextel cell phone ringtone
</a> 84587
----
CategoryCategory

---- /!\ '''End of edit conflict''' ----


/!\ Edit conflict - other version:


interesting post thx <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-i730-fx ">free nextel ringtone i730 </a> 81964 <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-converter-fx ">free nextel ringtone converter </a> tfik <a href=" http://groups.yahoo.com/group/free-nextel-phones-fx ">free nextel phones </a> >:]] <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-program-fx ">free nextel ringtone program </a> 660 <a href=" http://groups.yahoo.com/group/free-nextel-cell-phone-ringtone-fx ">free nextel cell phone ringtone </a> =[[


CategoryOutdated


/!\ Edit conflict - your version:


interesting site man <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-i730-fx ">free nextel ringtone i730 </a> 58827 <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-converter-fx ">free nextel ringtone converter </a> 401 <a href=" http://groups.yahoo.com/group/free-nextel-phones-fx ">free nextel phones </a> misuvl <a href=" http://groups.yahoo.com/group/free-nextel-ringHTTP/1.1 200 OK Date: Mon, 14 Apr 2008 23:13:14 GMT Server: Apache/2.2.3 (Debian) Vary: Cookie,User-Agent,Accept-Language Cache-Control: no-cache Expires: Sun, 15 Apr 2007 23:13:19 GMT Pragma: no-cache Connection: close Transfer-Encoding: chunked Content-Type: text/html;charset=utf-8

b5b <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <meta name="robots" content="noindex,nofollow">

<title>Edit "DomTool/Examples/Full" - HCoop Wiki</title> <script type="text/javascript" src="/wikidata/common/js/common.js"></script>

<script type="text/javascript"> <!--// common functions

// We keep here the state of the search box searchIsDisabled = false;

function searchChange(e) {

  • // Update search buttons status according to search box content. // Ignore empty or whitespace search term.

    var value = e.value.replace(/\s+/, ); if (value == || searchIsDisabled) {

    • searchSetDisabled(true);
    } else {
    • searchSetDisabled(false);
    }

}

function searchSetDisabled(flag) {

  • // Enable or disable search document.getElementById('fullsearch').disabled = flag; document.getElementById('titlesearch').disabled = flag;

}

function searchFocus(e) {

  • // Update search input content on focus if (e.value == 'Search') {
    • e.value = ; e.className = ; searchIsDisabled = false;

    }

}

function searchBlur(e) {

  • // Update search input content on blur

    if (e.value == ) {

    • e.value = 'Search'; e.className = 'disabled'; searchIsDisabled = true;
    }

}

function actionsMenuInit(title) {

  • // Initialize action menu

    for (i = 0; i < document.forms.length; i++) {

    • var form = document.forms[i]; if (form.className == 'actionsmenu') {
      • // Check if this form needs update var div = form.getElementsByTagName('div')[0]; var label = div.getElementsByTagName('label')[0]; if (label) {
        • // This is the first time: remove label and do buton. div.removeChild(label); var dobutton = div.getElementsByTagName('input')[0]; div.removeChild(dobutton); // and add menu title var select = div.getElementsByTagName('select')[0]; var item = document.createElement('option'); item.appendChild(document.createTextNode(title)); item.value = 'show'; select.insertBefore(item, select.options[0]); select.selectedIndex = 0;
        }
      }
    }

} //--> </script>

<link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/wikidata/modern/css/common.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="screen" href="/wikidata/modern/css/screen.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="print" href="/wikidata/modern/css/print.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="projection" href="/wikidata/modern/css/projection.css">

<!-- css only for MSIE browsers --> <!--[if 3f0

  • IE]>

    • <link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/wikidata/modern/css/msie.css">

<![endif]-->

<script type="text/javascript" src="/wikidata/common/js/countdown.js"></script> <script type="text/javascript"> var countdown_timeout_min = 10 var countdown_lock_expire = "Your edit lock on DomTool/Examples/Full has expired!" var countdown_lock_mins = "Your edit lock on DomTool/Examples/Full will expire in # minutes." var countdown_lock_secs = "Your edit lock on DomTool/Examples/Full will expire in # seconds." addLoadEvent(countdown) </script>

<link rel="Start" href="/WelcomePage"> <link rel="Alternate" title="Wiki Markup" href="/DomTool/Examples/Full?action=raw"> <link rel="Alternate" media="print" title="Print View" href="/DomTool/Examples/Full?action=print"> <link rel="Up" href="/DomTool/Examples"> <link rel="Search" href="/FindPage"> <link rel="Index" href="/TitleIndex"> <link rel="Glossary" href="/WordIndex"> <link rel="Help" href="/HelpOnFormatting"> </head>

347

<body lang="en" dir="ltr">

<div id="header">

<ul id="pagelocation"> <li>Edit "DomTool/Examples/Full"</li> </ul>

<div id="message"> <p class="status">Someone else saved this page while you were editing! Please review the page and save then. Do not save this page as it is! Have a look at the diff of <a href="/DomTool/Examples/Full?action=diff&rev=85">DomTool/Examples/Full</a> to see what has been changed. This page was opened for editing or last previewed at 2008-04-14 23:11:21 by <span title="??? @ ev1s-209-62-108-194.ev1servers.net[209.62.108.194]">ev1s-209-62-108-194</span>.<br />

  • <strong>You should <em>refrain from editing</em> this page for at least another 9 minute(s), to avoid editing conflicts.</strong><br /> To leave the editor, press the Cancel button.</p>

</div>

</div>

<div id="page" lang="en" dir="ltr">

400 <div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span> <form id="editor" method="post" action="/DomTool/Examples/Full#preview" onSubmit="flgChange = false;"><fieldset style="border:none;padding:0;"><input type="hidden" name="action" value="edit"><input type="hidden" name="rev" value="86"><input type="hidden" name="ticket" value="004803e50f.a62f884ec08d97abb36249d803a0d5ead8cff75e"> <input class="button" type="submit" name="button_save" value="Save Changes" onClick="flgChange = false;"> <input class="button" type="submit" name="button_preview" value="Preview" onClick="flgChange = false;">

<input id="switch2gui" style="display: none;" class="button" type="submit" name="button_switch" value="GUI Mode">

<input class="button" type="submit" name="button_spellcheck" value="Check Spelling" onClick="flgChange = false;"> <input class="button" type="submit" name="button_cancel" value="Cancel"> <input type="hidden" name="editor" value="text"> <script type="text/javascript">

  • var flgChange = fals

400 e;

  • function confirmleaving() {
    • if ( flgChange )
      • return "Your changes are not saved!";
    }

</script> <textarea id="editor-textarea" name="savetext" lang="en" dir="ltr" rows="20"

  • onChange="flgChange = true;" onKeyPress="flgChange = true;">


/!\ Edit conflict - other version:


interesting post thx <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-i730-fx ">free nextel ringtone i730 </a> 81964 <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-converter-fx ">free nextel ringtone converter </a> tfik <a href=" http://groups.yahoo.com/group/free-nextel-phones-fx ">free nextel phones </a> >:]] <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-program-fx ">free nextel ringtone program </a> 660 <a href=" http://groups.yahoo.com/group/free-nextel-cell-phone-ringtone-fx ">free nextel cell phone ringtone </a> =[[


CategoryOutdated


/!\ Edit conflict - your versio 400 n:


interesting site man <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-i730-fx ">free nextel ringtone i730 </a> 58827 <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-converter-fx ">free nextel ringtone converter </a> 401 <a href=" http://groups.yahoo.com/group/free-nextel-phones-fx ">free nextel phones </a> misuvl <a href=" http://groups.yahoo.com/group/free-nextel-ringtone-program-fx ">free nextel ringtone program </a> mji <a href=" http://groups.yahoo.com/group/free-nextel-cell-phone-ringtone-fx ">free nextel cell phone ringtone </a> 84587


CategoryCategory


/!\ End of edit conflict


DomTool/Examples/Full (last edited 2018-10-20 18:24:55 by ClintonEbadi)