\documentclass[DIV=12,%
               BCOR=0mm,%
               headinclude=false,%
               footinclude=false,open=any,%
               fontsize=10pt,%
               oneside,%
               paper=210mm:11in]%
               {scrbook}






\usepackage[noautomatic]{imakeidx}



\usepackage{microtype}
\usepackage{graphicx}
\usepackage{alltt}
\usepackage{verbatim}
\usepackage[shortlabels]{enumitem}
\usepackage{tabularx}
\usepackage[normalem]{ulem}
\def\hsout{\bgroup \ULdepth=-.55ex \ULset}
% https://tex.stackexchange.com/questions/22410/strikethrough-in-section-title
% Unclear if \protect \hsout is needed. Doesn't looks so
\DeclareRobustCommand{\sout}[1]{\texorpdfstring{\hsout{#1}}{#1}}
\usepackage{wrapfig}

% avoid breakage on multiple <br><br> and avoid the next [] to be eaten
\newcommand*{\forcelinebreak}{\strut\\*{}}

\newcommand*{\hairline}{%
  \bigskip%
  \noindent \hrulefill%
  \bigskip%
}

% reverse indentation for biblio and play

\newenvironment*{amusebiblio}{
  \leftskip=\parindent
  \parindent=-\parindent
  \smallskip
  \indent
}{\smallskip}

\newenvironment*{amuseplay}{
  \leftskip=\parindent
  \parindent=-\parindent
  \smallskip
  \indent
}{\smallskip}

\newcommand*{\Slash}{\slash\hspace{0pt}}


% http://tex.stackexchange.com/questions/3033/forcing-linebreaks-in-url
\PassOptionsToPackage{hyphens}{url}\usepackage[hyperfootnotes=false,hidelinks,breaklinks=true]{hyperref}
\usepackage{bookmark}

\usepackage[english,shorthands=off]{babel}
\babelfont{rm}[Path=/usr/share/fonts/truetype/cmu/,%
 BoldFont=cmunbx.ttf,%
 BoldItalicFont=cmunbi.ttf,%
 ItalicFont=cmunti.ttf]{cmunrm.ttf}
\babelfont{tt}[Scale=MatchLowercase,%
 Path=/usr/share/fonts/truetype/cmu/,%
 BoldFont=cmuntb.ttf,%
 BoldItalicFont=cmuntx.ttf,%
 ItalicFont=cmunit.ttf]{cmuntt.ttf}
\babelfont{sf}[Scale=MatchLowercase,%
 Path=/usr/share/fonts/truetype/cmu/,%
 BoldFont=cmunsx.ttf,%
 BoldItalicFont=cmunso.ttf,%
 ItalicFont=cmunsi.ttf]{cmunss.ttf}



\renewcommand*{\partpagestyle}{empty}


% global style

\pagestyle{plain}




\usepackage{indentfirst}

% remove the numbering
\setcounter{secnumdepth}{-2}

% remove labels from the captions
\renewcommand*{\captionformat}{}
\renewcommand*{\figureformat}{}
\renewcommand*{\tableformat}{}
\KOMAoption{captions}{belowfigure,nooneline}
\addtokomafont{caption}{\centering}







\deffootnote[3em]{0em}{4em}{\textsuperscript{\thefootnotemark}~}


\addtokomafont{disposition}{\rmfamily}
\addtokomafont{descriptionlabel}{\rmfamily}


\frenchspacing
% avoid vertical glue
\raggedbottom

% this will generate overfull boxes, so we need to set a tolerance
% \pretolerance=1000
% pretolerance is what is accepted for a paragraph without
% hyphenation, so it makes sense to be strict here and let the user
% accept tweak the tolerance instead.
\tolerance=200
% Additional tolerance for bad paragraphs only
\setlength{\emergencystretch}{30pt}

% (try to) forbid widows/orphans
\clubpenalty=10000
\widowpenalty=10000





% given that we said footinclude=false, this should be safe
\setlength{\footskip}{2\baselineskip}
\setlength{\parindent}{15pt}

\title{Creating Web Sites}
\date{}
\author{}
\subtitle{}






% https://groups.google.com/d/topic/comp.text.tex/6fYmcVMbSbQ/discussion
\hypersetup{%
pdfencoding=auto,
pdftitle={Creating Web Sites},%
pdfauthor={},%
pdfsubject={},%
pdfkeywords={Provisional Headings}%
}


\begin{document}









  \begin{titlepage}


  \strut\vskip 2em
  \begin{center}

  {\usekomafont{title}{\huge Creating Web Sites\par}}%
  \vskip 1em
  
  \vskip 2em
  
  \vskip 1.5em



   
   \vfill



  
    \strut\par
  


  \end{center}


     \end{titlepage}
     
     \cleardoublepage





\tableofcontents
% start a new right-handed page

\cleardoublepage



\chapter{Introduction}


Often when attempting to push back against the endless flow of information provided by The Man, it becomes necessary to add your own stake to the online landscape. Creating a web site is a simple way to get your message to the world. Web sites can be set up and maintained easily with a little reading and a little dedication. Any personal computer or laptop can function as a web server as long as it has an internet connection. Some ISP's block personal web servers. Included in this tutorial are means of circumventing ISP server blocks as well an introduction to basic server software and server maintenance.


For those without a personal computer, you are in luck. There are many free web hosts that will allow you a certain amount of disk space and access to common server technologies. This article will cover both setting up websites on personal computers and setting up websites via hosting companies. As always, never pay for anything you can get for free. If a hosting company promises you a free site but asks for a credit card or other financial information it is a scam or phony advertising. Many web hosts do not force ads onto your site.



\bigskip

\chapter{System Requirements}


\begin{itemize}
\item\relax 
A personal computer running Windows XP\Slash{}Vista\Slash{}7, Linux (Debian\Slash{}Ubuntu\Slash{}Slackware\Slash{}Mandriva etc)



\item\relax 
A stable broadband internet connection. (Needed even if you are using a hosting site.)



\item\relax 
A simple text editor. (Notepad++, gEdit, vi)



\item\relax 
A 2gb or larger USB Flash Drive




\end{itemize}

If you do not own a personal computer or are not currently in possession of a stable address, do not fret. Many libraries offer free access to computers, though usually with a time limit. USB Flash drives are a great way to store and backup the files for your site and can be used to quickly transfer your files to a new server or hosting site.



\bigskip

\chapter{Getting Started}


Included in the links below are two of the most popular free web servers; XAMPP and Abyss Web Server. Xampp is ready to run out of the box but should be immediately configured with new passwords and by blocking remote access to sensitive directories. Abyss Web Server X1 is the free version of it's server technology. The X2 line is available for pay but is not necessary for the average user. Both applications are well documented at their respective sites with nearly any question being answered in the FAQ or in the forums.


Modern web pages use HTML which is short for \emph{Hyper-Text Markup Language}. More advance pages may use PHP. Both languages are suitable for the display of web pages, though PHP is considerable more advanced than HTML. Free tutorials for both may be found at the w3c website, listed below.


Many hosting services offer WYSIWYG (What You See Is What You Get) editors for your site. Many of these tools are designed for simple text and image display. If you are wanting to create a message board or a means of social networking then you will need to install scripts to cover this. There are many open source Content Management and Portal Site systems that can easily be installed to most hosts or servers you have access to.


Most importantly your site should have a message. If you are not a skilled writer, find a brother or sister who is and ask them to help you. The best web sites promote a message through well written and properly formatted text. Once you have a message, it is important that you display it in a way that is easy to access and easy to read. Multicolor text at 100 point font may seem appropriate to you, but in most cases will drive a reader away.



\bigskip

\chapter{Tips \& Tweaks}


Be sure to backup all files and directories from your site to a USB Flash drive. Do this every time you make a change to the site. This way, should your site be taken down or you lose access to the server, you can quickly se up a new site at a new location.


Many sites offer free sub-domains or Domain Name redirection to your site. If you cannot afford a top level domain, a sub-domain can save you the headache of having to pass out your IP address.


If your ISP is blocking your inbound traffic on Port:80, you can easily set your server to run at Port:8080 or :9999 several sites that offer free Domain Names will allow you to specify the port at which your site is accessed, if you are unable to find a site offering such a server, be sure to include the :8080 at the end of your address when you give it out. Example ( \href{://www.yoursite.com:8080}{www.yoursite.com:8080})



\bigskip

\chapter{Security}


\begin{itemize}
\item\relax 
If using a remote web host, do not share your password with individuals you do not completely trust.



\item\relax 
If you are using Xampp and choose not to change the default passwords, your server will be vulnerable and any user with even a small modicum of skill can deface your site, or even lock you out of it!!!



\item\relax 
Do not assume you have a good password. Good passwords contain uppercase and lowercase letters with numbers and special characters like ?!\textsuperscript{A}\&*( and are at least eight characters long.



\item\relax 
If you are running your server on a personal computer, be sure to install the server on a password protected account that only you have access to. Otherwise, anyone with access to your computer can modify your files.




\end{itemize}


\bigskip

\chapter{Disclaimer and Warning}


Be sure to avoid making direct threats toward individuals on your site. This is a felony in the Federal jurisdiction of the US. Sites that are made to disparage or attack specific individuals may also lead to prosecution under new cyber-bullying laws. Most importantly, do not admit to anything on your website that you would not openly tell a cop. Once you post text or an image to the internet it not only becomes freely available to the public, but can be used as evidence in your trial. Be sure to keep discussions about plans and meetings to closed forums that users can only access with moderator approval, even still the government can easily view the content so remember, your computer is not a safe place to discuss anything remotely illegal.



\bigskip

\chapter{External links}


\begin{itemize}
\item\relax 
\href{http:/www.apachefriends.org/en/xampp.html}{Xampp} at \emph{Apache Friends}



\item\relax 
\href{http:/www.aprelium.com/abyssws/download.php}{Abyss Web Server}



\item\relax 
\href{http:/www.free-webhosts.com/}{Free Web Hosting} \emph{A list of free web hosting sites}



\item\relax 
\href{http:/www.w3schools.com/}{Learn How To Create Web Pages} \emph{A comprehensive tutorial on Web Page Development}




\end{itemize}








% begin final page

\clearpage



% new page for the colophon

\thispagestyle{empty}

\begin{center}





\bigskip
\includegraphics[width=0.25\textwidth]{stealthiswiki.pdf}
\bigskip

\end{center}

\strut

\vfill

\begin{center}




Creating Web Sites






\bigskip



   

       

       
         Last updated: 26 February 2011
       

       

       

       

       

   



\bigskip
\textbf{stealthiswiki.com}


\end{center}

% end final page with colophon


% end closing pages



\end{document}


% No format ID passed.



