jordanwb Posted December 14, 2007 Share Posted December 14, 2007 I know that for the following site: http://foo.com you put .foo.com for the domain, but what do you put for a sub-domain? IE: http://foo.foo.com and you want the cookie to be readable in only the sub-domain. Quote Link to comment Share on other sites More sharing options...
marcus Posted December 14, 2007 Share Posted December 14, 2007 Most likely for subdomains there is a folder created under the root directory. So for the path put: /foo/ Domain: .foo.com Quote Link to comment Share on other sites More sharing options...
jordanwb Posted December 14, 2007 Author Share Posted December 14, 2007 The site that I'm working on: http://sirrobertbordenhs.ocdsb.ca I tried to access it at: http://ocdsb.ca/sirrobertbordenhs and I couldn't get to it. Quote Link to comment Share on other sites More sharing options...
marcus Posted December 14, 2007 Share Posted December 14, 2007 It's forwarded, so only the first example will work. Quote Link to comment Share on other sites More sharing options...
jordanwb Posted December 14, 2007 Author Share Posted December 14, 2007 So the htaccess file won't allow access by "http://ocdsb.ca/sirrobertbordenhs"? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.