You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Foster, Nate" <na...@puresolar.us> on 2014/04/29 22:09:03 UTC

Re: [users@httpd] Question: How to secure multiple URL's with SSL on a single host with a single domain?

Hello Eggert,

Thanks for your suggestion!  I'm going to try it now.  :-)

Nate

On 29.04.2014 12:56, Eggert Ehmke wrote:
> Hello Nate,
> 
> if all your URLs are in the same domain, I would expect only one 
> virtual host.
> This can contain multiple <Directory xxx> sections for your purpose. 
> This way
> you only have one host on port 443.
> Hope that helps
> Eggert
> 
> 
> Am Dienstag, 29. April 2014, 12:48:57 schrieb Foster, Nate:
>> Hi All,
>> 
>> I'm new to the list, so please excuse me if I'm in the wrong spot.
>> 
>> I host a groupware service on a Debian 7 host running Apache2.2.  The
>> service uses multiple URL's for it's interface.
>> 
>> xx.xx.xx.xx/webmail is the main interface
>> xx.xx.xx.xx/web-admin is the administrative interface
>> xx.xx.xx.xx/webdav is for access to the WebDAV component
>> 
>> Each URL is enabled and it's .conf file is living in sites-enabled/
>> 
>> To secure the first URL, I modified the webmail.conf to have the
>> following lines at the top of the file:
>> 
>> <VirtualHost *:443>
>> SSLEngine on
>> SSLCertificateFile /etc/ssl/apache.pem
>> SSLCertificateKeyFile /etc/ssl/private/apache.key
>> ServerAdmin webmaster@puresolar.us
>> 
>> 
>> and </VirtualHost> at the bottom of the file.
>> 
>> This worked great until I repeated it for the remaining URL's which
>> results in an error:  [warn] _default_ VirtualHost overlap on port 
>> 443,
>> the first has precedence
>> 
>> When I search for tutorials and documentation on how to do this
>> properly, I keep getting information related to securing multiple
>> virtual hosts, which does not really work for my scenario.  I would be
>> grateful for any pointers on how I can secure my server properly!
>> 
>> Many Thanks!
>> 
>> -Nate
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org