Thanks for the reply, then to confirm is there no way of doing this only in .htaccess files? I would prefer to do this as the web team edit these while I have to edit the server config? Thanks sat > Date: Wed, 15 Sep 2010 08:29:10 -0400 > From: covener@xxxxxxxxx > To: users@xxxxxxxxxxxxxxxx > Subject: Re: [users@httpd] https and http server with the same documentRoot + force to use https for some content and authenticate! > > > The pages in question need to be protected by an auth directive which I > > presume needs to be in the .htaccess of the directory holding the pages. > > No, you can put these in your real Apache configuration enclosed in > <virtualhost> and <directory>, which lets you limit them to the SSL or > non-SSL vhost. > > > -- > Eric Covener > covener@xxxxxxxxx > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > |
![]() |