easier handling of https/ssl ?

easier handling of https/ssl ?

am 02.04.2010 19:31:56 von pilsl

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 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: easier handling of https/ssl ?

am 03.04.2010 13:04:04 von Jonas Eckerman

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