Head scratcher - child htaccess issue

Bball Scout <[email protected]> Tue, 3 Mar 2026 14:12:13 +0000
Newsgroups gmane.comp.apache.user
Message-ID <CPWP152MB5658AD5BD5FED5EEF596C6F3AC7FA@CPWP152MB5658.LAMP152.PROD.OUTLOOK.COM>
--_000_CPWP152MB5658AD5BD5FED5EEF596C6F3AC7FACPWP152MB5658LAMP_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Wordpress multisite subdomain setup. I can't for the life of me figure out =
how to force apache to allow a child .htaccess for htpasswd authentication =
in a subdirectory of a WP multisite domain. Ie:

/ [root WP server with its own .htaccess]
/directory1 [child .htaccess for htpasswd use]

Any attempt to display a file in /directory1 apache gives a 404.

I've tried rewrites in the parent .htaccess up the creek to no avail.

Love suggestions.

--_000_CPWP152MB5658AD5BD5FED5EEF596C6F3AC7FACPWP152MB5658LAMP_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
Wordpress multisite subdomain setup. I can't for the life of me figure out =
how to force apache to allow a child .htaccess for htpasswd authentication =
in a subdirectory of a WP multisite domain. Ie:</div>
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
<br>
</div>
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
/ [root WP server with its own .htaccess]</div>
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
/directory1 [child .htaccess for htpasswd use]</div>
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
<br>
</div>
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
Any attempt to display a file in /directory1 apache gives a 404.&nbsp;</div=
>
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
<br>
</div>
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
I've tried rewrites in the parent .htaccess up the creek to no avail.&nbsp;=
</div>
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
<br>
</div>
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
Love suggestions.</div>
</body>
</html>

--_000_CPWP152MB5658AD5BD5FED5EEF596C6F3AC7FACPWP152MB5658LAMP_--