I am confused, where does litespeed look for htaccess when a non-existant sub-domain vs. subdirectory is requested?
ie.
http://bad.example.com
and/or
http://bad.example.com/bad/
(where example.com is parked with wildcard dns)
Because something isn't right.
The first one (bad.example.com)
seems to look here:
/usr/local/apache/htdocs/
which is correct based on cpanel's httpd.conf
but the second one (bad.example.com/bad)
gives a generic 404 and ignores any .htaccess file located in /usr/local/apache/htdocs/
I don't have a standard apache setup to compare to anymore but ignoring htaccess doesn't seem to be quite the right behavior unless it simply doesn't know where to look - so where's the default htaccess then?
ie.
http://bad.example.com
and/or
http://bad.example.com/bad/
(where example.com is parked with wildcard dns)
Because something isn't right.
The first one (bad.example.com)
seems to look here:
/usr/local/apache/htdocs/
which is correct based on cpanel's httpd.conf
but the second one (bad.example.com/bad)
gives a generic 404 and ignores any .htaccess file located in /usr/local/apache/htdocs/
I don't have a standard apache setup to compare to anymore but ignoring htaccess doesn't seem to be quite the right behavior unless it simply doesn't know where to look - so where's the default htaccess then?