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++ dev efficiency gadget hardware java latex Linux living Mac ml Music mysql reading security shell shortcut time management tools tor video VirtualBox windows Xcode

Recent Posts

  • Fix Visual Studio Code can’t update issue on macOS
  • “afterEvaluate” in Gradle
  • Visual Studio run unit tests for x64 only
  • Install XPS Viewer on Windows 10
  • Install Windows 10 after Ubuntu 18.04

Ads

This site is powered by WordPress and styled with SemPress