Subsonic on Synology (reverseproxy)

Need help? Post your questions here.

Moderator: moderators

Subsonic on Synology (reverseproxy)

Postby jonath812 » Mon Aug 13, 2012 12:33 pm

Hi all,
i'm posting here today bescause I couldn't find any response anywhere....
I've been using Subsonic on a windows server (with reverse proxy on http) and everything worked fine.
Now that I get a synology DS212j I tried to do the same (with https).
I can currently access without any trouble with https://192.168.xx.xx:4041. but what i'm really interested in would be to access it from the internet via something like https://xxx.no-ip.com/Subsonic
I used to configure my serveur so that it would work with proxypass but now I've got trouble https://xxx.no-ip.com/Subsonic/login.view? starts well (even if the login page doesn't have the background grey color I'm used to...) and when I submit the user (admin is working and can be accessed on the 192.168... way) I get the error message the page i'm looking for os not present...and the address is https://xxx.no-ip.com/j_acegi_security_check (what is weird because i'm no longer looking in the correct directory (missing /subsonic/..)
To be complete, here is my reverse-proxy.cong file (the include is done in the httpd.conf-user file.
Code: Select all
Namevirtualhost xxx.no-ip.com:443
<VirtualHost xxx.no-ip.com:443>
  ServerName xxx.no-ip.com
#  ServerAlias none
  SSLCipherSuite HIGH:MEDIUM
  SSLProtocol all -SSLv2
  SSLCertificateFile /usr/syno/etc/ssl/ssl.crt/server.crt
  SSLCertificateKeyFile /usr/syno/etc/ssl/ssl.key/server.key
  SSLEngine on
  SSLProxyEngine on
  errorlog /volume1/public/Subsonic/erreur-log.log
  ProxyRequests Off
  ProxyVia Off
  <Proxy *>
         Order deny,allow
         Allow from all
  </Proxy>
#  proxypass /Management https://xxx.no-ip.com:5001
#  proxypassreverse /Management  https://xxx.no-ip.com:5001
  proxypass /Subsonic https://xxx.no-ip.com:4041
  proxypassreverse /Subsonic https://xxx.no-ip.com:4041
</VirtualHost>


what i collect in the errorlog is :
Code: Select all
[Sat Aug 11 16:37:01 2012] [warn] RSA server certificate CommonName (CN) `synology.com' does NOT match server name!?
[Sat Aug 11 16:37:01 2012] [warn] RSA server certificate CommonName (CN) `synology.com' does NOT match server name!?
[Sat Aug 11 16:37:10 2012] [error] [client 192.168.80.102] File does not exist: /var/services/web/style, referer: https://xxx.no-ip.com/Subsonic/login.view?
[Sat Aug 11 16:37:10 2012] [error] [client 192.168.80.102] File does not exist: /var/services/web/j_acegi_security_check, referer: https://xxx.no-ip.com/Subsonic/login.view?


Do you guys have any idea?
let me know if you need more information...
Thanks.
jonath812
 
Posts: 2
Joined: Mon May 07, 2012 12:04 pm

Re: Subsonic on Synology (reverseproxy)

Postby bry » Mon Aug 13, 2012 7:42 pm

Donate to get a key and jonath812.subsonic.org

Sent from my DROID RAZR using Tapatalk 2
bry
 
Posts: 32
Joined: Wed Jan 13, 2010 5:01 pm

Re: Subsonic on Synology (reverseproxy)

Postby jonath812 » Tue Aug 14, 2012 8:50 am

Thanks for the advice but I'd rather make this sorted before.
As i've got the domain, I'd like to keep it as it is....
(I've been thinking of a donation as well but probably to make the android client work when the server will be setuped.)

Any other idea?
jonath812
 
Posts: 2
Joined: Mon May 07, 2012 12:04 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 18 guests