Ticket #1484066: roundcube-htaccess.patch

File roundcube-htaccess.patch, 3.8 kB (added by bobtfish, 2 years ago)

Attached patch mentioned in ticket..

  • program/.htaccess

    ==== Patch <roundcube-htaccess> level 1
    Source: 67fda76d-b61c-0410-9a0e-9ec0d160927f:/source/roundcubemail:643
    Target: 208e9e7b-5314-0410-a742-e7e81cd9613c:/trunk/roundcubemail:359
            (https://svn.roundcube.net/trunk)
    Log:
     r642@t0m:  bobtfish | 2006-10-07 17:16:31 +0100
     Branch roundcube for my stuff.
     r643@t0m:  bobtfish | 2006-10-07 17:25:41 +0100
     Add a load of .htaccess files to make it less easy to fingerprint roundcube version
     by denying access to files and stoping directory indexes.
     Also do a propset on the config so that svn/svk doesn't moan about my config files.
    
    
    Property changes on: config
    ___________________________________________________________________
    Name: svn:ignore
     +db.inc.php
     +main.inc.php
    
    === program/.htaccess
    ==================================================================
     
     1<FilesMatch "(\.php|\~)$"> 
     2  Order allow,deny 
     3  Deny from all 
     4</FilesMatch> 
     5Options -Indexes 
     6 
  • skins/default/includes/.htaccess

    === skins/default/includes/.htaccess
    ==================================================================
     
     1Order allow,deny 
     2Deny from all  
     3 No newline at end of file 
  • skins/default/templates/.htaccess

    === skins/default/templates/.htaccess
    ==================================================================
     
     1Order allow,deny 
     2Deny from all  
     3 No newline at end of file 
  • skins/.htaccess

    === skins/.htaccess
    ==================================================================
     
     1Options -Indexes 
  • .htaccess

    === .htaccess
    ==================================================================
     
    1111 
    1212Order deny,allow 
    1313Allow from all 
     14 
     15RewriteEngine On 
     16RewriteRule .svn/ - [F] 
     17RewriteRule ^README|INSTALL|LICENSE|SQL|CHANGELOG$ - [F] 
     18