kaconke / streeme

Automatically exported from code.google.com/p/streeme
MIT License
0 stars 0 forks source link

Streeme under Apache virtual directory - Songs don't play #62

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm trying to get Streeme to work under the site virtual directory /streeme.  
Now the main GUI is fine, I can see everything, but when I click a song it does 
not play.  I get this Apache error:

[Fri Jan 31 15:31:39.071630 2014] [:error] [pid 29361] [client 
192.168.223.246:49347] Empty module and/or action after parsing the URL 
"/play/3a1fec0a81249b5d9a386cddb9da768b8ae925fd" (/)., referer: 
https://192.168.223.245/streeme/player/desktop

If I manually add /streeme in the beginning for the above URL it plays the song.

I have the main GUI under port 443 and just for testing I have port 80 reserved 
for the proxy.

Here is my site config file; notice Streeme is off an alias.

<VirtualHost *:80>
        ServerAdmin admin@puzic.local
        ServerName gizmo.puzic.local
        DocumentRoot /var/www/
        Alias /streeme "/var/webapps/streeme/web"
        Alias /play "/var/webapps/streeme/web"
        Alias /sf "/var/webapps/streeme/lib/vendor/symfony/data/web/sf"
        <Directory "/">
                AllowOverride all
                Order deny,allow
                Allow from all
                Options -MultiViews
        </Directory>
        <Directory "/var/webapps/streeme/web">
                AllowOverride All
                Allow from All
                Require all granted
        </Directory>
        <Directory "/var/webapps/streeme/lib/vendor/symfony/data/web/sf">
                AllowOverride All
                Allow from All
                Require all granted
        </Directory>

</VirtualHost>
<VirtualHost *:443>
        ServerAdmin admin@puzic.local
        ServerName gizmo.puzic.local
        DocumentRoot /var/www
        SSLEngine on
        SSLCertificateFile /etc/apache2/ssl/apache.crt
        SSLCertificateKeyFile /etc/apache2/ssl/apache.key
        Alias /streeme "/var/webapps/streeme/web"
        Alias /play "/var/webapps/streeme/web"
        Alias /sf "/var/webapps/streeme/lib/vendor/symfony/data/web/sf"
        <Directory "/">
                AllowOverride all
                Order deny,allow
                Allow from all
                Options -MultiViews
        </Directory>
        <Directory "/var/webapps/streeme/web">
                AllowOverride All
                Allow from All
                Require all granted
        </Directory>
        <Directory "/var/webapps/streeme/lib/vendor/symfony/data/web/sf">
                AllowOverride All
                Allow from All
                Require all granted
        </Directory>
</VirtualHost>

Original issue reported on code.google.com by jcpg...@gmail.com on 31 Jan 2014 at 9:40

GoogleCodeExporter commented 8 years ago
Hi, 
my Solution is this and works fine. No proxy, but my Webspace is ssl only. 

<VirtualHost *:443>
    ServerName streeme.home.lan
    DocumentRoot "/var/webapps/streeme/web"
    DirectoryIndex index.php
  <Directory "/var/wepapps/streeme/web">
        AllowOverride All 
        Allow from All
  </Directory>

    Alias /sf "/var/webapps/streeme/lib/vendor/symfony/data/web/sf"
  <Directory "/var/webapss/streeme/lib/vendor/symfony/data/web/sf">
        AllowOverride All 
        Allow from All
  </Directory>

SSLEngine on
                 SSLCertificateFile /etc/ssl/mail/mail.crt
                 SSLCertificateKeyFile /etc/ssl/mail/mail.key

</VirtualHost>

Listen *:8096

NameVirtualHost *:8096

<VirtualHost *:8096>
  DocumentRoot "/var/webapps/streeme/web"
  DirectoryIndex index.php
  <Directory "/var/webapps/streeme/web">
    AllowOverride All
    Allow from All
  </Directory>
</VirtualHost>

regards

Original comment by chsschn...@gmail.com on 29 Oct 2014 at 11:35