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

  • Notes on Kensington LD5400T TB3 Dock
  • Add Keyboard Shortcut for “Sleep” on macOS Ventura
  • Fix Whirlpool Washer No Water Coming In
  • Enable ZSWAP on Ubuntu
  • Add seller filter to “Amazon.com” on Amazon

Ads

This site is powered by WordPress and styled with SemPress