Current time: 11-26-2024, 09:54 AM Hello There, Guest! (LoginRegister)


Post Reply 
Want to add VirtualHost 443
Author Message
Max13 Offline
Junior Member
*

Posts: 11
Joined: Jul 2009
Reputation: 0
Post: #1
Want to add VirtualHost 443
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

.txt  etc-ispcp-apache-parts-dmn_entry.txt (Size: 3.03 KB / Downloads: 5)
07-14-2009 10:33 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)