--- joko/doc/SampleTasks/joko_2003-01.html 2003/01/25 15:33:23 1.41 +++ joko/doc/SampleTasks/joko_2003-01.html 2003/01/26 15:35:35 1.52 @@ -721,12 +721,159 @@ o [snapshot:/link/to/snapshot] [snapshot:] +o dispatchrequest - a multipurpose request dispatcher + o integrate: + x redirector at cvs.netfrag.org ... + o ... and news.netfrag.org + o JumpToCvs (.cvslink-mechanism) + o how was it done? + x cd /data/www/virtual/netfrag/sites/webcvs/.dispatch + x ln -s /data/www/global/apps/dispatchrequest . + + +o buildhtml -> docmaker + +o TWIG & yakka? + +o rename: dispatchmail -> dispatchmessage + +c rename: dispatchrequest -> forwardrequest? + +o readrc of bashrc|perlrc|xmlrc + +x setup TWIG + x cd /usr/share/doc/twig + x cd /data/www/virtual/netfrag/conf/ + x nano applications.conf + x add line: Alias /twig/ /usr/share/twig/ + x had to modify /etc/apache/conf/httpd.conf: + x added: 'index.php3' + + DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 + + x added: '.php3' + AddType application/x-httpd-php .php .php3 + x /etc/init.d/apache reload + x cd /etc/twig + x modify config.inc.php3 + x cd /usr/share/twig/setup + x mysql + x use mysql + x insert into user (host, user, password) values ('localhost', 'www-data', password('')); + x insert into db values ('localhost', 'twig', 'www-data', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y'); + x create database twig; + x flush privileges; + x database-schema + x gunzip twig.table.mysql.gz + x mysql twig < twig.table.mysql + +x setup arbitrary packet and bind to csm-system (Collaborative Software Management) + x pinstall twig + x apt-get install twig + x cd /etc + x cvs add twig + x cd twig + x cvs add * + x cvs add .htaccess + x cvs commit -m "+ initial commit" + + +o remove html from phpWiki: ('http://'!!!) (->https!!!) + + + + +o force https for: (authentication purposes - anonymous is http!) + o horde + o tutos + +x dpkg -x twig_2.7.5-4_all.deb tmp/ + +o TWIG & OpenLDAP!? + +x quepasa.netfrag.org: + x removed /data/www/doc to /data/www/global/apps + x test: + x cd /data/www/virtual + x grep -ri "/data/www/doc" * + x cd /data/www/global + x grep -ri "/data/www/doc" * + x apps/twiki/ + x lib/TWiki.cfg + x bin/.htaccess + x conf/twiki-httpd + ---> just change between 'global' and (e.g.) 'virtual/netfrag' for switching between scopes ;-) + ---> the container (folder)-structure at global and sub-virtual level must match almost exactly to make this possible!!!!! + x conf/virtualdomains-httpd/ + x doc/twiki/ + x removed: /data/www/virtual/netfrag/pub to /data/www/virtual/netfrag/sites/public + x cd virtual/netfrag/conf + x grep -ri "/pub" * + x modify httpd.conf and applications.conf + x apachectl configtest + Syntax error on line 345 of /etc/apache/httpd.conf: + DocumentRoot must be a directory + x disabled there completely + x now in /data/www/global/conf/httpd.conf + DocumentRoot /data/www/virtual/netfrag/sites/public + x apachectl configtest + fopen: No such file or directory + apache: could not open document config file /data/www/conf/twiki-httpd.conf + x mv /data/www/global/conf/twiki-httpd.conf /data/www/virtual/netfrag/conf/ + x nano /data/www/virtual/netfrag/conf/applications.conf to match new path + x apachectl configtest + fopen: No such file or directory + apache: could not open document config file /data/www/conf/tutos-httpd.conf + x cd virtual/netfrag + x grep -rin "www/conf" * + x edit applications.conf:21 + x was: Include /data/www/conf/tutos-httpd.conf + x is: Include /data/www/global/conf/tutos-httpd.conf + x apachectl configtest + Warning: DocumentRoot [/data/www/virtual/netfrag/sites/webnews] does not exist + fopen: No such file or directory + apache: could not open document config file /data/www/conf/dynamic.conf + x grep -rin webnews * + x edit applications.conf:30 + x was: Alias /webnews/ /data/www/global/apps/newsportal/ + x is: Alias /webnews/ /data/www/global/apps/newsportal/ + x edit httpd.conf:74 + x was: DocumentRoot /data/www/virtual/netfrag/sites/webnews + x is: DocumentRoot /data/www/virtual/netfrag/sites/news + x cd global/conf + x grep -rin www/conf * + x STDOUT-PARSE: + httpd.conf:14:#Include /data/www/conf/httpd-php-perl.conf + httpd.conf:16:#Include /data/www/conf/virtualdomains-httpd.conf + httpd.conf:29:Include /data/www/conf/dynamic.conf + ->FILE-MODIFY: httpd.conf:29:Include /data/www/global/conf/dynamic.conf + x apachectl configtest + root@quepasa:/data/www/global/conf# apachectl configtest + configuring dynamic domain "golf5.de" + configuring dynamic domain "smartmen.de" + configuring dynamic domain "ballonflug.de" + Syntax OK +o register: + public.netfrag.org -> http://netfrag.org + secure.netfrag.org -> https://netfrag.org + +o netfrag.org: dispatchrequest for http://netfrag.org/nfoweb/! +o netfrag.org: dispatchrequest for http://netfrag.org/rrr/! + +o merge at http://netfrag.org/doc/ + o MiniHowto + o faqs (e.g. from news://news.netfrag.org/nfo.faq.users + +o what about an "AUTOSAVE"-feature for UltraEdit when leaving the window or + o an AUTOCOMMIT on that very event (maybe integrated with a counter) +
-$Id: joko_2003-01.html,v 1.41 2003/01/25 15:33:23 joko Exp $ +$Id: joko_2003-01.html,v 1.52 2003/01/26 15:35:35 joko Exp $