Posted by The TechMentor in Backups, git, System Configuration
on Jan 24th, 2014
# sudo yum install git-core # git init Initialized empty Git repository in /.git/ # git add /var/named/chroot/var/named/zones/* # git commit -m 'Added DNS zone files' [master (root-commit) a8418bf] Added DNS zone files Committer: root <root@liminf03.motion.com> Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git config –global user.name “Your Name” git config –global user.email you@example.com After doing this, you may fix the...
Posted by The TechMentor in Journal, Wordpress
on Jan 18th, 2014
Using the ElegantThemes eBusiness theme, the default color for links did not stand out and links were hard to see. Resolved by making them red. In the style.css file, for the child theme, added the following line of code: .home-post-wrap-2 a {color: #ff0000 !important; font-weight: bold;}
Posted by The TechMentor in Journal, Web Geeking
on Jan 10th, 2014
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 ^(.*)$...