Line 43: |
Line 43: |
| [[Image:Smesm.png]] | | [[Image:Smesm.png]] |
| | | |
| + | |
| + | |
| + | ==Improvements== |
| + | |
| + | You can improve the script adding new functions, and specially re-writing my bad english text strings. |
| + | |
| + | You can add functions to handle perl, and custom apache and php directives. |
| + | |
| + | The idea of this script can be used as the new panel development, for add and configure the web site via server-manager. |
| + | |
| + | Here I list the variables used into the script and their signify: |
| + | |
| + | $files_root - Root directory name |
| + | $f_root - Root Pathname |
| + | $alias_root - HTTP alias choosed |
| + | $a_root - HTTP alias configured |
| + | $f_ssl - Flag SSLRequireSSL on |
| + | $f_idx - Flag Indexes |
| + | $f_aov - Flag AllowOverride |
| + | $f_php - Flag PHP |
| + | $f_fop - Flag allow_url_fopen |
| + | $f_eac - Flag Eaccelerator |
| + | $f_rgl - Flag register_globals |
| + | $f_obd - Flag open_basedir |
| + | $open_bd - Open Basedir directories |
| + | $fopt - Temp var used in Options |
| + | $f_cgi - Flag CGI |
| + | $cgi_root - CGI directory name |
| + | $c_root - CGI pathname configured |
| + | $calias_root - CGI alias choosed |
| + | $ca_root - Add "/" in CGI Alias |
| + | $db_on - Flag MySQL |
| + | $db_host - host db |
| + | $db_name - name db |
| + | $db_pass - pass db |
| + | $db_user - user db |
| + | $query_file - temp query file |
| + | $db_new - temp variable new db |
| + | $db_unew - temp variable new user |
| + | $custom_httpd_dir - /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf |
| + | $conf_name - Name for this configuration |
| + | $c_name - 99SMESiteMaker_$conf_name |
| + | $c_file - $custom_httpd_dir/$c_name |
| | | |
| | | |