httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sattlite Installer <satinstal...@hotmail.com>
Subject RE: [users@httpd] https and http server with the same documentRoot + force to use https for some content and authenticate!
Date Wed, 15 Sep 2010 15:55:23 GMT

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@gmail.com
> To: users@httpd.apache.org
> 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@gmail.com
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
 		 	   		  
Mime
View raw message