httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas Armstrong <>
Subject [users@httpd] Apache: Avoiding users to access ''
Date Mon, 19 Sep 2016 18:41:11 GMT

I have an Apache server, which main rootwebdir is '/usr/www/users/foo/' and
'' points there. However, I have some subdomains pointing within
their directories: --->
/usr/www/users/foo/ --->

This causes me a problem: if anyone types '', they find '' with another URL, and I'd like to avoid it.

I wondered if there was any way to avoid this (e.g., showing a 404 page),
by using a directive within the '.htaccess' file of

Any other solution is welcome. Thank you very much.

View raw message