home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 December
/
PCWorld_2000-12_cd.bin
/
Komunikace
/
Comanche
/
docs
/
developer
/
outputTemplates
< prev
next >
Wrap
Text File
|
2000-11-02
|
858b
|
24 lines
Output algorithm
> Read input
- If comment, output
xmlDirectives List with all the xmlDirectives not yet dumped.
httpdDirectives List with all http directives already processed in
this section.
Case Section {
Check if section with that name exists.
If not, just skip it
If only one, process using new section
If more than one may be a serverName problem (same IP,!=servername)
Check if serverName is the same if it is dump it if not just
ignore
}
Case directive {
If already for this container, do nothing (httpdDirectives)
If !specialCase and !notExists
check if unknown with the same name, dump all unknown
with same name, remove from xmlDirectives
add to httpdDirectives
}