apache - Disable show path with htaccess -


how can disable output title shows name of folder path

if put code in .htaccess

options -indexes 

i access forbidden! want cancel title showing location of folder

example:

index of /script/upload-master/ 

within folder have image files still have yet see them

i think this article might helpful. of - step 4: accessing , modifying markup. add htaccess file:

# set index options indexoptions suppresshtmlpreamble  # specify header file headername header.html 

then in same directory of htaccess file create header.html code:

<html>     <head>     </head>     <body> 

it should work. options -indexes directive, have used before, disables directory listings, shouldn't use it.


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -