27 reputation
6
bio website
location
age
visits member for 2 years, 7 months
seen Aug 19 at 11:57

Jul
16
awarded  Popular Question
Apr
13
comment Configure Apache To Return Nothing For Default 443 VHost
Well the problem is that I have several https sites running. I just want to make sure if someone browses to https://[server ip] they don't get one of the sites on the server (and a certificate error). It's not a huge issue, just seems a bit messy having it return one of the sites that wasn't requested, and I want to make sure the only route to the site is through it's actual main domain, not another method.
Apr
13
comment Configure Apache To Return Nothing For Default 443 VHost
Yes I understand that, so I just want it not to respond. Do you know if this is possible?
Apr
13
comment Configure Apache To Return Nothing For Default 443 VHost
Basically I don't want one of the other vhosts to be served to the browser. I want nothing to be sent to the browser. The certificate error is really just a side effect of it serving up a vhost that wasn't requested.
Apr
13
comment Configure Apache To Return Nothing For Default 443 VHost
I guess really I'm just looking for an option in apache which will let me stop it automatically selecting a vhost if the request doesn't exactly match any of them, and just return a 404 instead. I can achieve this on port 80 by creating a vhost with no ServerName set as this then becomes the default. But this doesn't seem to work for port 443 because it still wants a certificate that I can't provide. So I just want it to return no data. I can't see why this isn't technically possible to do, just can't figure out if this is an option in apache, I'd have thought there would be one though.
Apr
13
awarded  Editor
Apr
13
revised Configure Apache To Return Nothing For Default 443 VHost
added example
Apr
13
comment Configure Apache To Return Nothing For Default 443 VHost
E.g. lets say at the moment if I have 2 vhosts on port 443 with the correct config pointing to the correct certificates, one being site1.com and the other being site2.com. Anyone can go to either of those 2 sites in their browser and everything works fine. However if someone goes to site3.com (and its A record points to the same ip as the server as well) then apache then appears to presume that they are wanting the vhost corresponding to site1.com, and serve that, whcih I don't want. Instead I would want apache to send no data for a request to site3.com. Is this clearer?
Apr
13
comment Configure Apache To Return Nothing For Default 443 VHost
I understand why a certificate error will occur. What I want to do is instruct the server not to send any data to the web browser if the domain in the request doesn't match any of the vhosts, instead of just defaulting to the first vhost in the list and sending the response for that. Does this make sense?
Apr
13
asked Configure Apache To Return Nothing For Default 443 VHost
Sep
4
accepted Best location for redirected folders on windows server
Sep
4
answered Best location for redirected folders on windows server
Aug
31
comment Best location for redirected folders on windows server
I set the permissions like that but couldn't get it to work :( I created a new user in ad and then logged in. It failed to create the folder and didn't redirect the folders. I then checked the 'create folders' box and did the same again with another new user straight after and the folders were created and redirected. @HopelessN00b please can you check if it works with those permissions on your network when a new user is created? I'm pretty confused right now
Aug
24
comment Best location for redirected folders on windows server
Ok thanks. When I'm back in work I'll try it and let you know if it works :)
Aug
24
comment Best location for redirected folders on windows server
Thanks. I was under the impression that the folders for folder redirection were created in the scope of the user logging on (when logging on the first time) so they would need the permission to create the folder. I have the same but with the 'create folders/append data' checked. Do you create the folders yourself for each user or does it happen automatically? I'd test it myself but I don't have access to the server this week.
Aug
24
asked Best location for redirected folders on windows server
Aug
20
accepted Enforce Profile Path Windows Server 2008
Aug
13
comment Enforce Profile Path Windows Server 2008
I want to leave it a few more days first to see if anyone else has any info.
Aug
13
comment Enforce Profile Path Windows Server 2008
I think I might end up doing that. If I set the permissions on the share for domain users only I guess that will mean that local accounts will just get temporary profiles and it shouldn't mess anything up.
Aug
12
comment Enforce Profile Path Windows Server 2008
Thanks. I thought of this but the problem is that I think it applies to local users as well. So every time I logon to the local administrator on a computer it will try and create a roaming profile and mess things up. Let me know if I'm wrong though.