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