WriteBuffer

Main menu

Skip to content
  • Home
  • About

Tag: apache

Post navigation

Disable directory browsing in Apache using .htaccess

Posted on 2017-01-12
by writer

If disable file visiting, in .htaccess

Options All -Indexes

If allow file visiting, create file index.php

 <?php header('Location: /index.php'); exit(); ?> 

(optional)in .htaccess

DirectoryIndex index.php
Posted in Tech | Tagged apache | Leave a comment

Post navigation

Ads

Categories

  • Life
  • Tech

Tags

android apache C++ efficiency gadget java latex Linux living Mac ml Music mysql reading security shell shortcut time management tools tor video Xcode

Recent Posts

  • Ubuntu Guest Using SD Card Reader in VMware Workstation
  • URL address of CBSN live streaming
  • Delete Opera (bundled with FileZilla) on Mac
  • One solution for Xcode playground running stuck
  • Add administrator in MacOS single user mode

Ads

This site is powered by WordPress and styled with SemPress