ispCP - Board - Support
Want to add VirtualHost 443 - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Want to add VirtualHost 443 (/thread-7226.html)



Want to add VirtualHost 443 - Max13 - 07-14-2009 10:33 PM

Hello !

I'm on ISPCP 1.0.0, I want to add the SSL support for our hosted websites.
So, I've created all certs, apache, server and RootCA.

Just to make a test, I went in /etc/ispcp/apache/parts/dmn_entry.tpl, i've copied the entire page, then i've past it at the end.
I've changed the port 80 to 443.

Now I have VirtualHost 80 and 443 for dmn_entry.tpl .

I've regenerated the conf, then when I went to one of my websites, ERROR 403...
I saw on /etc/apache/sites.../ispcp.conf , that for exemple:

Code:
<Directory {WWW_DIR}/{DMN_NAME}/htdocs>
        # httpd dmn entry PHP support BEGIN.
        # httpd dmn entry PHP support END.
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

There, something is added between # httpd dmn ... BEGIN and END, only in the VirtualHost 80, not in 443... Maybe the "add" process do it only once per files...?

But I know the 403 comes from that. Some info are missed in the 443 part.

Could anyone tell me how to make the "add" process, add the info a second time for the 2nd part of my file, which is the SSL part (VirtualHost 443) ?

Thank you =)

PS: Here is my /etc/ispcp/apache/parts/dmn_entry.tpl
[attachment=827]