Re: Head scratcher - child htaccess issue
Yehuda Katz <[email protected]> Tue, 3 Mar 2026 09:54:04 -0500
| Newsgroups | gmane.comp.apache.user |
|---|---|
| Message-ID | <CAGBAQ44rKFkhrbHSO31irC32oG7Tc-5TtTNaRqLRL_U-=K5dBg@mail.gmail.com> |
--000000000000603a4c064c1fe860 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable What is in your root directory .htaccess? What is in your VirtualHost configuration? - Y On Tue, Mar 3, 2026 at 9:25=E2=80=AFAM Bball Scout <[email protected]> wrot= e: > Wordpress multisite subdomain setup. I can't for the life of me figure ou= t > how to force apache to allow a child .htaccess for htpasswd authenticatio= n > 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. > --000000000000603a4c064c1fe860 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">What is in your root directory .htaccess?<div>What is in y= our VirtualHost configuration?<br><div><div><br></div><div>- Y</div></div><= /div></div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D= "ltr" class=3D"gmail_attr">On Tue, Mar 3, 2026 at 9:25=E2=80=AFAM Bball Sco= ut <<a href=3D"mailto:[email protected]">[email protected]</a>> wrote= :<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.= 8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=3D"= msg777057968801856896"> <div dir=3D"ltr"> <div style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cali= bri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"> 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 authenticat= ion in a subdirectory of a WP multisite domain. Ie:</div> <div style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cali= bri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"> <br> </div> <div style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cali= bri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"> / [root WP server with its own .htaccess]</div> <div style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cali= bri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"> /directory1 [child .htaccess for htpasswd use]</div> <div style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cali= bri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"> <br> </div> <div style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cali= bri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"> Any attempt to display a file in /directory1 apache gives a 404.=C2=A0</div= > <div style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cali= bri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"> <br> </div> <div style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cali= bri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"> I've tried rewrites in the parent .htaccess up the creek to no avail.= =C2=A0</div> <div style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cali= bri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"> <br> </div> <div style=3D"font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Cali= bri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"> Love suggestions.</div> </div> </div></blockquote></div> --000000000000603a4c064c1fe860--