How To

How To Find Apache httpd.conf File

If you’re working on a server you’re not used to, it can be difficult to find the Apache httpt.conf file. You might try the following. At the command line type:

Its possible you may need to type this instead.

You will get a list that looks something like this:

Look for the… Read more How To Find Apache httpd.conf File

Drupal Role Specific Development Feedback

On rare occasions you may have to work on a production site and need some development feedback. If you want to control which role sees your output, this snippet can help. With this logic in place, only appropriate roles will see your working on the site.

PHP: How to Append an XML File with PHP’s DOMDocument Object

How To Compress a Directory with the tar Command and Exclude Certain Files, tarball exclude files

When creating a tar-ball (compressing a directory of files), you may exclude certain files by using the –exclude flag. The –exclude flag will also work with a wild card “*”. Here is an example of how to tar-ball a directory from the parent directory and exclude certain files:

IMPORTANT: Be sure to use the… Read more How To Compress a Directory with the tar Command and Exclude Certain Files, tarball exclude files

FIXED: Grunt Dploy Not Pushing Files

I was trying to set up Grunt to deploy to my development server. According to the output in the terminal all went well. However no files were being uploaded.

When setting up the info in my grunt.js file, I had used the full path as output by the “pwd” command like this:

}… Read more FIXED: Grunt Dploy Not Pushing Files