746 |
x cd /data/www/virtual/netfrag/conf/ |
x cd /data/www/virtual/netfrag/conf/ |
747 |
x nano applications.conf |
x nano applications.conf |
748 |
x add line: Alias /twig/ /usr/share/twig/ |
x add line: Alias /twig/ /usr/share/twig/ |
749 |
|
x had to modify /etc/apache/conf/httpd.conf: |
750 |
|
x added: 'index.php3' |
751 |
|
<IfModule mod_dir.c> |
752 |
|
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 |
753 |
|
</IfModule> |
754 |
|
x added: '.php3' |
755 |
|
AddType application/x-httpd-php .php .php3 |
756 |
|
x /etc/init.d/apache reload |
757 |
|
x cd /etc/twig |
758 |
|
x modify config.inc.php3 |
759 |
|
x cd /usr/share/twig/setup |
760 |
|
x mysql |
761 |
|
x use mysql |
762 |
|
x insert into user (host, user, password) values ('localhost', 'www-data', password('')); |
763 |
|
x insert into db values ('localhost', 'twig', 'www-data', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y'); |
764 |
|
x create database twig; |
765 |
|
x flush privileges; |
766 |
|
x database-schema |
767 |
|
x gunzip twig.table.mysql.gz |
768 |
|
x mysql twig < twig.table.mysql |
769 |
|
|
770 |
|
x setup arbitrary packet and bind to csm-system (Collaborative Software Management) |
771 |
|
x pinstall twig |
772 |
|
x apt-get install twig |
773 |
|
x cd /etc |
774 |
|
x cvs add twig |
775 |
|
x cd twig |
776 |
|
x cvs add * |
777 |
|
x cvs add .htaccess |
778 |
|
x cvs commit -m "+ initial commit" |
779 |
|
|
780 |
|
|
781 |
|
o remove html from phpWiki: ('http://'!!!) (->https!!!) |
782 |
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
783 |
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
784 |
|
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" /> |
785 |
|
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.sourceforge.net/phpwiki/ThePhpWikiProgrammingTeam" /> |
786 |
|
|
787 |
|
o force https for: (authentication purposes - anonymous is http!) |
788 |
|
o horde |
789 |
|
o tutos |
790 |
|
|
791 |
|
x dpkg -x twig_2.7.5-4_all.deb tmp/ |
792 |
|
|
793 |
|
o TWIG & OpenLDAP!? |
794 |
|
|
795 |
|
x quepasa.netfrag.org: |
796 |
|
x removed /data/www/doc to /data/www/global/apps |
797 |
|
x test: |
798 |
|
x cd /data/www/virtual |
799 |
|
x grep -ri "/data/www/doc" * |
800 |
|
x cd /data/www/global |
801 |
|
x grep -ri "/data/www/doc" * |
802 |
|
x apps/twiki/ |
803 |
|
x lib/TWiki.cfg |
804 |
|
x bin/.htaccess |
805 |
|
x conf/twiki-httpd |
806 |
|
---> just change between 'global' and (e.g.) 'virtual/netfrag' for switching between scopes ;-) |
807 |
|
---> the container (folder)-structure at global and sub-virtual level must match almost exactly to make this possible!!!!! |
808 |
|
x conf/virtualdomains-httpd/ |
809 |
|
x doc/twiki/ |
810 |
|
x removed: /data/www/virtual/netfrag/pub to /data/www/virtual/netfrag/sites/public |
811 |
|
x cd virtual/netfrag/conf |
812 |
|
x grep -ri "/pub" * |
813 |
|
x modify httpd.conf and applications.conf |
814 |
|
|
815 |
|
o register: |
816 |
|
public.netfrag.org -> http://netfrag.org |
817 |
|
secure.netfrag.org -> https://netfrag.org |
818 |
|
|
819 |
|
o netfrag.org: dispatchrequest for http://netfrag.org/nfoweb/! |
820 |
|
|
821 |
|
|
822 |
|
|
823 |
</pre> |
</pre> |