# Gallery2
Alias /gallery2 /opt/gallery2/html
<Directory /opt/gallery2/html>
    AddType application/x-httpd-php .php .php3 .phtml
    php_admin_value open_basedir /opt/gallery2/html/:/opt/gallery2/g2data
    Options None
    Options +Includes
    AllowOverride None
    order deny,allow
    deny from all
    allow from all
</Directory> 
<Directory /opt/gallery2/g2data>
    SetHandler Gallery_Security_Do_Not_Remove
    Options None
    <IfModule mod_rewrite.c>
          RewriteEngine off
    </IfModule>
    <IfModule mod_access.c>
          order deny,allow
          deny from all
    </IfModule>
</Directory> 
