Alias /zm /usr/share/zoneminder/www Options +ExecCGI AllowOverride All AddHandler fcgid-script .php FCGIWrapper /usr/bin/php5-cgi Order allow,deny Allow from all Options Indexes FollowSymLinks DirectoryIndex index.php