On Tue, Mar 3, 2026 at 10:57 AM <[email protected]> wrote:
> Standard vhost setup on Cpanel for almalinux
>
> Root htaccess:
>
> Options -Indexes
>
>
>
> # BEGIN WordPress Multisite
>
> # Using subdomain network type
>
> <IfModule mod_rewrite.c>
>
> RewriteEngine On
>
> RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
>
> RewriteBase /
>
> RewriteRule ^index\.php$ - [L]
>
>
>
> # add a trailing slash to /wp-admin
>
> RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
>
>
>
> RewriteCond %{REQUEST_FILENAME} -f [OR]
>
> RewriteCond %{REQUEST_FILENAME} -d
>
> RewriteRule ^ - [L]
>
> RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
>
> RewriteRule ^(.*\.php)$ $1 [L]
>
> RewriteRule . index.php [L]
>
> </IfModule>
>
> # END WordPress Multisite
>
>
>
> *From:* Yehuda Katz <[email protected]>
> *Sent:* Tuesday, March 3, 2026 9:54 AM
> *To:* [email protected]
> *Subject:* Re: [users@httpd] Head scratcher - child htaccess issue
>
>
>
> What is in your root directory .htaccess?
>
> What is in your VirtualHost configuration?
>
>
>
> - Y
>
>
>
> On Tue, Mar 3, 2026 at 9:25 AM Bball Scout <[email protected]> wrote:
>
> 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.
>
>
What does the rewrite log say, exactly?