Menonaktifkan Daftar Direktori di Apache: Difference between revisions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
===Di Apache Virtual Host=== | ===Di Apache Virtual Host=== | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="apacheconf"> | ||
<Directory /var/www/public_html> | <Directory /var/www/public_html> | ||
Options -Indexes | Options -Indexes | ||
| Line 11: | Line 11: | ||
===Di File .htaccess=== | ===Di File .htaccess=== | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="apacheconf"> | ||
Options -Indexes | Options -Indexes | ||
</syntaxhighlight> | </syntaxhighlight> | ||