.htaccess - simple "Up a directory" button in htaccess? -
a while ago using htaccess display files, , started project again , found had somehow deleted "go level" button then.
can tell me code line in htaccess looks button back? should relatively simple cant find it... heres got.
options +indexes # directory customization <ifmodule mod_autoindex.c> indexoptions ignorecase fancyindexing foldersfirst namewidth=* descriptionwidth=* suppresshtmlpreamble # set display order indexorderdefault descending name # specify header file headername /partials/header.html # specify footer file readmename /partials/footer.html # ignore these files, hide them in directory indexignore .. indexignore header.html footer.html icons # ignore these files indexignore header.html footer.html favicon.ico .htaccess .ftpquota .ds_store icons *.log *,v *,t .??* *~ *# # default icon defaulticon /icons/generic.gif addicon /icons/dir.gif ^^directory^^ addicon /icons/pdf.gif .txt .pdf addicon /icons/back.png .. </ifmodule> options -indexes
okay found problem, simple, not observant when looking @ code. line "indexignore .." in middle.
Comments
Post a Comment