CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Variables
dir2webdir Namespace Reference

Variables

tuple argc = len(argv)
 
list directory = argv[1]
 
tuple htaccess = open("%s/.htaccess"%directory,"w")
 
string htaccess_content
 
string pkl_dir = "%s_pkls"
 

Variable Documentation

tuple dir2webdir.argc = len(argv)
list dir2webdir.directory = argv[1]

Definition at line 45 of file dir2webdir.py.

tuple dir2webdir.htaccess = open("%s/.htaccess"%directory,"w")

Definition at line 68 of file dir2webdir.py.

string dir2webdir.htaccess_content
Initial value:
1 = """
2 RewriteEngine on
3 
4 RewriteCond %{HTTP:Accept-Encoding} gzip
5 RewriteRule (.*)\.html$ $1\.htmlgz [L]
6 RewriteRule (.*)\.png$ $1\.pnggz [L]
7 
8 AddType "text/html;charset=UTF-8" .htmlgz
9 AddEncoding gzip .htmlgz
10 
11 AddType "image/png" .pnggz
12 AddEncoding gzip .pnggz
13 
14 DirectoryIndex RelMonSummary.htmlgz
15 
16 """

Definition at line 17 of file dir2webdir.py.

string dir2webdir.pkl_dir = "%s_pkls"

Definition at line 54 of file dir2webdir.py.