From fbda9c7d53b9de738918b6d5e0a520206686571f Mon Sep 17 00:00:00 2001 From: bochard Date: Sat, 2 Aug 2025 19:17:52 +0800 Subject: [PATCH] added .htaccess to multiple directories --- .htaccess | 5 +++++ audios/.htaccess | 2 ++ images/.htaccess | 2 ++ index.php | 4 ++-- journal/{entry.php.example => .entry} | 0 journal/.htaccess | 5 +++-- parts/.htaccess | 2 ++ recipes/index.php | 2 +- stylesheets/.htaccess | 2 ++ 9 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 audios/.htaccess create mode 100644 images/.htaccess rename journal/{entry.php.example => .entry} (100%) create mode 100644 parts/.htaccess create mode 100644 stylesheets/.htaccess diff --git a/.htaccess b/.htaccess index 0cfcad3..8523e16 100644 --- a/.htaccess +++ b/.htaccess @@ -3,3 +3,8 @@ RewriteEngine On #Redirect root to www RewriteCond %{HTTP_HOST} ^bochard\.net [NC] RewriteRule ^(.*)$ http://www.bochard.net/$1 [R=301,L] + +#Forbidden access + + Require all denied + diff --git a/audios/.htaccess b/audios/.htaccess new file mode 100644 index 0000000..e8ad090 --- /dev/null +++ b/audios/.htaccess @@ -0,0 +1,2 @@ +#Forbidden access +Options -Indexes diff --git a/images/.htaccess b/images/.htaccess new file mode 100644 index 0000000..e8ad090 --- /dev/null +++ b/images/.htaccess @@ -0,0 +1,2 @@ +#Forbidden access +Options -Indexes diff --git a/index.php b/index.php index 30ae796..a5da6fd 100644 --- a/index.php +++ b/index.php @@ -15,9 +15,9 @@
“Ang munti ay magiging isang libo, at ang maliit ay magiging matibay na bansa: akong Panginoon, ay papapangyarihin kong madali sa kapanahunan.”

–Filipos 60:22 (ADB1905)


-

Ang mumunting site na ito ay para lamang sa aking mga personal na gawain tulad ng talaraawan, mga librong madalas kong binabasa, mga kuha sa kamera ko, mga iba't-ibang mga bagay na kinahihiligan kong gawin, atbp.

+

Ang mumunting site na ito ay para lamang sa aking mga personal na gawain tulad ng talaarawan, mga librong madalas kong binabasa, mga kuha sa kamera ko, mga iba't-ibang mga bagay na kinahihiligan kong gawin, atbp.


-

Kung gusto mong mag-explore sa site ko, please—pakikonsiderang i-disable yung adblocker, kung meron man. May mga nakalagay kasi na nawawala kapag naka-enable yung adblocker. At tsaka, hindi ko naman binabalak na ii-spy yung computer mo at wala rin naman akong pino-promote na mga ads dito. Ayun lang, salamat!

+

Kung gusto mong mag-explore sa site ko, please—pakikonsiderang i-disable yung adblocker—kung meron man. May mga nakalagay kasi na nawawala kapag naka-enable yung adblocker. At tsaka, hindi ko naman binabalak na ii-spy yung computer mo at wala rin naman akong pino-promote na mga ads dito. Ayun lang, salamat!

Kung sakaling maligaw ka, punta ka lang sa homepage :)


Medyo mabagal pag-update ko ng site na ito, pasensiya naaaa!!!

diff --git a/journal/entry.php.example b/journal/.entry similarity index 100% rename from journal/entry.php.example rename to journal/.entry diff --git a/journal/.htaccess b/journal/.htaccess index 7ef697c..13191b8 100644 --- a/journal/.htaccess +++ b/journal/.htaccess @@ -1,3 +1,4 @@ - +#Forbidden access + Require all denied - + diff --git a/parts/.htaccess b/parts/.htaccess new file mode 100644 index 0000000..e8ad090 --- /dev/null +++ b/parts/.htaccess @@ -0,0 +1,2 @@ +#Forbidden access +Options -Indexes diff --git a/recipes/index.php b/recipes/index.php index 218da2c..cf3d4ee 100644 --- a/recipes/index.php +++ b/recipes/index.php @@ -1,6 +1,6 @@ diff --git a/stylesheets/.htaccess b/stylesheets/.htaccess new file mode 100644 index 0000000..e8ad090 --- /dev/null +++ b/stylesheets/.htaccess @@ -0,0 +1,2 @@ +#Forbidden access +Options -Indexes -- 2.39.5