apache driver testing

13 views
Skip to first unread message

Will

unread,
Jul 1, 2012, 5:37:52 PM7/1/12
to lxd...@googlegroups.com
 
This apache driver that I have been working on and have had a few people at the forum test is what I would like to propose should be in one of the next few releases of Kloxo.
 
I am done with the private testing from the forum.  I would like a few people from this list that haven't already tested it to also test it.  Here are the instructions with some notes.
 
###################
#Disable selinux by editting /etc/sysconfig/selinux and rebooting manually or use the following:
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/sysconfig/selinux && reboot
 
#standard master Kloxo installation
wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh
sh ./kloxo-installer.sh --type=master
 
#iptables may be running and using default rules, so in order to login the first time
#you can view http://forum.lxcenter.org/index.php?t=msg&th=17223&start=0& and follow it or you can stop iptables
service iptables stop
 
#You must add at least one domain to Kloxo before continuing.
 
mkdir /usr/local/lxlabs/kloxo/file/httpd-light/
wget -q https://raw.github.com/shazarlx/kloxo/httpd-light_2/kloxo/file/httpd-light/etc_httpd_conf.d_includes.conf -O /usr/local/lxlabs/kloxo/file/httpd-light/etc_httpd_conf.d_includes.conf
wget -q https://raw.github.com/shazarlx/kloxo/httpd-light_2/kloxo/file/httpd-light/etc_httpd_conf.d_000-light.conf -O /usr/local/lxlabs/kloxo/file/httpd-light/etc_httpd_conf.d_000-light.conf
wget -q https://raw.github.com/shazarlx/kloxo/httpd-light_2/kloxo/file/httpd-light/etc_httpd_conf.d_itk.conf -O /usr/local/lxlabs/kloxo/file/httpd-light/etc_httpd_conf.d_itk.conf
wget -q https://raw.github.com/shazarlx/kloxo/httpd-light_2/kloxo/file/httpd-light/etc_httpd_conf.d_worker.conf -O /usr/local/lxlabs/kloxo/file/httpd-light/etc_httpd_conf.d_worker.conf
wget -q https://raw.github.com/shazarlx/kloxo/httpd-light_2/kloxo/file/httpd-light/etc_httpd_conf_httpd.conf -O /usr/local/lxlabs/kloxo/file/httpd-light/etc_httpd_conf_httpd.conf
wget -q https://raw.github.com/shazarlx/kloxo/httpd-light_2/kloxo/file/httpd-light/etc_init.d_httpd -O /usr/local/lxlabs/kloxo/file/httpd-light/etc_init.d_httpd
wget -q https://raw.github.com/shazarlx/kloxo/httpd-light_2/kloxo/file/httpd-light/home_apache_conf_defaults_init.conf -O /usr/local/lxlabs/kloxo/file/httpd-light/home_apache_conf_defaults_init.conf
wget -q https://raw.github.com/shazarlx/kloxo/httpd-light_2/kloxo/file/httpd-light/home_apache_conf_defaults___ssl.conf -O /usr/local/lxlabs/kloxo/file/httpd-light/home_apache_conf_defaults___ssl.conf
wget -q https://raw.github.com/shazarlx/kloxo/httpd-light_2/kloxo/file/httpd-light/mod_rpaf-0.6.tar.gz -O /usr/local/lxlabs/kloxo/file/httpd-light/mod_rpaf-0.6.tar.gz
chown -R lxlabs:lxlabs /usr/local/lxlabs/kloxo/file/httpd-light/
 
wget -q https://raw.github.com/shazarlx/kloxo/httpd-light_2/kloxo/httpdocs/lib/domain/web/driver/web__httpdlightlib.php -O /usr/local/lxlabs/kloxo/httpdocs/lib/domain/web/driver/web__apachelib.php
chown lxlabs:lxlabs /usr/local/lxlabs/kloxo/httpdocs/lib/domain/web/driver/web__apachelib.php
 
#From Kloxo, switch to lighttpd and then switch back to apache.
##Server : Linux->Switch Program
 
#NOTES and workarounds
#index.html will not work as a default.  You must switch the order of default files so that it is the first one in the list using Index Manager from Kloxo.
##Expand Domains->example.com->Web : Apache->Index Manger
 
#Joomla
#The Joomla rewrite rule may work for standard configurations, but does not for this reverse proxy configuration.
#It seems more of a bug on the part of the rewrite rule as WordPress and Drupal both work fine.
#To work properly, you must edit the .htaccess file and change the rule from
RewriteRule .* index.php [L]
to
RewriteRule ^(.*)$ index.php/$1 [L]
 
#WordPress
#The WordPress canonical.php will cause an 301 redirect loop.  edit ./wp-includes.php and uncomment out this line:
// $original['path'] = preg_replace('|/index\.php$|', '/', $original['path']);
so it looks like
$original['path'] = preg_replace('|/index\.php$|', '/', $original['path']);
 
#APC is installed but disabled by default.  Create /etc/php.d/apc.ini and reloading httpd
echo extension=apc.so> /etc/php.d/apc.ini
service httpd reload
##All the cache is shared among all the httpd.itk processes.  So if you see what looks like a lot of memory usage with ps aux or top, that memory is actually shared.
##At one point I thought that ioncube and or Zend had to be disabled, but I didn't need to do that in my latest test.
Reply all
Reply to author
Forward
0 new messages