Wacs Configuration Guide

First Edition

for WACS 0.8.1

B "Beaky" King

22nd August 2008

Abstract

WACS is a tool for building Adult Web Sites; it is equally suitable for managing a private collection or building a commercial web site. It has many best of breed features including dynamic filtering, model catalogs, automatic download and powerful search engine. It comes with a powerful API (application programming interface) implemented in both Perl and PHP5 languages to allow web developers to leverage it's facilities from their own programs.

This book describes the configuration files used by the system which are all implemented in the Industry Standard eXensible Markup Language (XML). The intended audience is web developers and WACS site managers who wish to tailor an existing WACS installation to meet their precise requirements; people merely wishing to use or manage an existing WACS installation may well find the default configurations provided suffice.


Table of Contents

I. WACS Configuration: Introduction
1. Introduction to WACS Configuration
WACS Overview
About This Book
About The Examples
2. WACS Configuration Architecture
Architectural Overview
Quick Intro To XML
Permanent Configuration
Transient Configuration
3. Prerequisites
OS Configuration
Static IP Address And Name
ISP Requests
Port Forwarding
NFS File Sharing
Database Configuration
II. WACS Configuration: Reference
4. Database Environment
Overview: Database
wacs.cfg: Database Environment Section
Database Engine Notes
Database: MySQL 5
Database: Oracle
5. Database Tables
Overview: Tables
wacs.cfg: Database Section
6. Server Details
Overview: Server
wacs.cfg: Server Section
7. FSLoc: File System Locations
Overview: FSLoc
wacs.cfg: fsloc section
8. Security
Overview: Security
wacs.cfg: security
9. Download
Overview: Download
wacs.cfg: Download
10. Colours
Overview: Colours
wacs.cfg: Colours Section
11. Layout
Overview: Layout
wacs.cfg: Layout Section
12. Precedence
Overview: Precedence
wacs.cfg: Precedence
13. Debug
Overview: Debug
14. WACS Configuration: Menus
WACS Menu System Overview
Basic Default Menus
Menu XML tokens
Basic Menu XML Types
15. WACS Web Apps: Presentation
Presentation Applications
wacsnewmodels
wacsnewsets
wacsnewvideo
wacsshow
wacsvidshow
wacsslideshow
wacsfp
16. WACS Web Apps: Indices
Index Applications
wacsimgcats
wacsimglist
wacsvidcats
wacsvidlist
wacsphotcats
wacslistphotog
wacsstats
17. WACS Web Apps: Models
Models Applications
wacsmodelthumbs
wacsmodelindex
wacsmodelpage
wacsmpthumbs
wacsmpmini
18. WACS Web Apps: Tag
Tag Applications
wacstagsets
wacslisttags
19. WACS Web Apps: Search
Search Applications
wacsimgselect
wacsvidselect
wacsmodelselect
20. WACS Web Infrastructure: Retrieval
Retrieval Applications
wacsfull
wacsframe
wacsimg
wacsindex
wacsthumb
wacszip
wacsusc2257
21. WACS Web Infrastructure: Tags
Tag Infrastructure Applications
wacsaddtag
wacsdeltag
wacsmarktag
Index

List of Figures

2.1. Logical Structure

List of Tables

2.1. List of Permanent Config Files
2.2. List of Transient Config Files
4.1. Configuration: Database Section
5.1. wacs.cfg: Tables
6.1. Configuration: Server
7.1. FSLoc: File Storage Locations
7.2. FSLoc: Icon & Glyphs
7.3. FSLoc: Applications & Documents
8.1. Security Section: wacs.cfg
9.1. Download Section: wacs.cfg
10.1. Colours Section: wacs.cfg
11.1. Layout Section: wacs.cfg
12.1. Precedence Section: wacs.cfg
14.1. The Default Menus
14.2. The Menu XML Types
17.1. URL Options to WacsModelThumbs

List of Examples

2.1. Simple WACS Configuration file
3.1. Determining The Ethernet Address
12.1. Sample Precedence Section
13.1. Sample of Global Debug Setting
13.2. Sample Of Specifically Targetted Debug