You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by peter pilsl <pi...@goldfisch.at> on 2010/04/02 19:31:56 UTC

[users@httpd] easier handling of https/ssl ?

I am hosting a couple of webpages on my apache (virtualhosts) and each of them should be reachable via http and https.

So actually I have to copy/paste each virtualhost-section and create a port-80-virtualhost and a port-443-vitualhost with the same content but the the ssl-stuff.
If I do some changes I have to do them two times, which I forget and ...

Isnt there an easier way to do this?  I cant specify different keys anyway cause all vitualhosts are running on the same IP.

thnx,
peter


---------------------------------------------------------------------
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


Re: [users@httpd] easier handling of https/ssl ?

Posted by Jonas Eckerman <jo...@frukt.org>.
On 2010-04-02 19:31, peter pilsl wrote:

> So actually I have to copy/paste each virtualhost-section [...]

> Isnt there an easier way to do this?

You might like to use mod_macro.

Especially if most of the hosts are very similar to each other.

Regards
/Jonas

-- 
Jonas Eckerman
Fruktträdet & Förbundet Sveriges Dövblinda
http://www.fsdb.org/
http://www.frukt.org/
http://whatever.frukt.org/

---------------------------------------------------------------------
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