You can subscribe to this list here.
| 2003 |
Jan
(1) |
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(5) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <tre...@us...> - 2006-05-08 23:13:11
|
Revision: 7 Author: trekkie_lugfl Date: 2006-05-08 14:17:06 -0700 (Mon, 08 May 2006) ViewCVS: http://svn.sourceforge.net/yawcs/?rev=7&view=rev Log Message: ----------- added new subproject for all the LDAP schemas we will use.. Added Paths: ----------- ldap_schemas/ ldap_schemas/branches/ ldap_schemas/tags/ ldap_schemas/trunk/ ldap_schemas/trunk/digitalADMIN-Apache.ldif ldap_schemas/trunk/digitalADMIN-Apache.schema ldap_schemas/trunk/digitalADMIN-Core.ldif ldap_schemas/trunk/digitalADMIN-Core.schema Added: ldap_schemas/trunk/digitalADMIN-Apache.ldif =================================================================== --- ldap_schemas/trunk/digitalADMIN-Apache.ldif (rev 0) +++ ldap_schemas/trunk/digitalADMIN-Apache.ldif 2006-05-08 21:17:06 UTC (rev 7) @@ -0,0 +1,120 @@ +dn: cn=digitalADMIN-Apache +objectClass: olcSchemaConfig +cn: digitalADMIN-Apache +olcObjectIdentifier: dAapacheAttribute digitalADMINattribute:2 +olcObjectIdentifier: dAapacheObjectClass digitalADMINobjectClass:2 +olcAttributeTypes: ( dAapacheAttribute:1.1 NAME 'apacheErrorLog' DESC 'mod + _vhost_ldap: Apache ErrorLog' SUP name EQUALITY caseIgnoreMatch SUBSTR caseIg + noreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:2.1 NAME 'apachePhpValue' DESC 'mod + _vhost_ldap: Apache mod_php php_value' SUP name EQUALITY caseIgnoreMatch SUBS + TR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) +olcAttributeTypes: ( dAapacheAttribute:2.2 NAME 'apachePhpFlag' DESC 'mod_ + vhost_ldap: Apache mod_php php_flag' SUP name EQUALITY caseIgnoreMatch SUBSTR + caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) +olcAttributeTypes: ( dAapacheAttribute:2.3 NAME 'apachePhpAdminValue' DESC + 'mod_vhost_ldap: Apache mod_php php_admin_value' SUP name EQUALITY caseIgnor + eMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{ + 256} ) +olcAttributeTypes: ( dAapacheAttribute:2.4 NAME 'apachePhpAdminFlag' DESC + 'mod_vhost_ldap: Apache mod_php php_admin_flag' SUP name EQUALITY caseIgnoreM + atch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{25 + 6} ) +olcAttributeTypes: ( dAapacheAttribute:2.5 NAME 'apachePHPINIDir' DESC 'mo + d_vhost_ldap: Apache mod_php PHPINIDir' SUP name EQUALITY caseIgnoreMatch SUB + STR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGL + E-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:3.1 NAME 'apacheRewriteEngine' DESC + 'mod_vhost_ldap: Apache mod_rewrite RewriteEngine' SUP name EQUALITY caseIgn + oreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.1 + 5{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:3.2 NAME 'apacheRewriteOptions' DES + C 'mod_vhost_ldap: Apache mod_rewrite RewriteOption' SUP name EQUALITY caseIg + noreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1. + 15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:3.3 NAME 'apacheRewriteBase' DESC ' + mod_vhost_ldap: Apache mod_rewrite RewriteBase' SUP name EQUALITY caseIgnoreM + atch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{25 + 6} SINGLE-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:3.4 NAME 'apacheRewriteCond' DESC ' + mod_vhost_ldap: Apache mod_rewrite RewriteCond' SUP name EQUALITY caseIgnoreM + atch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{25 + 6} ) +olcAttributeTypes: ( dAapacheAttribute:3.5 NAME 'apacheRewriteRule' DESC ' + mod_vhost_ldap: Apache mod_rewrite RewriteRule' SUP name EQUALITY caseIgnoreM + atch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{25 + 6} ) +olcAttributeTypes: ( dAapacheAttribute:3.6 NAME 'apacheRewriteMap' DESC 'm + od_vhost_ldap: Apache mod_rewrite RewriteMap' SUP name EQUALITY caseIgnoreMat + ch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + ) +olcAttributeTypes: ( dAapacheAttribute:3.7 NAME 'apacheRewriteLock' DESC ' + mod_vhost_ldap: Apache mod_rewrite RewriteLock' SUP name EQUALITY caseIgnoreM + atch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{25 + 6} SINGLE-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:3.8 NAME 'apacheRewriteLog' DESC 'm + od_vhost_ldap: Apache mod_rewrite RewriteLog' SUP name EQUALITY caseIgnoreMat + ch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:3.9 NAME 'apacheRewriteLogLevel' DE + SC 'mod_vhost_ldap: Apache mod_rewrite RewriteLogLevel' EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:4.1 NAME 'apacheAlias' DESC 'mod_vh + ost_ldap: Apache mod_alias Alias' SUP name EQUALITY caseIgnoreMatch SUBSTR ca + seIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) +olcAttributeTypes: ( dAapacheAttribute:4.2 NAME 'apacheRedirect' DESC 'mod + _vhost_ldap: Apache mod_alias Redirect' SUP name EQUALITY caseIgnoreMatch SUB + STR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGL + E-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:4.3 NAME 'apacheAliasMatch' DESC 'm + od_vhost_ldap: Apache mod_alias AliasMAtch' SUP name EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} S + INGLE-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:4.4 NAME 'apacheScriptAliasMatch' D + ESC 'mod_vhost_ldap: Apache mod_alias ScriptAliasMatch' SUP name EQUALITY cas + eIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121 + .1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:4.5 NAME 'apacheRedirectMatch' DESC + 'mod_vhost_ldap: Apache mod_alias RedirectMatch' SUP name EQUALITY caseIgnor + eMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{ + 256} SINGLE-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:4.6 NAME 'apacheRedirectTemp' DESC + 'mod_vhost_ldap: Apache mod_alias RedirectTemp' SUP name EQUALITY caseIgnoreM + atch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{25 + 6} SINGLE-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:4.7 NAME 'apacheRedirectPermanent' + DESC 'mod_vhost_ldap: Apache mod_alias RedirectPermanent' SUP name EQUALITY c + aseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.1 + 21.1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:5.1 NAME 'apacheCustomLog' DESC 'mo + d_vhost_ldap: Apache mod_log_config CustomLog' SUP name EQUALITY caseIgnoreMa + tch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256 + } SINGLE-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:5.2 NAME 'apacheTransferLog' DESC ' + mod_vhost_ldap: Apache mod_log_config TransferLog' SUP name EQUALITY caseIgno + reMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 + {256} SINGLE-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:5.3 NAME 'apacheLogFormat' DESC 'mo + d_vhost_ldap: Apache mod_log_config LogFormat' SUP name EQUALITY caseIgnoreMa + tch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256 + } ) +olcAttributeTypes: ( dAapacheAttribute:5.5 NAME 'apacheCookieLog' DESC 'mo + d_vhost_ldap: Apache mod_log_config CookieLog' SUP name EQUALITY caseIgnoreMa + tch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256 + } SINGLE-VALUE ) +olcAttributeTypes: ( dAapacheAttribute:5.6 NAME 'apacheBufferedLogs' DESC + 'mod_vhost_ldap: Apache mod_log_config BufferedLogs (experimental)' SUP name + EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1. + 1466.115.121.1.15{256} SINGLE-VALUE ) +olcObjectClasses: ( dAapacheObjectClass:1 NAME 'apacheConf' SUP top AUXILIA + RY MUST apacheServerName MAY ( apacheServerAlias $ apacheServerAdmin $ apache + ScriptAlias $ apacheSuexecUid $ apacheSuexecGid $ apacheErrorLog $ apachePhpV + alue $ apachePhpFlag $ apachePhpAdminValue $ apachePhpAdminFlag $ apachePHPIN + IDir $ apacheRewriteEngine $ apacheRewriteOptions $ apacheRewriteBase $ apach + eRewriteCond $ apacheRewriteRule $ apacheRewriteMap $ apacheRewriteLock $ apa + cheRewriteLog $ apacheRewriteLogLevel $ apacheAlias $ apacheRedirect $ apache + AliasMatch $ apacheScriptAliasMatch $ apacheRedirectMatch $ apacheRedirectTem + p $ apacheRedirectPermanent $ apacheCustomLog $ apacheTransferLog $ apacheLog + Format $ apacheCookieLog $ apacheBufferedLogs ) ) + + Added: ldap_schemas/trunk/digitalADMIN-Apache.schema =================================================================== --- ldap_schemas/trunk/digitalADMIN-Apache.schema (rev 0) +++ ldap_schemas/trunk/digitalADMIN-Apache.schema 2006-05-08 21:17:06 UTC (rev 7) @@ -0,0 +1,263 @@ +# This LDAP Schema depends on the digitalAdmin-Core Schema... +# please ensure that it is included before this one.. +# +# mod_vhost_ldap related, depends on mod_vhost_ldap.schema +# +# +# digitalADMIN LDAP apache Attribute: 1.3.6.1.4.1.21273.1.3.1.2.1.2 +# - core 1.3.6.1.4.1.21273.1.3.1.2.1.2.1.x +# - mod_php 1.3.6.1.4.1.21273.1.3.1.2.1.2.2.x +# - mod_rewrite 1.3.6.1.4.1.21273.1.3.1.2.1.2.3.x +# - mod_alias 1.3.6.1.4.1.21273.1.3.1.2.1.2.4.x +# - mod_log_config 1.3.6.1.4.1.21273.1.3.1.2.1.2.5.x +# digitalADMIN LDAP apache Class: 1.3.6.1.4.1.21273.1.3.1.2.2.2 + +## +## object aliases +## +objectIdentifier dAapacheAttribute digitalADMINattribute:2 +objectIdentifier dAapacheObjectClass digitalADMINobjectClass:2 + +attributetype ( dAapacheAttribute:1.1 NAME 'apacheErrorLog' + SUP name + DESC 'mod_vhost_ldap: Apache ErrorLog' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:2.1 NAME 'apachePhpValue' + SUP name + DESC 'mod_vhost_ldap: Apache mod_php php_value' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + ) + +attributetype ( dAapacheAttribute:2.2 NAME 'apachePhpFlag' + SUP name + DESC 'mod_vhost_ldap: Apache mod_php php_flag' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + ) + +attributetype ( dAapacheAttribute:2.3 NAME 'apachePhpAdminValue' + SUP name + DESC 'mod_vhost_ldap: Apache mod_php php_admin_value' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + ) + +attributetype ( dAapacheAttribute:2.4 NAME 'apachePhpAdminFlag' + SUP name + DESC 'mod_vhost_ldap: Apache mod_php php_admin_flag' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + ) + +attributetype ( dAapacheAttribute:2.5 NAME 'apachePHPINIDir' + SUP name + DESC 'mod_vhost_ldap: Apache mod_php PHPINIDir' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:3.1 NAME 'apacheRewriteEngine' + SUP name + DESC 'mod_vhost_ldap: Apache mod_rewrite RewriteEngine' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:3.2 NAME 'apacheRewriteOptions' + SUP name + DESC 'mod_vhost_ldap: Apache mod_rewrite RewriteOption' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:3.3 NAME 'apacheRewriteBase' + SUP name + DESC 'mod_vhost_ldap: Apache mod_rewrite RewriteBase' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:3.4 NAME 'apacheRewriteCond' + SUP name + DESC 'mod_vhost_ldap: Apache mod_rewrite RewriteCond' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + ) + +attributetype ( dAapacheAttribute:3.5 NAME 'apacheRewriteRule' + SUP name + DESC 'mod_vhost_ldap: Apache mod_rewrite RewriteRule' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + ) + +attributetype ( dAapacheAttribute:3.6 NAME 'apacheRewriteMap' + SUP name + DESC 'mod_vhost_ldap: Apache mod_rewrite RewriteMap' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + ) + +attributetype ( dAapacheAttribute:3.7 NAME 'apacheRewriteLock' + SUP name + DESC 'mod_vhost_ldap: Apache mod_rewrite RewriteLock' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:3.8 NAME 'apacheRewriteLog' + SUP name + DESC 'mod_vhost_ldap: Apache mod_rewrite RewriteLog' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:3.9 NAME 'apacheRewriteLogLevel' + DESC 'mod_vhost_ldap: Apache mod_rewrite RewriteLogLevel' + EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:4.1 NAME 'apacheAlias' + SUP name + DESC 'mod_vhost_ldap: Apache mod_alias Alias' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + ) + +attributetype ( dAapacheAttribute:4.2 NAME 'apacheRedirect' + SUP name + DESC 'mod_vhost_ldap: Apache mod_alias Redirect' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:4.3 NAME 'apacheAliasMatch' + SUP name + DESC 'mod_vhost_ldap: Apache mod_alias AliasMAtch' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:4.4 NAME 'apacheScriptAliasMatch' + SUP name + DESC 'mod_vhost_ldap: Apache mod_alias ScriptAliasMatch' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:4.5 NAME 'apacheRedirectMatch' + SUP name + DESC 'mod_vhost_ldap: Apache mod_alias RedirectMatch' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:4.6 NAME 'apacheRedirectTemp' + SUP name + DESC 'mod_vhost_ldap: Apache mod_alias RedirectTemp' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:4.7 NAME 'apacheRedirectPermanent' + SUP name + DESC 'mod_vhost_ldap: Apache mod_alias RedirectPermanent' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:5.1 NAME 'apacheCustomLog' + SUP name + DESC 'mod_vhost_ldap: Apache mod_log_config CustomLog' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:5.2 NAME 'apacheTransferLog' + SUP name + DESC 'mod_vhost_ldap: Apache mod_log_config TransferLog' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:5.3 NAME 'apacheLogFormat' + SUP name + DESC 'mod_vhost_ldap: Apache mod_log_config LogFormat' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + ) + +attributetype ( dAapacheAttribute:5.5 NAME 'apacheCookieLog' + SUP name + DESC 'mod_vhost_ldap: Apache mod_log_config CookieLog' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAapacheAttribute:5.6 NAME 'apacheBufferedLogs' + SUP name + DESC 'mod_vhost_ldap: Apache mod_log_config BufferedLogs (experimental)' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +objectclass ( dAapacheObjectClass:1 NAME 'apacheConf' + SUP top AUXILIARY + MUST ( apacheServerName ) + MAY ( apacheServerAlias $ apacheServerAdmin $ apacheScriptAlias $ + apacheSuexecUid $ apacheSuexecGid $ apacheErrorLog $ apachePhpValue $ apachePhpFlag $ + apachePhpAdminValue $ apachePhpAdminFlag $ apachePHPINIDir $ apacheRewriteEngine $ + apacheRewriteOptions $ apacheRewriteBase $ apacheRewriteCond $ apacheRewriteRule $ + apacheRewriteMap $ apacheRewriteLock $ apacheRewriteLog $ apacheRewriteLogLevel $ + apacheAlias $ apacheRedirect $ apacheAliasMatch $ apacheScriptAliasMatch $ apacheRedirectMatch $ + apacheRedirectTemp $ apacheRedirectPermanent $ apacheCustomLog $ apacheTransferLog $ + apacheLogFormat $ apacheCookieLog $ apacheBufferedLogs ) ) Added: ldap_schemas/trunk/digitalADMIN-Core.ldif =================================================================== --- ldap_schemas/trunk/digitalADMIN-Core.ldif (rev 0) +++ ldap_schemas/trunk/digitalADMIN-Core.ldif 2006-05-08 21:17:06 UTC (rev 7) @@ -0,0 +1,93 @@ +dn: cn=digitalADMIN-Core,cn=config +objectClass: olcSchemaConfig +cn: digitalADMIN-Core +olcObjectIdentifier: digitalADMINRoot 1.3.6.1.4.1.21273.1.3.1 +olcObjectIdentifier: digitalADMINLDAP digitalADMINRoot:2 +olcObjectIdentifier: digitalADMINattribute digitalADMINLDAP:1 +olcObjectIdentifier: digitalADMINobjectClass digitalADMINLDAP:2 +olcObjectIdentifier: dAcustomerAttribute digitalADMINattribute:1 +olcObjectIdentifier: dAcustomerObjectClass digitalADMINobjectClass:1 +olcAttributeTypes: ( dAcustomerAttribute:1.1 NAME 'customerNumber' EQUALITY + integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:1.2 NAME 'customerTitle' SUP name + EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1. + 1466.115.121.1.15{64} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:1.3 NAME 'customerFirstName' SUP n + ame EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1. + 4.1.1466.115.121.1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:1.4 NAME 'customerLastName' SUP na + me EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4 + .1.1466.115.121.1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:1.5 NAME 'customerCompany' SUP nam + e EQUALITY caseIgnreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4. + 1.1466.115.121.1.15{512} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:1.6 NAME 'customerStreet' SUP name + EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1 + .1466.115.121.1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:1.7 NAME 'customerZipcode' EQUALIT + Y integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:1.8 NAME 'customerCity' SUP name E + QUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1 + 466.115.121.1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:1.9 NAME 'customerCountry' SUP nam + e EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4. + 1.1466.115.121.1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:1.10 NAME 'customerPhone' SUP name + EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1 + .1466.115.121.1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:1.11 NAME 'customerFax' SUP name + EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1. + 1466.115.121.1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:1.12 NAME 'customerEmail' SUP nam + e EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4. + 1.1466.115.121.1.15{256} ) +olcAttributeTypes: ( dAcustomerAttribute:1.13 NAME 'customerInternalNotes' + SUP name EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1. + 3.6.1.4.1.1466.115.121.1.15{256} ) +olcAttributeTypes: ( dAcustomerAttribute:2.1 NAME 'customerIsAdminc' EQUAL + ITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:2.2 NAME 'customerAdmincTitle' SU + P name EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6 + .1.4.1.1466.115.121.1.15{64} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:2.3 NAME 'customerAdmincFirstName + ' SUP name EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1 + .3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:2.4 NAME 'customerAdmincLastName' + SUP name EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1. + 3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:2.5 NAME 'customerAdmincCompany' + SUP name EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3 + .6.1.4.1.1466.115.121.1.15{512} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:2.6 NAME 'customerAdmincStreet' S + UP name EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3. + 6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:2.7 NAME 'customerAdmincZipcode' + EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:2.8 NAME 'customerAdmincCity' SUP + name EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6. + 1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:2.9 NAME 'customerAdmincCountry' + SUP name EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3 + .6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:2.10 NAME 'customerAdmincPhone' S + UP name EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3. + 6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:2.11 NAME 'customerAdmincFax' SUP + name EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6. + 1.4.1.1466.115.121.1.15{256} SINGLE-VALUE ) +olcAttributeTypes: ( dAcustomerAttribute:2.12 NAME 'customerAdmincEmail' S + UP name EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3. + 6.1.4.1.1466.115.121.1.15{256} ) +olcAttributeTypes: ( dAcustomerAttribute:2.13 NAME 'customerAdmincInternal + Notes' SUP name EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYN + TAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) +olcObjectClasses: ( dAcustomerObjectClass:1 NAME 'customer' SUP top STRUCTU + RAL MUST customerNumber MAY ( customerTitle $ customerFirstName $ customerLas + tName $ customerCompany $ customerStreet $ customerZipcode $ customerCity $ c + ustomerCountry $ customerPhone $ customerFax $ customerEmail $ customerIntern + alNotes $ customerIsAdminc $ customerAdmincFirstName $ customerAdmincLastName + $ customerCompany $ customerStreet $ customerZipcode $ customerCity $ custom + erCountry $ customerPhone $ customerFax $ customerEmail $ customerInternalNot + es ) ) + + Added: ldap_schemas/trunk/digitalADMIN-Core.schema =================================================================== --- ldap_schemas/trunk/digitalADMIN-Core.schema (rev 0) +++ ldap_schemas/trunk/digitalADMIN-Core.schema 2006-05-08 21:17:06 UTC (rev 7) @@ -0,0 +1,241 @@ +# digitalADMIN Root: 1.3.6.1.4.1.21273.1.3.1 +# +# digitalADMIN SNMP: 1.3.6.1.4.1.21273.1.3.1.1 +# digitalADMIN LDAP: 1.3.6.1.4.1.21273.1.3.1.2 +# digitalADMIN LDAP Attibutetypes: 1.3.6.1.4.1.21273.1.3.1.2.1 +# digitalADMIN LDAP myAttribute: 1.3.6.1.4.1.21273.1.3.1.2.1.1 +# digitalADMIN LDAP objectclasses: 1.3.6.1.4.1.21273.1.3.1.2.2 +# digitalADMIN LDAP myClass: 1.3.6.1.4.1.21273.1.3.1.2.2.1 +# +# digitalADMIN LDAP customer Attribute: 1.3.6.1.4.1.21273.1.3.1.2.1.1 +# - customer 1.3.6.1.4.1.21273.1.3.1.2.1.1.1 +# - admin-c 1.3.6.1.4.1.21273.1.3.1.2.1.1.2 +# digitalADMIN LDAP customer Class: 1.3.6.1.4.1.21273.1.3.1.2.2.1 +# + +## +## object aliases +## +objectIdentifier digitalADMINRoot 1.3.6.1.4.1.21273.1.3.1 +objectIdentifier digitalADMINLDAP digitalADMINRoot:2 +objectIdentifier digitalADMINattribute digitalADMINLDAP:1 +objectIdentifier digitalADMINobjectClass digitalADMINLDAP:2 +objectIdentifier dAcustomerAttribute digitalADMINattribute:1 +objectIdentifier dAcustomerObjectClass digitalADMINobjectClass:1 + +## +## customer data +## + +## customer itself + +attributetype ( dAcustomerAttribute:1.1 NAME 'customerNumber' + EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:1.2 NAME 'customerTitle' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{64} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:1.3 NAME 'customerFirstName' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:1.4 NAME 'customerLastName' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:1.5 NAME 'customerCompany' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{512} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:1.6 NAME 'customerStreet' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:1.7 NAME 'customerZipcode' + EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:1.8 NAME 'customerCity' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:1.9 NAME 'customerCountry' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:1.10 NAME 'customerPhone' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:1.11 NAME 'customerFax' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:1.12 NAME 'customerEmail' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + ) + +attributetype ( dAcustomerAttribute:1.13 NAME 'customerInternalNotes' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + ) + +## admin-c related + +attributetype ( dAcustomerAttribute:2.1 NAME 'customerIsAdminc' + EQUALITY booleanMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:2.2 NAME 'customerAdmincTitle' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{64} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:2.3 NAME 'customerAdmincFirstName' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:2.4 NAME 'customerAdmincLastName' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:2.5 NAME 'customerAdmincCompany' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{512} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:2.6 NAME 'customerAdmincStreet' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:2.7 NAME 'customerAdmincZipcode' + EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:2.8 NAME 'customerAdmincCity' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:2.9 NAME 'customerAdmincCountry' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:2.10 NAME 'customerAdmincPhone' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:2.11 NAME 'customerAdmincFax' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + SINGLE-VALUE + ) + +attributetype ( dAcustomerAttribute:2.12 NAME 'customerAdmincEmail' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + ) + +attributetype ( dAcustomerAttribute:2.13 NAME 'customerAdmincInternalNotes' + SUP name + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} + ) + +objectclass ( dAcustomerObjectClass:1 NAME 'customer' + SUP top STRUCTURAL + MUST customerNumber + MAY ( customerTitle $ customerFirstName $ customerLastName $ customerCompany $ + customerStreet $ customerZipcode $ customerCity $ customerCountry $ + customerPhone $ customerFax $ customerEmail $ customerInternalNotes $ + customerIsAdminc $ customerAdmincFirstName $ customerAdmincLastName $ + customerCompany $ customerStreet $ customerZipcode $ customerCity $ + customerCountry $ customerPhone $ customerFax $ customerEmail $ + customerInternalNotes) + ) + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <tre...@us...> - 2006-05-05 00:48:27
|
Revision: 6 Author: trekkie_lugfl Date: 2006-05-04 17:48:23 -0700 (Thu, 04 May 2006) ViewCVS: http://svn.sourceforge.net/yawcs/?rev=6&view=rev Log Message: ----------- added support for multible attributes in apacheRewriteMap Modified Paths: -------------- mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c Modified: mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c =================================================================== --- mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c 2006-05-02 15:40:08 UTC (rev 5) +++ mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c 2006-05-05 00:48:23 UTC (rev 6) @@ -707,7 +707,16 @@ } } else if (strcasecmp (attributes2[i], "apacheRewriteMap") == 0) { - mod_vhost_ldap_ng_call_take2( r, mod_rewrite, mod_rewrite_cfg, "RewriteMap", vals[i] ); + char* toParse = (char*)vals[i]; + char* rule = NULL; + char* last = NULL; + while( rule = apr_strtok( toParse, ";", &last)) + { + if(!toParse) + rule++; + toParse = NULL; + mod_vhost_ldap_ng_call_take2( r, mod_rewrite, mod_rewrite_cfg, "RewriteMap", rule ); + } } else if (strcasecmp (attributes2[i], "apacheRewriteLock") == 0) { mod_vhost_ldap_ng_call_take1( r, mod_rewrite, mod_rewrite_cfg, "RewriteOptions", vals[i] ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <tre...@us...> - 2006-05-02 15:40:23
|
Revision: 5 Author: trekkie_lugfl Date: 2006-05-02 08:40:08 -0700 (Tue, 02 May 2006) ViewCVS: http://svn.sourceforge.net/yawcs/?rev=5&view=rev Log Message: ----------- configuration of mod_rewrite should now finaly work... Modified Paths: -------------- mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c Modified: mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c =================================================================== --- mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c 2006-05-01 18:40:38 UTC (rev 4) +++ mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c 2006-05-02 15:40:08 UTC (rev 5) @@ -636,78 +636,90 @@ while (attributes2[i]) { ap_log_rerror(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, r, "[mod_vhost_ldap_ng.c] checking attribute: %s=%s", attributes2[i], vals[i] ); - if (strcasecmp (attributes2[i], "apacheServerName") == 0) { - reqc->name = apr_pstrdup (r->pool, vals[i]); + // little optimation.. (only try set attribute if it has a value) + if(vals[i]) + { + if (strcasecmp (attributes2[i], "apacheServerName") == 0) { + reqc->name = apr_pstrdup (r->pool, vals[i]); + } + else if (strcasecmp (attributes2[i], "apacheServerAdmin") == 0) { + reqc->admin = apr_pstrdup (r->pool, vals[i]); + } + else if (strcasecmp (attributes2[i], "apacheDocumentRoot") == 0) { + reqc->docroot = apr_pstrdup (r->pool, vals[i] ); + } + else if (strcasecmp (attributes2[i], "apacheScriptAlias") == 0) { + reqc->cgiroot = apr_pstrdup (r->pool, vals[i]); + } + else if (strcasecmp (attributes2[i], "apacheSuexecUid") == 0) { + reqc->uid = apr_pstrdup(r->pool, vals[i] ); + } + else if (strcasecmp (attributes2[i], "apacheSuexecGid") == 0) { + reqc->gid = apr_pstrdup(r->pool, vals[i] ); + } + else if( mod_php->cmds ) + { + if (strcasecmp (attributes2[i], "apachePhpValue") == 0) { + mod_vhost_ldap_ng_call_take2( r, mod_php, mod_php_cfg, "php_value", vals[i] ); + } + else if (strcasecmp (attributes2[i], "apachePhpFlag") == 0) { + mod_vhost_ldap_ng_call_take2( r, mod_php, mod_php_cfg, "php_flag", vals[i] ); + } + else if (strcasecmp (attributes2[i], "apachePhpAdminValue") == 0) { + mod_vhost_ldap_ng_call_take2( r, mod_php, mod_php_cfg, "php_admin_value", vals[i] ); + } + else if (strcasecmp (attributes2[i], "apachePhpAdminFlag") == 0) { + mod_vhost_ldap_ng_call_take2( r, mod_php, mod_php_cfg, "php_admin_flag", vals[i] ); + } + else if (strcasecmp (attributes2[i], "apachePHPINIDir") == 0) { + mod_vhost_ldap_ng_call_take1( r, mod_php, mod_php_cfg, "PHPINIDir", vals[i] ); + } + } + if( mod_rewrite->cmds) + { + if (strcasecmp (attributes2[i], "apacheRewriteEngine") == 0) { + // init mod_rewrite + if( strcasecmp( vals[i], "On") == 0 ) + { + ((void**)r->server->module_config)[ mod_rewrite->module_index ] = mod_rewrite->create_server_config( r->pool, r->server ); + mod_vhost_ldap_ng_call_flag( r, mod_rewrite, mod_rewrite_cfg, "RewriteEngine", vals[i] ); + } + } + else if (strcasecmp (attributes2[i], "apacheRewriteOptions") == 0) { + mod_vhost_ldap_ng_call_take2( r, mod_rewrite, mod_rewrite_cfg, "RewriteOptions", vals[i] ); + } + else if (strcasecmp (attributes2[i], "apacheRewriteBase") == 0) { + mod_vhost_ldap_ng_call_take1( r, mod_rewrite, mod_rewrite_cfg, "RewriteBase", vals[i] ); + } + else if (strcasecmp (attributes2[i], "apacheRewriteCond") == 0) { + mod_vhost_ldap_ng_call_raw( r, mod_rewrite, mod_rewrite_cfg, "RewriteCond", vals[i] ); + } + else if (strcasecmp (attributes2[i], "apacheRewriteRule") == 0) { + char* toParse = (char*)vals[i]; + char* rule = NULL; + char* last = NULL; + while( rule = apr_strtok( toParse, ";", &last)) + { + if(!toParse) + rule++; + toParse = NULL; + mod_vhost_ldap_ng_call_raw( r, mod_rewrite, mod_rewrite_cfg, "RewriteRule", rule); + } + } + else if (strcasecmp (attributes2[i], "apacheRewriteMap") == 0) { + mod_vhost_ldap_ng_call_take2( r, mod_rewrite, mod_rewrite_cfg, "RewriteMap", vals[i] ); + } + else if (strcasecmp (attributes2[i], "apacheRewriteLock") == 0) { + mod_vhost_ldap_ng_call_take1( r, mod_rewrite, mod_rewrite_cfg, "RewriteOptions", vals[i] ); + } + else if (strcasecmp (attributes2[i], "apacheRewriteLog") == 0) { + mod_vhost_ldap_ng_call_take1( r, mod_rewrite, mod_rewrite_cfg, "RewriteLog", vals[i] ); + } + else if (strcasecmp (attributes2[i], "apacheRewriteLogLevel") == 0) { + mod_vhost_ldap_ng_call_take1( r, mod_rewrite, mod_rewrite_cfg, "RewriteLogLevel", vals[i] ); + } + } } - else if (strcasecmp (attributes2[i], "apacheServerAdmin") == 0) { - reqc->admin = apr_pstrdup (r->pool, vals[i]); - } - else if (strcasecmp (attributes2[i], "apacheDocumentRoot") == 0) { - reqc->docroot = apr_pstrdup (r->pool, vals[i] ); - } - else if (strcasecmp (attributes2[i], "apacheScriptAlias") == 0) { - reqc->cgiroot = apr_pstrdup (r->pool, vals[i]); - } - else if (strcasecmp (attributes2[i], "apacheSuexecUid") == 0) { - reqc->uid = apr_pstrdup(r->pool, vals[i] ); - } - else if (strcasecmp (attributes2[i], "apacheSuexecGid") == 0) { - reqc->gid = apr_pstrdup(r->pool, vals[i] ); - } - else if( mod_php->cmds ) - { - if (strcasecmp (attributes2[i], "apachePhpValue") == 0) { - mod_vhost_ldap_ng_call_take2( r, mod_php, mod_php_cfg, "php_value", vals[i] ); - } - else if (strcasecmp (attributes2[i], "apachePhpFlag") == 0) { - mod_vhost_ldap_ng_call_take2( r, mod_php, mod_php_cfg, "php_flag", vals[i] ); - } - else if (strcasecmp (attributes2[i], "apachePhpAdminValue") == 0) { - mod_vhost_ldap_ng_call_take2( r, mod_php, mod_php_cfg, "php_admin_value", vals[i] ); - } - else if (strcasecmp (attributes2[i], "apachePhpAdminFlag") == 0) { - mod_vhost_ldap_ng_call_take2( r, mod_php, mod_php_cfg, "php_admin_flag", vals[i] ); - } - else if (strcasecmp (attributes2[i], "apachePHPINIDir") == 0) { - mod_vhost_ldap_ng_call_take1( r, mod_php, mod_php_cfg, "PHPINIDir", vals[i] ); - } - } - if( mod_rewrite->cmds) - { - if (strcasecmp (attributes2[i], "apacheRewriteEngine") == 0) { - // init mod_rewrite - if( strcasecmp( vals[i], "On") == 0 ) - { - ((void**)r->server->module_config)[ mod_rewrite->module_index ] = mod_rewrite->create_server_config( r->pool, r->server ); - mod_vhost_ldap_ng_call_flag( r, mod_rewrite, mod_rewrite_cfg, "RewriteEngine", vals[i] ); - } - } - else if (strcasecmp (attributes2[i], "apacheRewriteOptions") == 0) { - mod_vhost_ldap_ng_call_take2( r, mod_rewrite, mod_rewrite_cfg, "RewriteOptions", vals[i] ); - } - else if (strcasecmp (attributes2[i], "apacheRewriteBase") == 0) { - mod_vhost_ldap_ng_call_take1( r, mod_rewrite, mod_rewrite_cfg, "RewriteBase", vals[i] ); - } - else if (strcasecmp (attributes2[i], "apacheRewriteCond") == 0) { - mod_vhost_ldap_ng_call_raw( r, mod_rewrite, mod_rewrite_cfg, "RewriteCond", vals[i] ); - } - else if (strcasecmp (attributes2[i], "apacheRewriteRule") == 0) { - mod_vhost_ldap_ng_call_raw( r, mod_rewrite, mod_rewrite_cfg, "RewriteRule", vals[i] ); - } - else if (strcasecmp (attributes2[i], "apacheRewriteMap") == 0) { - mod_vhost_ldap_ng_call_take2( r, mod_rewrite, mod_rewrite_cfg, "RewriteMap", vals[i] ); - } - else if (strcasecmp (attributes2[i], "apacheRewriteLock") == 0) { - mod_vhost_ldap_ng_call_take1( r, mod_rewrite, mod_rewrite_cfg, "RewriteOptions", vals[i] ); - } - else if (strcasecmp (attributes2[i], "apacheRewriteLog") == 0) { - mod_vhost_ldap_ng_call_take1( r, mod_rewrite, mod_rewrite_cfg, "RewriteLog", vals[i] ); - } - else if (strcasecmp (attributes2[i], "apacheRewriteLogLevel") == 0) { - mod_vhost_ldap_ng_call_take1( r, mod_rewrite, mod_rewrite_cfg, "RewriteLogLevel", vals[i] ); - } - } - i++; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <tre...@us...> - 2006-05-01 18:40:47
|
Revision: 4 Author: trekkie_lugfl Date: 2006-05-01 11:40:38 -0700 (Mon, 01 May 2006) ViewCVS: http://svn.sourceforge.net/yawcs/?rev=4&view=rev Log Message: ----------- more renamings from mod_vhost_ldap to mod_vhost_ldap_ng.. now apache can load the module.. Modified Paths: -------------- mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c Modified: mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c =================================================================== --- mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c 2006-05-01 18:31:39 UTC (rev 3) +++ mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c 2006-05-01 18:40:38 UTC (rev 4) @@ -58,7 +58,7 @@ #define MIN_UID 100 #define MIN_GID 100 -module AP_MODULE_DECLARE_DATA vhost_ldap_module; +module AP_MODULE_DECLARE_DATA vhost_ldap_ng_module; typedef enum { MVL_UNSET, MVL_DISABLED, MVL_ENABLED @@ -316,7 +316,7 @@ mod_vhost_ldap_ng_config_t *conf = (mod_vhost_ldap_ng_config_t *)ap_get_module_config(cmd->server->module_config, - &vhost_ldap_module); + &vhost_ldap_ng_module); ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, cmd->server, "[mod_vhost_ldap_ng.c] url parse: `%s'", @@ -414,7 +414,7 @@ { mod_vhost_ldap_ng_config_t *conf = (mod_vhost_ldap_ng_config_t *)ap_get_module_config(cmd->server->module_config, - &vhost_ldap_module); + &vhost_ldap_ng_module); conf->enabled = (enabled) ? MVL_ENABLED : MVL_DISABLED; return NULL; @@ -424,7 +424,7 @@ { mod_vhost_ldap_ng_config_t *conf = (mod_vhost_ldap_ng_config_t *)ap_get_module_config(cmd->server->module_config, - &vhost_ldap_module); + &vhost_ldap_ng_module); conf->binddn = apr_pstrdup(cmd->pool, binddn); return NULL; } @@ -433,7 +433,7 @@ { mod_vhost_ldap_ng_config_t *conf = (mod_vhost_ldap_ng_config_t *)ap_get_module_config(cmd->server->module_config, - &vhost_ldap_module); + &vhost_ldap_ng_module); conf->bindpw = apr_pstrdup(cmd->pool, bindpw); return NULL; } @@ -442,7 +442,7 @@ { mod_vhost_ldap_ng_config_t *conf = (mod_vhost_ldap_ng_config_t *)ap_get_module_config (cmd->server->module_config, - &vhost_ldap_module); + &vhost_ldap_ng_module); if (strcmp(deref, "never") == 0 || strcasecmp(deref, "off") == 0) { conf->deref = never; conf->have_deref = 1; @@ -469,7 +469,7 @@ { mod_vhost_ldap_ng_config_t *conf = (mod_vhost_ldap_ng_config_t *)ap_get_module_config(cmd->server->module_config, - &vhost_ldap_module); + &vhost_ldap_ng_module); conf->fallback = apr_pstrdup(cmd->pool, fallback); return NULL; @@ -518,7 +518,7 @@ const char **vals = NULL; char filtbuf[FILTER_LENGTH]; mod_vhost_ldap_ng_config_t *conf = - (mod_vhost_ldap_ng_config_t *)ap_get_module_config(r->server->module_config, &vhost_ldap_module); + (mod_vhost_ldap_ng_config_t *)ap_get_module_config(r->server->module_config, &vhost_ldap_ng_module); core_server_config * core = (core_server_config *) ap_get_module_config(r->server->module_config, &core_module); util_ldap_connection_t *ldc = NULL; @@ -560,7 +560,7 @@ // configured reqc = (mod_vhost_ldap_ng_request_t *)apr_pcalloc(r->pool, sizeof(mod_vhost_ldap_ng_request_t)); - ap_set_module_config(r->request_config, &vhost_ldap_module, reqc); + ap_set_module_config(r->request_config, &vhost_ldap_ng_module, reqc); // mod_vhost_ldap_ng is disabled or we don't have LDAP Url if ((conf->enabled != MVL_ENABLED)||(!conf->have_ldap_url)) { @@ -771,10 +771,10 @@ ap_unix_identity_t *ugid = NULL; mod_vhost_ldap_ng_config_t *conf = (mod_vhost_ldap_ng_config_t *)ap_get_module_config(r->server->module_config, - &vhost_ldap_module); + &vhost_ldap_ng_module); mod_vhost_ldap_ng_request_t *req = (mod_vhost_ldap_ng_request_t *)ap_get_module_config(r->request_config, - &vhost_ldap_module); + &vhost_ldap_ng_module); uid_t uid = -1; gid_t gid = -1; @@ -819,7 +819,7 @@ #endif } -module AP_MODULE_DECLARE_DATA vhost_ldap_module = { +module AP_MODULE_DECLARE_DATA vhost_ldap_ng_module = { STANDARD20_MODULE_STUFF, NULL, NULL, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <tre...@us...> - 2006-05-01 18:32:05
|
Revision: 3 Author: trekkie_lugfl Date: 2006-05-01 11:31:39 -0700 (Mon, 01 May 2006) ViewCVS: http://svn.sourceforge.net/yawcs/?rev=3&view=rev Log Message: ----------- corrected SVN Id proerty usage Modified Paths: -------------- mod_vhost_ldap_ng/trunk/VERSION mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c Property Changed: ---------------- mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c Modified: mod_vhost_ldap_ng/trunk/VERSION =================================================================== --- mod_vhost_ldap_ng/trunk/VERSION 2006-05-01 15:05:48 UTC (rev 2) +++ mod_vhost_ldap_ng/trunk/VERSION 2006-05-01 18:31:39 UTC (rev 3) @@ -1 +1 @@ -"0.0.1_alpha" +0.0.1_alpha Modified: mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c =================================================================== --- mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c 2006-05-01 15:05:48 UTC (rev 2) +++ mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c 2006-05-01 18:31:39 UTC (rev 3) @@ -1,4 +1,4 @@ -$Id$ +/* $Id$ */ /* ============================================================ * Mod_vhost_ldap Next Generation * Copyright (c) 2005-2006, Jan Boysen & Markus Ullmann Property changes on: mod_vhost_ldap_ng/trunk/mod_vhost_ldap_ng.c ___________________________________________________________________ Name: svn:keywords + Id This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <tre...@us...> - 2003-03-16 09:54:06
|
Update of /cvsroot/yawcs/yawcs/cgi-bin/templates In directory sc8-pr-cvs1:/tmp/cvs-serv25377/cgi-bin/templates Modified Files: layout.htm Log Message: New Layout !! by LJVision :-) Index: layout.htm =================================================================== RCS file: /cvsroot/yawcs/yawcs/cgi-bin/templates/layout.htm,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** layout.htm 22 Dec 2002 13:39:32 -0000 1.1.1.1 --- layout.htm 16 Mar 2003 09:54:00 -0000 1.2 *************** *** 1,79 **** ! <HTML> ! <HEAD> ! <title><titel></title> ! <link rel="stylesheet" type="text/css" href="../style.css"> ! </HEAD> ! ! <BODY BGCOLOR=white leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="background-repeat:no-repeat;"> ! <table width="800" cellspacing="0" cellpadding="0" align="center"> ! <tr> ! <td height="70" width="287" bgcolor="98A2AB" valign="top"> ! <table width="287" border="0" cellspacing="0" cellpadding="0" background="../pics/bkgrntop.jpg" height="70" border=1 style="background-repeat:no-repeat;"> ! <tr valign="top"> ! <td nowrap valign="bottom"> <img src="../pics/logo.gif"><br><font color=white><b> <hppos></b></font></td> ! </tr> ! </table> ! </td> ! <td height="70" bgcolor="98A2AB" valign="top" width="472" nowrap> ! <center> ! <toptxt> ! </center> ! </td> ! </tr> ! ! <tr bgcolor=yellow> ! <td height="18" colspan="2" valign="top"> ! <table border="0" cellspacing="0" cellpadding="0" width="100%" height="21" background="../pics/bkgrnnav_pattern.jpg"> ! <tr> ! <td colspan="3" valign="bottom"> ! <p align="right"> ! <img src="../pics/bkgrnnav.jpg" width="287" height="21" align="left"><font color=white><datetime></font></p> ! </td> ! </tr> ! </table> ! </td> ! </tr> ! <tr> ! <td colspan="2"> ! <table width="100%" cellspacing="0" cellpadding="0"> ! <tr> ! <td width="141" bgcolor="5F6F7F" valign="top" background="../pics/bkgrnbody.jpg" style="background-repeat:no-repeat;"> ! <menue> ! <br><br><br><br><br><br><br><br><br></td> ! <td width="16" valign="top"> ! <table width="100%" border="0" cellspacing="0" cellpadding="0"> ! <tr> ! <td width="16" height="16"> ! <img src="../pics/cornertop.jpg" width="16" height="16"></td> ! </tr> ! </table> ! </td> ! <td valign="top" align="center"> ! <content> ! </td> ! </tr> ! </table> ! <table width="100%" border="0" cellspacing="0" cellpadding="0"> ! <tr> ! <td width="141" bgcolor="5F6F7F"> </td> ! <td width="16" valign="bottom"><img src="../pics/cornerbottom.gif" width="16" height="16"></td> ! <td> </td> ! </tr> ! </table> ! <table width="100%" border="0" cellspacing="0" cellpadding="0"> ! <tr> ! <td height="19" bgcolor="5F6F7F"> ! <div align="right"> ! <b><font face="Arial, Helvetica, sans-serif" size="1" color="white">© 2002 MediaWeb IT</font></b></div> ! </td> ! <td height="19" width="31"> ! <img src="../pics/footer.gif" width="31" height="19"></td> ! <td bgcolor="#0000ff" width="100"> </td> ! </tr> ! </table> ! </td> ! </tr> ! </table> ! </BODY> ! </HTML> \ No newline at end of file --- 1,50 ---- ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> ! <html> ! <head> ! <title><titel></title> ! <meta name="description" content="Wir bieten Ihnen sicheres Webhostig Ihrer Web-Präsents mit ständiger verfügbarkeit und Persönlichem Service"> ! <meta name="keywords" content="Webhosting, Webdevelopment, mediaweb-it, Hompage, speicherplatz, internet, kundebetreung"> ! <meta name="author" content="Hahn, web...@md..."> ! <meta name="DC.Publisher" content="Hahn, web...@me..."> ! <meta name="DC.Date" content="2003-03-14T18:00+1:00"> ! <meta name="DC.Language" content="de, en"> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> ! <link rel="stylesheet" type="text/css" href="<domain>/styles.css"> ! </head> ! <body bgcolor="#ffffff" text="#000000" link="#3d4548" vlink="#7d653c"> ! <table border="0" cellspacing="0" cellpadding="0" align="center" width="730" height=100%> ! <tr> ! <td rowspan="6" style="background-image:url(<domain>/pics/bg_blau_hell_links.gif)" valign="top" width="150" align=center> ! <br> ! <img src="<domain>/pics/logo.gif" width="150" height="110" alt="MediaWeb IT"> ! <br><br> ! <menue> ! </td> ! <td height=50> ! <img src="<domain>/pics/titel2.gif" alt="Banner1"> ! </td> ! </tr> ! <tr><td height="5"></td></tr> ! <tr> ! <td style="background-image:url(<domain>/pics/bg_arena2.gif)" height="20"> ! <hppos> ! </td> ! </tr> ! <tr><td height="5"></td></tr> ! <tr> ! <td style="background-image:url(<domain>/pics/bg_arena.gif); padding:10px;" width="548" valign="top"> ! <content> ! </td> ! </tr> ! <tr height=10><td> </td></tr> ! <tr height=50> ! <td style="background-image:url(<domain>/pics/bg_blau_hell_links.gif)"> </td> ! <td style="background-image:url(<domain>/pics/bg_arena3.gif)" width="565" valign="top"> ! <p align="right"><a href="#top" ONFOCUS="this.blur()"><img src="<domain>/picscd/pfeil_top.gif" width="18" height="28" border="0" alt=""></a></p> ! <p align="left"> © 2001 by MediaWeb-IT • <a href="mailto:in...@me..." ONFOCUS="this.blur()">in...@Me...</a><br></p> ! </td> ! </tr> ! </table> ! </body> ! </html> |
|
From: <tre...@us...> - 2003-03-16 09:54:06
|
Update of /cvsroot/yawcs/yawcs/cgi-bin
In directory sc8-pr-cvs1:/tmp/cvs-serv25377/cgi-bin
Modified Files:
kis.cgi
Log Message:
New Layout !! by LJVision :-)
Index: kis.cgi
===================================================================
RCS file: /cvsroot/yawcs/yawcs/cgi-bin/kis.cgi,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** kis.cgi 13 Mar 2003 14:17:41 -0000 1.2
--- kis.cgi 16 Mar 2003 09:54:00 -0000 1.3
***************
*** 19,23 ****
$stdmenu="Home,Kontakt,Angebote,Servicebereich,Info";
! $stdurl=(",,,http://ks.mediaweb-it.net,");
&parse_input;
--- 19,23 ----
$stdmenu="Home,Kontakt,Angebote,Servicebereich,Info";
! $stdurl=(",,,http://service.mediaweb-it.net,");
&parse_input;
***************
*** 209,212 ****
--- 209,213 ----
open(template,"templates/layout.htm");
while(<template>){
+ $_ =~ s/<domain>/http:\/\/$ENV{'HTTP_HOST'}/g;
$_ =~ s/<titel>/$param[0]/g;
$_ =~ s/<hppos>/$param[1]/g;
|
|
From: <tre...@us...> - 2003-03-13 14:27:25
|
Update of /cvsroot/yawcs/yawcs In directory sc8-pr-cvs1:/tmp/cvs-serv1490 Modified Files: webal.conf Log Message: UPDATED ISP's for Webalizer Index: webal.conf =================================================================== RCS file: /cvsroot/yawcs/yawcs/webal.conf,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** webal.conf 22 Dec 2002 13:39:30 -0000 1.1.1.1 --- webal.conf 13 Mar 2003 14:27:01 -0000 1.2 *************** *** 116,118 **** HideSite *.surfer.at GroupSite *.ignite.net [BT Ignite Dialin ] ! HideSite *.ignite.net \ No newline at end of file --- 116,159 ---- HideSite *.surfer.at GroupSite *.ignite.net [BT Ignite Dialin ] ! HideSite *.ignite.net ! GroupSite *.nc-ppp.net [nordCom / EWETEL] ! HideSite *.nc-ppp.net ! GroupSite *.fh-stralsund.de [Fachhochschule Stralsund] ! HideSite *.fh-stralsund.de ! GroupSite *.vtx.ch [VTX Service SA / Schweiz] ! HideSite *.vtx.ch ! GroupSite *.hispeed.ch [Cablecom GmbH / Schweiz] ! HideSite *.hispeed.ch ! GroupSite *.telekom.at [Telekom Austria AG / Östereich] ! HideSite *.telekom.at ! GroupSite *.qsc.de [A & L Partner Direktmarketing GmbH] ! HideSite *.qsc.de ! GroupSite *.uu.net [UUNET Deutschland GmbH] ! HideSite *.uu.net ! GroupSite *.vnet.de [UNICORN Communication Service GmbH] ! HideSite *.vnet.de ! GroupSite *.wobline.de [WobCom GmbH] ! HideSite *.wobline.de ! GroupSite *.datevnet.de [Datev eG, Nuernberg] ! HideSite *.datevnet.de ! GroupSite *.uni-marburg.de [UNI Marburg] ! HideSite *.uni-marburg.de ! GroupSite *.uni-bremen.de [UNI Bremen] ! HideSite *.uni-bremen.de ! GroupSite *.univie.ac.at [UNI Wien / Östereich] ! HideSite *.univie.ac.at ! GroupSite *.uni-magdeburg.de [UNI Magdeburg] ! HideSite *.uni-magdeburg.de ! GroupSite *.admin4network.de [Hofmann Telecom] ! HideSite *.admin4network.de ! GroupSite *.berlikomm.net [BerliKomm] ! HideSite *.berlikomm.net ! GroupSite *.qdsl-home.de [INKO GmbH] ! HideSite *.qdsl-home.de ! GroupSite *.tu-ilmenau.de [Technische UNI Ilmenau] ! HideSite *.tu-ilmenau.de ! GroupSite *.uni-kl.de [UNI Kaiserslautern] ! HideSite *.uni-kl.de ! GroupSite *.colt.net [COLT GmbH] ! HideSite *.colt.net ! |
|
From: <tre...@us...> - 2003-03-13 14:17:49
|
Update of /cvsroot/yawcs/yawcs
In directory sc8-pr-cvs1:/tmp/cvs-serv29893
Modified Files:
webconf.pl
Log Message:
Inserted User Config
Index: webconf.pl
===================================================================
RCS file: /cvsroot/yawcs/yawcs/webconf.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** webconf.pl 13 Mar 2003 12:30:52 -0000 1.5
--- webconf.pl 13 Mar 2003 14:17:40 -0000 1.6
***************
*** 27,31 ****
&read_config; ## Die Konfiguration aus MYSQL Datenbank einlesen....
! print<<output if($config{'debug'} eq 1);
\n\n
###################################
--- 27,31 ----
&read_config; ## Die Konfiguration aus MYSQL Datenbank einlesen....
! print<<output if($config{debug});
\n\n
###################################
***************
*** 44,48 ****
&STATS; ## build Usage Stats !!
&SENDMAIL; ## SENDMAIL CONFIG BAUEN !!
! print "FERTIG !!!\n\n"if($config{'debug'} eq 1);
exit;
--- 44,48 ----
&STATS; ## build Usage Stats !!
&SENDMAIL; ## SENDMAIL CONFIG BAUEN !!
! print "FERTIG !!!\n\n"if($config{debug});
exit;
***************
*** 112,116 ****
NAMED
! my $sql2 = qq[SELECT sub, ddns, ddns_ip FROM subdomains WHERE domain='$domain->[0]'];#'
$cursor2 = $dbh->prepare($sql2) or die "SELECT failed: $sql2";
$cursor2->execute() or die $cursor2->errstr;
--- 112,116 ----
NAMED
! my $sql2 = qq[SELECT sub, ddns, ddns_ip FROM subdomains WHERE domain='$domain->[0]'];
$cursor2 = $dbh->prepare($sql2) or die "SELECT failed: $sql2";
$cursor2->execute() or die $cursor2->errstr;
***************
*** 134,157 ****
sub APACHE
{
! print "Erstelle Apache Konfiguration...\n"if($config{'debug'} eq 1);
! open(APACHE,">$config{'apache_conf'}");
&db_open;
! my $sql = qq[SELECT subdomain, domain, kunde, pfad, noapache FROM subdomains];
$cursor = $dbh->prepare($sql) or die "SELECT failed: $sql";
$cursor->execute() or die $cursor->errstr;
while(defined($sub=$cursor->fetch)){
unless($sub->[4]){
! mkdir "$config{'apache_kdbase'}/$sub->[2]$sub->[3]" unless -e "$config{'apache_kdbase'}/$sub->[2]$sub->[3]";
print APACHE<<EOF;
! <VirtualHost $config{'ip'}:80>
ServerName $sub->[0]
ServerAdmin webmaster\@$sub->[1]
! DocumentRoot $config{'apache_kdbase'}/$sub->[2]$sub->[3]
! ScriptAlias /cgi-bin/ $config{'apache_kdbase'}/$sub->[2]$sub->[3]/cgi-bin/
! CustomLog $config{'apache_logbasedir'}/$sub->[2]/$sub->[0]_access.log combined
! ErrorLog $config{'apache_logbasedir'}/$sub->[2]/$sub->[0]_error.log
! </VirtualHost>
EOF
}
}
--- 134,159 ----
sub APACHE
{
! print "Erstelle Apache Konfiguration...\n"if($config{debug});
! open(APACHE,">$config{apache_conf}");
&db_open;
! my $sql = qq[SELECT subdomain, domain, kunde, pfad, noapache, apache_add, cgi FROM subdomains];
$cursor = $dbh->prepare($sql) or die "SELECT failed: $sql";
$cursor->execute() or die $cursor->errstr;
while(defined($sub=$cursor->fetch)){
unless($sub->[4]){
! mkdir "$config{apache_kdbase}/$sub->[2]$sub->[3]" unless -e "$config{apache_kdbase}/$sub->[2]$sub->[3]";
print APACHE<<EOF;
! <VirtualHost $config{ip}:80>
! User $sub->[2]
! Group nogroup
ServerName $sub->[0]
ServerAdmin webmaster\@$sub->[1]
! DocumentRoot $config{apache_kdbase}/$sub->[2]$sub->[3]
! CustomLog $config{apache_logbasedir}/$sub->[2]/$sub->[0]_access.log combined
! ErrorLog $config{apache_logbasedir}/$sub->[2]/$sub->[0]_error.log
EOF
+ print APACHE "ScriptAlias /cgi-bin/ $config{apache_kdbase}/$sub->[2]$sub->[3]/cgi-bin/\n" if($sub->[6]);
+ print APACHE $sub->[5]."\n</VirtualHost>\n";
}
}
***************
*** 397,399 ****
! exit;
\ No newline at end of file
--- 399,401 ----
! exit;
|
|
From: <tre...@us...> - 2003-03-13 14:17:45
|
Update of /cvsroot/yawcs/yawcs/cgi-bin
In directory sc8-pr-cvs1:/tmp/cvs-serv29893/cgi-bin
Modified Files:
kis.cgi
Log Message:
Inserted User Config
Index: kis.cgi
===================================================================
RCS file: /cvsroot/yawcs/yawcs/cgi-bin/kis.cgi,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** kis.cgi 22 Dec 2002 13:39:31 -0000 1.1.1.1
--- kis.cgi 13 Mar 2003 14:17:41 -0000 1.2
***************
*** 10,57 ****
my $cgi = new CGI;
$stdmenu="Home,Kontakt,Angebote,Servicebereich,Info";
$stdurl=(",,,http://ks.mediaweb-it.net,");
&parse_input;
! if($in{'action'} eq "login"){&check_pwd;&print_kismenue;exit;}
! if($in{'action'} eq "chpwd"){&check_pwd;&print_chpwd;exit;}
! if($in{'action'} eq "domains"){&check_pwd;&print_domain;exit;}
! if($in{'action'} eq "dom_sub"){&check_pwd;&print_subdomain;exit;}
! if($in{'action'} eq "dom_sub_neu"){&check_pwd;&print_dom_sub_neu;exit;}
! if($in{'action'} eq "sub_prop"){&check_pwd;&print_dom_sub_prop;exit;}
! if($in{'action'} eq "dom_redir"){&check_pwd;&print_domainredir;exit;}
! if($in{'action'} eq "ch_redir"){&check_pwd;&print_redir_change;exit;}
! if($in{'action'} eq "traffic"){&check_pwd;&print_traffic;exit;}
! if($in{'action'} eq "stats"){&check_pwd;&print_stats;exit;}
! if($in{'action'} eq "show_stats"){&check_pwd;&print_show_stats("index.html");exit;}
! if($in{'action'} eq "statpic"){&print_stats_picture;exit;}
! if($in{'action'} eq "file_stat"){&print_show_stats($in{'file'});exit;}
! if($in{'action'} eq "logfiles"){&check_pwd;&print_logfiles;exit;}
! if($in{'action'} eq "mysql"){&check_pwd;&print_mysql;exit;}
! if($in{'action'} eq "mysql_pwd"){&check_pwd;&print_mysql_pwd;exit;}
! if($in{'action'} eq "mysql_db"){&check_pwd;&print_mysql_edit;exit;}
! if($in{'action'} eq "mail"){&check_pwd;&print_mail;exit;}
! if($in{'action'} eq "mail_pop3"){&check_pwd;&print_mail_pop3;exit;}
! if($in{'action'} eq "mail_pop_new"){&check_pwd;&print_mail_pop3new;exit;}
! if($in{'action'} eq "mail_pop_chpwd"){&check_pwd;&print_mail_pop3chpwd;exit;}
! if($in{'action'} eq "mail_sendmail"){&check_pwd;&print_mail_sendmail;exit;}
! if($in{'action'} eq "mail_sendmail_new"){&check_pwd;&print_mail_sendmailnew;exit;}
! if($in{'action'} eq "mail_sendmail_prop"){&check_pwd;&print_mail_sendmailprop;exit;}
! if($in{'action'} eq "webmail"){&check_pwd;&print_webmail;exit;}
! if($in{'action'} eq "ftp"){&check_pwd;&print_ftp;exit;}
! if($in{'action'} eq "kontakt"){&check_pwd;&print_kontakt;exit;}
! if($in{'action'} eq "sv_chpwd"){&check_pwd;&save_chpwd;exit;}
! if($in{'action'} eq "sv_chsqlpwd"){&check_pwd;&save_chsqlpwd;exit;}
! if($in{'action'} eq "savesub_neu"){&check_pwd;&save_sub_neu;exit;}
! if($in{'action'} eq "savesub_prop"){&check_pwd;&save_sub_prop;exit;}
! if($in{'action'} eq "del_sub"){&check_pwd;&save_del_sub;exit;}
! if($in{'action'} eq "save_redir"){&check_pwd;&save_redir;exit;}
! if($in{'action'} eq "save_pop_new"){&check_pwd;&save_newpop;exit;}
! if($in{'action'} eq "save_pop_chpwd"){&check_pwd;&save_popchpwd;exit;}
! if($in{'action'} eq "save_sendmail_new"){&check_pwd;&save_newmail;exit;}
! if($in{'action'} eq "save_sendmail_edit"){&check_pwd;&save_editmail;exit;}
! if($in{'action'} eq "del_mail"){&check_pwd;&save_del_mail;exit;}
&print_login;
--- 10,65 ----
my $cgi = new CGI;
+ %config=(
+ DB=> 'webconf',
+ DB_USER=> 'webconf',
+ DB_PASS=> 'yourpassword',
+ crypt=> 'MW',
+ );
+
+
$stdmenu="Home,Kontakt,Angebote,Servicebereich,Info";
$stdurl=(",,,http://ks.mediaweb-it.net,");
&parse_input;
! if($in{action} eq "login"){&check_pwd;&print_kismenue;exit;}
! if($in{action} eq "chpwd"){&check_pwd;&print_chpwd;exit;}
! if($in{action} eq "domains"){&check_pwd;&print_domain;exit;}
! if($in{action} eq "dom_sub"){&check_pwd;&print_subdomain;exit;}
! if($in{action} eq "dom_sub_neu"){&check_pwd;&print_dom_sub_neu;exit;}
! if($in{action} eq "sub_prop"){&check_pwd;&print_dom_sub_prop;exit;}
! if($in{action} eq "dom_redir"){&check_pwd;&print_domainredir;exit;}
! if($in{action} eq "ch_redir"){&check_pwd;&print_redir_change;exit;}
! if($in{action} eq "traffic"){&check_pwd;&print_traffic;exit;}
! if($in{action} eq "stats"){&check_pwd;&print_stats;exit;}
! if($in{action} eq "show_stats"){&check_pwd;&print_show_stats("index.html");exit;}
! if($in{action} eq "statpic"){&print_stats_picture;exit;}
! if($in{action} eq "file_stat"){&print_show_stats($in{'file'});exit;}
! if($in{action} eq "logfiles"){&check_pwd;&print_logfiles;exit;}
! if($in{action} eq "mysql"){&check_pwd;&print_mysql;exit;}
! if($in{action} eq "mysql_pwd"){&check_pwd;&print_mysql_pwd;exit;}
! if($in{action} eq "mysql_db"){&check_pwd;&print_mysql_edit;exit;}
! if($in{action} eq "mail"){&check_pwd;&print_mail;exit;}
! if($in{action} eq "mail_pop3"){&check_pwd;&print_mail_pop3;exit;}
! if($in{action} eq "mail_pop_new"){&check_pwd;&print_mail_pop3new;exit;}
! if($in{action} eq "mail_pop_chpwd"){&check_pwd;&print_mail_pop3chpwd;exit;}
! if($in{action} eq "mail_sendmail"){&check_pwd;&print_mail_sendmail;exit;}
! if($in{action} eq "mail_sendmail_new"){&check_pwd;&print_mail_sendmailnew;exit;}
! if($in{action} eq "mail_sendmail_prop"){&check_pwd;&print_mail_sendmailprop;exit;}
! if($in{action} eq "webmail"){&check_pwd;&print_webmail;exit;}
! if($in{action} eq "ftp"){&check_pwd;&print_ftp;exit;}
! if($in{action} eq "kontakt"){&check_pwd;&print_kontakt;exit;}
! if($in{action} eq "sv_chpwd"){&check_pwd;&save_chpwd;exit;}
! if($in{action} eq "sv_chsqlpwd"){&check_pwd;&save_chsqlpwd;exit;}
! if($in{action} eq "savesub_neu"){&check_pwd;&save_sub_neu;exit;}
! if($in{action} eq "savesub_prop"){&check_pwd;&save_sub_prop;exit;}
! if($in{action} eq "del_sub"){&check_pwd;&save_del_sub;exit;}
! if($in{action} eq "save_redir"){&check_pwd;&save_redir;exit;}
! if($in{action} eq "save_pop_new"){&check_pwd;&save_newpop;exit;}
! if($in{action} eq "save_pop_chpwd"){&check_pwd;&save_popchpwd;exit;}
! if($in{action} eq "save_sendmail_new"){&check_pwd;&save_newmail;exit;}
! if($in{action} eq "save_sendmail_edit"){&check_pwd;&save_editmail;exit;}
! if($in{action} eq "del_mail"){&check_pwd;&save_del_mail;exit;}
&print_login;
***************
*** 63,94 ****
sub check_pwd{
&db_open;
! my $sql = qq[SELECT passwort, name, firma, anschrift, plzort, telefon, fax, mail, kdnr, ddns, ssl, noapache FROM kunden WHERE kunde='$in{'usr'}'];
$cursor = $dbh->prepare($sql) or &err("Show failed: $sql");
$anzahl=$cursor->execute() or &err($cursor->errstr);
$pwd=$cursor->fetch;
! if(!$in{'cpwd'}){$in{'cpwd'}=crypt($in{'pwd'},"MW");}
! unless(crypt($pwd->[0],"MW") eq $in{'cpwd'} && $anzahl == 1){
$page="<br><center><font Color=red>Die eingegebene Benutzername/Passwort Kombination ist falsch !!</font></center>";
&print_login;
exit;
}
-
- $kd{'name'}=$pwd->[1];
- $kd{'firma'}=$pwd->[2];
- $kd{'anschr'}=$pwd->[3];
- $kd{'plzort'}=$pwd->[4];
- $kd{'tel'}=$pwd->[5];
- $kd{'fax'}=$pwd->[6];
- $kd{'mail'}=$pwd->[7];
- $kd{'kdnr'}=$pwd->[8];
-
- $kd{'perm_ddns'}=$pwd->[9];
- $kd{'perm_ssl'}=$pwd->[10];
- $kd{'perm_noapache'}=$pwd->[11];
-
$cursor->finish;
&db_close;
}
--- 71,103 ----
sub check_pwd{
&db_open;
! my $sql = qq[SELECT passwort, name, firma, anschrift, plzort, telefon, fax, mail, kdnr, ddns, feat_ssl, noapache FROM kunden WHERE kunde='$in{usr}'];
$cursor = $dbh->prepare($sql) or &err("Show failed: $sql");
$anzahl=$cursor->execute() or &err($cursor->errstr);
$pwd=$cursor->fetch;
! if(!$in{cpwd}){$in{cpwd}=crypt($in{pwd},$config{crypt});}
! unless(crypt($pwd->[0],$config{crypt}) eq $in{cpwd} && $anzahl == 1){
$page="<br><center><font Color=red>Die eingegebene Benutzername/Passwort Kombination ist falsch !!</font></center>";
&print_login;
exit;
}
$cursor->finish;
&db_close;
+
+ %kd=(
+ name=> $pwd->[1],
+ firma=> $pwd->[2],
+ anschr=> $pwd->[3],
+ plzort=> $pwd->[4],
+ tel=> $pwd->[5],
+ fax=> $pwd->[6],
+ mail=> $pwd->[7],
+ kdnr=> $pwd->[8],
+
+ perm_ddns=> $pwd->[9],
+ perm_ssl=> $pwd->[10],
+ perm_noapache=> $pwd->[11],
+ );
}
***************
*** 96,100 ****
sub db_open
{
! $dbh = DBI->connect("DBI:mysql:database=webconf", "webconf", "107248182") or &err("Fehler bei Datenbankverbindung: ".$!);
}
--- 105,110 ----
sub db_open
{
! $dbh = DBI->connect("DBI:mysql:database=$config{DB}", $config{DB_USER}, $config{DB_PASS}) or &err("Fehler bei der Datenbankverbindung: ".$!);
!
}
***************
*** 106,110 ****
sub db_open_self
{
! $dbh = DBI->connect("DBI:mysql:database=mysql", "webconf", "107248182") or &err("Fehler bei Datenbankverbindung: ".$!);
}
--- 116,120 ----
sub db_open_self
{
! $dbh = DBI->connect("DBI:mysql:database=$config{DB}", $config{DB_USER}, $config{DB_PASS}) or &err("Fehler bei Datenbankverbindung: ".$!);
}
|
|
From: <tre...@us...> - 2003-03-13 12:30:57
|
Update of /cvsroot/yawcs/yawcs
In directory sc8-pr-cvs1:/tmp/cvs-serv23128
Modified Files:
webconf.pl
Log Message:
Prepared for comming big Changes.....
Index: webconf.pl
===================================================================
RCS file: /cvsroot/yawcs/yawcs/webconf.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** webconf.pl 10 Jan 2003 22:35:02 -0000 1.4
--- webconf.pl 13 Mar 2003 12:30:52 -0000 1.5
***************
*** 38,47 ****
output
! #&USRPWD; ## Check if some users needs to be update and if, then do so !!
! #&DNS; ## build BIND host files an Config from MySQL Database !!
! #&APACHE; ## build APACHE Config from MySQL Database !!
! #&WEBALIZER; ## build Webalizer Stats !!
! #&SENDMAIL; ## SENDMAIL CONFIG BAUEN !!
print "FERTIG !!!\n\n"if($config{'debug'} eq 1);
exit;
--- 38,47 ----
output
! &USRPWD; ## Check if some users needs to be update and if, then do so !!
! &DNS; ## build BIND host files an Config from MySQL Database !!
! &APACHE; ## build APACHE Config from MySQL Database !!
! &STATS; ## build Usage Stats !!
! &SENDMAIL; ## SENDMAIL CONFIG BAUEN !!
print "FERTIG !!!\n\n"if($config{'debug'} eq 1);
exit;
***************
*** 166,170 ****
sub WEBALIZER {
! print "Erstelle Usage Statistiken...\n"if($config{'debug'} eq 1);
&db_open;
my $sql2 = qq[SELECT subdomain, domain, kunde, pfad, noapache FROM subdomains];
--- 166,170 ----
sub WEBALIZER {
! print "Erstelle Usage Statistiken mit WEBALIZER...\n"if($config{'debug'} eq 1);
&db_open;
my $sql2 = qq[SELECT subdomain, domain, kunde, pfad, noapache FROM subdomains];
***************
*** 352,354 ****
&db_close;
}
! exit;
--- 352,399 ----
&db_close;
}
!
! sub STATS {
! ### Choose wich statsscript to run...
! &WEBALIZER if($config{'stats'} eq 'webalizer');
! &AWSTATS if($config{'stats'} eq 'awstats');
! }
!
! sub AWSTATS {
! print "Erstelle Usage Statistiken mit AWSTATS...\n"if($config{'debug'} eq 1);
! &db_open;
! my $sql2 = qq[SELECT subdomain, domain, kunde, pfad, noapache FROM subdomains];
! $cursor2 = $dbh->prepare($sql2) or die "SELECT failed: $sql2";
! $cursor2->execute() or die $cursor2->errstr;
! while(defined($sub=$cursor2->fetch)){
! unless($sub->[4] eq 1){
! print " erstelle Statistik für $sub->[0]\n"if($config{'debug'} eq 1);
! mkdir "$config{'stats_basedir'}/$sub->[0]" unless -e "$config{'stats_basedir'}/$sub->[0]";
! unless (-e "/webpages/service/awstats-5.3/wwwroot/cgi-bin/awstats.$sub->[0].conf"){
! open(CF,">/webpages/service/awstats-5.3/wwwroot/cgi-bin/awstats.$sub->[0].conf");
! # print CF "LogFile=\"$config{'apache_logbasedir'}/$sub->[2]/$sub->[0]_access.log\"\n";
!
! print CF<<CONFIG;
! LogFile="/webpages/wwwlogs/$sub->[2]/$sub->[0]_access.log"
! LogFormat=1
! LogSeparator=" "
! DNSLookup=2
! DirData="$config{'stats_basedir'}/$sub->[0]"
! DirIcons="/icon"
! SiteDomain="$sub->[0]"
!
! CONFIG
!
! }
!
! $cmd=qx[$config{'awstats_bin'} -config=$sub->[0] -update -lang=de -dir=$config{'stats_basedir'}/$sub->[0] -awstatsprog=$config{'awstats_bin2'}\n];
! print $cmd;
! }}
! $cursor2->finish;
! &db_close;
!
! print "Statistiken Erstellt...\n\n"if($config{'debug'} eq 1);
! }
!
!
!
! exit;
\ No newline at end of file
|
|
From: <tre...@us...> - 2003-01-10 22:35:07
|
Update of /cvsroot/yawcs/yawcs In directory sc8-pr-cvs1:/tmp/cvs-serv32024 Modified Files: webconf.pl Log Message: Konfiguration jetzt komplett in MySQL Datenbank gespeichert Index: webconf.pl =================================================================== RCS file: /cvsroot/yawcs/yawcs/webconf.pl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** webconf.pl 10 Jan 2003 22:00:34 -0000 1.3 --- webconf.pl 10 Jan 2003 22:35:02 -0000 1.4 *************** *** 11,14 **** --- 11,15 ---- ## Distributed under GPL ## ## Developed by Jan Boysen 02/03 ## + ## ## ###################################### |