You are not logged in.

#1 2010-04-09 11:13:00

Lazze
Member
From: Bangkok, Thailand
Registered: 2008-09-28
Posts: 133

Apache deny requests based on url

Hello

I have a apache server and a domain name pointing to it. If you enter the domain you'll get to the wwwroot of the server, I also have a subdomain which points into a directory in my wwwroot, something like this:

domain.com -> /srv/http
subdomain.domain.com -> /srv/http/subdomainfolder

I would like to prevent users from reaching the subdomainfolder by typing domain.com/subdomainfolder in their browsers. They should only reach it by typing subdomain.domain.com.

Any ideas how to achieve this?

Thanks
// Lasse

Offline

Board footer

Powered by FluxBB