Menonaktifkan Daftar Direktori di Apache: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| 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> | ||
| Line 18: | Line 18: | ||
Terakhir, muat ulang layanan Apache setelah melakukan perubahan di Virtual host untuk menerapkan perubahan. | Terakhir, muat ulang layanan Apache setelah melakukan perubahan di Virtual host untuk menerapkan perubahan. | ||
[[Category:Tutorial]] | |||
[[Category:Server]] | [[Category:Server]] | ||
[[Category: | [[Category:Linux]] | ||
[[Category:Apache]] | |||