You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<VirtualHost *:443>
ServerName ssl.my.domaine
## SSL
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
SSLCertificateFile /etc/ssl/startssl/my.domaine.crt
SSLCertificateKeyFile /etc/ssl/startssl/my.domaine.key
SSLCertificateChainFile /etc/ssl/startssl/sub.class1.server.ca.pem
## hubiC
alias /hb /var/www/hubic2swiftgate/www/
<Directory "/var/www/hubic2swiftgate/www/">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
php_admin_flag engine on
## other
alias /other /var/www/other/
<Directory "/var/www/other/">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
etc...
</VirtualHost>
it must also change in simple.php:
switch($request) {
case '/hb/v1.0':
case '/hb/v1.0/':
case '/hb/auth':
case '/hb/auth/':
case '/hb/auth/v1.0':
case '/hb/auth/v1.0/':
$mode='swift';
break;
case '/hb/register':
case '/hb/register/':
$mode='register';
break;
case '/hb/usage':
case '/hb/usage/':
$mode='usage';
break;
case '/hb':
$mode='home';
break;
case '/hb/callback':
case '/hb/callback/':
$mode='callback';
break;
case '/hb/success':
case '/hb/success/':
$mode='success';
break;
This is what $_prefix is for. I think you can just change the .httpaccess / simple.php location to the hb directory and set $_prefix="/hb" in the config file. Or if you do not want the whole server to act on PHP files do just what you did for the apache config. And set $_prefix instead of modifying the code.
Hi,
I tried with an alias in apache:
it must also change in simple.php:
And in hubiC account:
URL: https://ssl.my.domaine/hb/callback/
it works very well !
This is useful if you already have a valid certificate (and free like StartSSL) on your server.
And by the way , exellent work!
I greatly increase the transfer rate with ftp-cloudfs compared to the official client :)
The text was updated successfully, but these errors were encountered: