>
Currently Browsing: Web Geeking

Ubuntu: Installing kompoZer on 13.10

Install the dependencies: sudo apt-get install libatk1.0-0 libc6 libcairo2 libfontconfig1 libfreetype6 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk2.0-0 libidl0 libnspr4 libnss3 libpango1.0-0 libpng12-0 libstdc++6 libx11-6 libxft2 libxinerama1 libxrender1 libxt6 zlib1g Download the packages: wget -c https://launchpad.net/ubuntu/+archive/primary/+files/kompozer-data_0.8~b3.dfsg.1-0.1ubuntu2_all.deb wget -c https://launchpad.net/ubuntu/+archive/primary/+files/kompozer-dev_0.8~b3.dfsg.1-0.1ubuntu2_all.deb wget -c https://launchpad.net/ubuntu/+archive/primary/+files/kompozer_0.8~b3.dfsg.1-0.1ubuntu2_amd64.deb...
read more

Fun with mod_rewrite…

Today I had to create some specific/generic rewrite rules. The idea was to allow “motion.com,”www.motion.com,” “www.motion.com/index.html,” and “motion.com/index.html” all go to an index (domain for sale) page. However, let everything else forward to “learninginmotion.com.” So URLs like “www.motion.com/products/index.html” would forward to “www.learninginmotion.com/products/index.html.” The resulting rule was: RewriteCond %{REQUEST_URI} !^/index.html$ RewriteCond %{REQUEST_URI} !^/$ RewriteRule ^(.*)$...
read more