Problem: You would like to have full .htaccess support, but SME doesn't give you this.


Solution: Login as root and perform the following commands to install files, expand the templates and restart apache

#Create the map /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf and change to there
[root@e-smith /root]# mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
[root@e-smith /root]# cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf

#download and install tarbal containing template-files
[root@e-smith /root]# wget http://sme.nightspirit.nl/downloads/htaccess.tar.gz
[root@e-smith /root]# tar xzvf htaccess.tar.gz
[root@e-smith /root]# rm -f htaccess.tar.gz

#rebuild httpd.conf from template-files
[root@e-smith /root]# /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf

#restart apache webserver
[root@e-smith /root]# /etc/init.d/httpd-e-smith restart


Back to main page...

1