Current time: 07-07-2024, 11:24 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ISPCP - SSL Bug?
Author Message
bkxxl Offline
Junior Member
*

Posts: 50
Joined: Dec 2007
Reputation: 0
Post: #1
ISPCP - SSL Bug?
Hallo,

Ich habe auf unseren Servern testweise SSL migriert, wobei Ich es so handhaben wollte, dass alle Kunden automatisch beim verbinden auf die Admin URL auf eine SSL gesicherte Verbindung weitergeleitet werden.

Soweit so gut, es hat auch einwandfrei funktioniert, nur wenn der Kunde im Client Panel ist und den direktlink zur MySQL Verbindung nutzen möchte, wird die URL wie Folgt abgeändert:

https://sx.ip-projects.depma/


SSL vHost:
Quote:<VirtualHost 84.200.4.xx:443>

ServerAdmin info@ip-projects.de
DocumentRoot /var/www/ispcp/gui

ServerName admin.sx.ip-projects.de
ServerAlias sx.ip-projects.de

SSLEngine on
SSLCertificateFile /etc/apache2/ssl/sx_ip-projects_de.crt
SSLCertificateKeyFile /etc/apache2/ssl/sx_ip-projects_de.key
SSLCertificateChainFile /etc/apache2/ssl/sx_ip-projects_de.ca-bundle

Alias /errors /var/www/ispcp/gui/errordocs/

ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
ErrorDocument 503 /errors/503.html

Alias /pma /var/www/ispcp/gui/tools/pma/
Alias /webmail /var/www/ispcp/gui/tools/webmail/
Alias /ftp /var/www/ispcp/gui/tools/filemanager/

<IfModule suexec_module>
SuexecUserGroup vu2000 vu2000
</IfModule>

<Directory /var/www/ispcp/gui>
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<IfModule mod_fcgid.c>
<Directory /var/www/ispcp/gui>
FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/master">
AllowOverride None
Options +ExecCGI MultiViews -Indexes

....


Non SSL vHost

Quote:<VirtualHost 84.200.4.xx:80>

ServerAdmin postmaster@sx.ip-projects.de
DocumentRoot /var/www/ispcp/gui

ServerName admin.sx.ip-projects.de
ServerAlias sx.ip-projects.de

Alias /errors /var/www/ispcp/gui/errordocs/
Redirect /tools/webmail https://sx.ip-projects.de/tools/webmail
Redirect /tools/pma https://sx.ip-projects.de/tools/pma
Redirect /tools/filemanager https://sx.ip-projects.de/tools/filemanager
Redirect / https://sx.ip-projects.de
Redirect /pma https://sx.ip-projects.de/pma

ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
ErrorDocument 503 /errors/503.html

Alias /pma /var/www/ispcp/gui/tools/pma/
Alias /webmail /var/www/ispcp/gui/tools/webmail/
Alias /ftp /var/www/ispcp/gui/tools/filemanager/

<IfModule suexec_module>
SuexecUserGroup vu2000 vu2000
</IfModule>

<Directory /var/www/ispcp/gui>
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<IfModule mod_fcgid.c>
<Directory /var/www/ispcp/gui>
FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/master">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
...
(This post was last modified: 04-29-2010 03:08 AM by bkxxl.)
04-29-2010 03:07 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #2
RE: ISPCP - SSL Bug?
ispCP unterstützt offiziell noch kein ssl also auch kein support...

verschoben in die plauderecke
04-29-2010 03:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
bkxxl Offline
Junior Member
*

Posts: 50
Joined: Dec 2007
Reputation: 0
Post: #3
RE: ISPCP - SSL Bug?
Ziemlich dumme Sache Smile Aber naja was soll man machen, dabei ist SSL sowas tolles.
Vielleicht eine Kleinigkeit

https://s7.ip-projects.de/

wenn ich SSL deaktivieren will steht das on vor der URL, wo ist hier der Fehler?
(This post was last modified: 04-29-2010 03:28 AM by bkxxl.)
04-29-2010 03:26 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #4
RE: ISPCP - SSL Bug?
dazu könnte ich ein kommentar ab geben aber, ohne code kann ich nur spekulieren..
04-29-2010 02:31 PM
Visit this user's website Find all posts by this user Quote this message in a reply
bkxxl Offline
Junior Member
*

Posts: 50
Joined: Dec 2007
Reputation: 0
Post: #5
RE: ISPCP - SSL Bug?
Dazu könnte Ich einen Kommentar abgeben.

Das ist euer Code, Ich habe nichts gemacht außer das SSL, was in der index.tpl auskommentiert ist zu aktivieren und alle änderungen im vHost rückgängig zu machen.
04-29-2010 04:05 PM
Visit this user's website Find all posts by this user Quote this message in a reply
TheCry Away
Member
***

Posts: 851
Joined: Oct 2008
Reputation: 21
Post: #6
RE: ISPCP - SSL Bug?
Ungetestet... Aber das müsste das Problem sein.
öffne /var/www/ispcp/gui/index.php
Zeile 99:
Code:
'TR_SSL_LINK'               => isset($_SERVER['HTTPS']) ? $_SERVER['HTTPS'] . 'http://' . htmlentities($_SERVER['HTTP_HOST']) : 'https://' . htmlentities($_SERVER['HTTP_HOST']),

Das bitte so ändern
Code:
'TR_SSL_LINK'               => isset($_SERVER['HTTPS']) ? 'http://' . htmlentities($_SERVER['HTTP_HOST']) : 'https://' . htmlentities($_SERVER['HTTP_HOST']),
Und bitte ein Ticket einstellen:
http://www.isp-control.net/ispcp/timeline
04-29-2010 04:30 PM
Find all posts by this user Quote this message in a reply
Haeber Offline
Junior Member
*****
Dev Team

Posts: 136
Joined: Nov 2007
Reputation: 7
Post: #7
RE: ISPCP - SSL Bug?
Hi, nur zur Information,

im aktuellen Trunk habe ich das von TheCry angemerkte SSL-Link-Problem behoben.

Grüße
Haeber
04-29-2010 07:04 PM
Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #8
RE: ISPCP - SSL Bug?
hehe das ist ja wunderbar Wink
04-29-2010 11:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #9
RE: ISPCP - SSL Bug?
I never had any problems with this!
04-30-2010 05:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Rafioso Offline
Junior Member
*

Posts: 151
Joined: Oct 2009
Reputation: 0
Post: #10
RE: ISPCP - SSL Bug?
(04-29-2010 07:04 PM)Haeber Wrote:  Hi, nur zur Information,

im aktuellen Trunk habe ich das von TheCry angemerkte SSL-Link-Problem behoben.

Grüße
Haeber

Hi,

in meiner 1.0.5 Installation habe ich die Datei gui/include/class.SystemInfo.php nicht, wie geht man bei der Version vor?

Danke Smile
05-05-2010 04:30 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: