Manual for Integrity & Scrutiny - Checking local files

Integrity and Scrutiny can check your website locally. Note that new apps must be 'Sandboxed' at Apple's insistance. The App Store versions of Integrity and Scrutiny are sandboxed and this means that they cannot access any file on your hard drive, just those in its own container. This makes it impossible for those versions to crawl a site locally by accessing the files directly from your hard drive. Instead you must use the local web server (Apache) built into OSX. This is easy to switch on and has advantages.

by using the local web server

If you are using a newer version obtained from the App Store, you will have to use this method. The advantages of this method are that it will follow directory references correctly, eg (where the file is actually, and give you proper server response codes.

You will need to switch on web sharing

up to 10.7 (Lion):

Your Apache web server is easy to turn on with a single checkbox via System Preferences > Sharing. Tick Web Sharing and System Preferences will tell you the address of your 'home folder' and also the web address of the root of your hard drive. Note that your home folder eg http://localhost/~shieladixon/ on your filing system is actually ~/shieladixon/Sites

I recommend placing your website's folder within your Sites folder. For example, if you place your website's files within a folder called 'Website' inside your Sites folder, you will add that folder name to the home folder address given to you in System Preferences. So in this example I would type into Integrity / Scrutiny -

Even easier -
http://localhost/~shieladixon/Website should also work.

10.8 (Mountain Lion)

You still have the Apache web server but the ability to switch it on easily has been removed. Type the following into Terminal to start the web server:

sudo apachectl start

You will now be able to access websites at the root of your HD. http://localhost/Website is actually /Library/WebServer/Documents/Website

In order to access websites in your home folder's Sites folder, you'll need to set up a config file - details are here

by reference to the local files

If you are using an older version of the app or have downloaded from the web rather than the App Store, you can use this method. Type the path of your file into the location bar, select File>Open Local File, or use or simply drag and drop your file into the location bar. (Note that for this version it is important to place the cursor in that field and empty any existing contents before dragging).

Note that


You are viewing part of the manual / help for Integrity and Scrutiny for Mac OSX by Peacockmedia.