You are not logged in.

#1 2014-04-26 14:52:52

rune0077
Member
Registered: 2009-04-11
Posts: 135

Apache2 - don't allow content of subfolder

Hello

I'm new to apache configs, and running into an issue

Lets say I have a default site called site1.mydomain.com - it is located in /var/www/

Also in /var/www/ is a folder called mySubfolder. This is the root directory for a different site: site2.mydomain.com

When I enter these urls, I am directed to the proper site, as expected. However, if I enter

site1.mydomain.com/mySubfolder/

as url, I am directed to site2. Which makes sense, but not what I want.

How can I tell apache to not allow access to this content from the default site (site1.mydomain.com)?

Offline

Board footer

Powered by FluxBB