Public domain
Check if php is enabled in httpd.conf
DirectoryIndex index.php index.html
Include /etc/httpd/mod_php.conf
Check if mod_rewrite is enabled in httpd.conf
LoadModule rewrite_module lib/httpd/modules/mod_rewrite.so
Change "AllowOverride None" to "AllowOverride All" in httpd.conf :
<Directory "/srv/httpd/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
PCRE should compile with --enable-unicode-properties option :
cd /usr/src
mkdir pcre
cd pcre
wget -c http://slackware.at/data/slackware64-13.1/source/l/pcre/\
{pcre-8.02.tar.bz2,pcre.SlackBuild,slack-desc}
sed -i -e \
's,./configure \\,./configure --enable-unicode-properties \\,' \
pcre.SlackBuild
chmod +x pcre.SlackBuild
./pcre.SlackBuild
mv /tmp/pcre-8.02-*.t?z .
removepkg pcre
installpkg pcre-8.02-*.t?z
/etc/rc.d/rc.httpd stop
/etc/rc.d/rc.httpd start
BY: Pejman Moghadam
TAG: php, cakephp, pcre
DATE: 2011-11-04 10:50:48