• Home
  • Blog
  • Demo
  • Community

The Web Server for iTunes

Access your iTunes music library from anywhere, through a web browser

loginMembers Login


  • Forgot Password?

Support Center » Knowledgebase

Search Knowledgebase (Advanced Topics )     All Categories

Search by entering keywords (formatting, account, E-mail) or phrasing a question.
Note: Live search requires a minimum of 4 characters.

Top / .. / Advanced Topics

  • How to serve pulpTunes along your regular web site rating stars

    Article ID: 3     Created on: 12/30/2009 12:00 am     Modified on: 01/05/2010 5:38 pm


    You can start pulpTunes in your server (linux) through the command

    pt_linux.sh --background --port X

    Where X would be the port where you want it to listen to.

    To avoid having your visitors enter the port (http://yoursite.com:X), and instead serve pulpTunes on port 80 along your website, you need to set up a reverse proxy rule in your Apache configuration.

    First you need to make sure mod_proxy is loaded (in apache's config file, usually httpd.conf):

    LoadModule proxy_http_module modules/mod_proxy_http.so

    Then create a rule like this:

    <IfModule mod_proxy.c>
        ProxyRequests Off
        ProxyPass /demo http://localhost:15000
        ProxyPassReverse /demo http://localhost:15000
    </ifModule>


    In this example, you need to start pulpTunes listening on the default port (15000), and any request made to http://yoursite.com/demo will be forwarded to http://yoursite.com:1500

    PD: don't forget to restart Apache after each config file change.


    Author: alpeb

    Rate this article

    How Helpful was this article to you?

    • Currently 5.00/5
    • 1
    • 2
    • 3
    • 4
    • 5
    Rating: 5 / 5 (1 vote cast)


    Comments

    There are no comments

    Add a comment





    Comment

  • Home
  • Blog
  • Project Page
  • Demo
  • Community
  • RSS
Copyright 2008-2010 pulpTunes.com