Viele meiner User können von ihrer Firma aus nicht auf Port 22222 zugreifen.
Original von Morgan
Also, selbst nochmal die Vorgehensweise zusammengebaut und am Server free-0 / Apache2/ ViSAS 2.4 Vollversion getestet:
BACKUP /etc/apache2/httpd.visas und /etc/apache2/httpd.conf erstellen!
in /etc/apache2/httpd.visas: Add Listen 443
Code:# IP addresses / ports to listen on Listen 22222 Listen 443
in /etc/apache2/httpd.visas am Dateiende: Add vHost 443
Code:<VirtualHost _default_:443> DocumentRoot /usr/local/visas/public_html/ php_admin_value safe_mode Off php_admin_value session.save_path /usr/local/visas/sessions/ ServerName hXXXXXXX.serverkompetenz.net IndexOptions DirectoryIndex index.htm index.html index.shtml start.htm start.html start.shtml index.php index.php3 ScriptAlias /cgi-bin/ /usr/local/visas/public_html/cgi-bin/ SSLEngine on SSLCertificateFile /etc/httpd/ssl.crt/server.crt SSLCertificateKeyFile /etc/httpd/ssl.key/server.key Redirectpermanent /ssl http://hXXXXXXX.serverkompetenz.net/ssl/ </VirtualHost>
in /etc/apache2/listen.conf: Remove Listen 443
Code:#Listen 443 Listen 80 NameVirtualHost *:80
in /etc/apache2/httpd.conf: Remove vHost 443
Code:#<VirtualHost _default_:443> #... #</VirtualHost>
in /etc/apache2/httpd.conf: Set SSL off (eventuell schon im Standard)
Code:<VirtualHost *:80> SSLEngine off
Restart
Code:/etc/init.d/apache2 restart /etc/init.d/visas restart
Test notwendig: http 80 domain und SubDomain, ViSAS 22222 inklusive Login, ViSAS 443 inklusive Login (wegen der redirects). Bei Problemen: zuerst Pfade prüfen. 9.3 kann durchaus ganz anders sein als 9.0
# Listen 443
Listen 443
#<VirtualHost _default_:443>
#...
#</VirtualHost>
<VirtualHost _default_:443>
DocumentRoot /usr/local/sa24/public_html/
ServerName hxxxxxxx.stratoserver.net
IndexOptions
DirectoryIndex start_sa24.php index.htm index.html index.shtml start.htm start.html start.shtml index.php index.php3
ScriptAlias /cgi-bin/ /usr/local/sa24/public_html/cgi-bin/
php_admin_flag safe_mode Off
php_admin_value session.save_path /usr/local/sa24/sessions/
SSLEngine on
SSLCertificateFile /etc/apache2/ssl.crt/server.crt
SSLCertificateKeyFile /etc/apache2/ssl.key/server.key
</VirtualHost>
/etc/init.d//apache2 restart
/etc/init.d//apache2.sa24 restart
We use essential cookies to make this site work, and optional cookies to enhance your experience.