Htaccess File

h0tw1r3/sandbox/master/.htaccess

<Files "README.md">
  ForceType text/plain
</Files>
HeaderName /sandbox/.autoindex/HEADER.shtml
ReadmeName /sandbox/.autoindex/FOOTER.shtml
IndexStyleSheet /sandbox/.autoindex/style.css
IndexHeadInsert '<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script><script type="text/javascript" language="javascript" src="http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.js"></script>'
IndexIgnore *~ *# .git RCS CVS *,v *,t *.log *.swp
Options +Indexes +Multiviews +Includes
DirectoryIndex none
IndexOptions +FancyIndexing +HTMLTable +SuppressColumnSorting +XHTML +SuppressDescription +Charset=UTF-8 +FoldersFirst +IgnoreClient +IgnoreCase

RewriteEngine On
RewriteRule (.*).source$ /sandbox/php/source/htmlsource/htmlsource.php [L]

# Redirect old links
RewriteRule ^jquery/(.*) /sandbox/javascript/jquery/$1 [R=301,L]
RewriteRule ^php/xml/sys/(.*) /sandbox/php/xml/lshw/$1 [R=301,L]

<Files ~ "^.ht">
    Order allow,deny
    Allow from all
    Satisfy all
</Files>
Exit mobile version