Added by JonRushton about 7 years ago

Hey fatal, or anyone else who can help..

I was wondering... I would like to be able to link directly to the mobile media collection from a subdomain.

I have tried with apache to create a vhost that forwards the requests on, which works, until you get to the list of media, then it just says Loading...

I have Metabrowser configured on port 80, ip address shown below.

here is the apache bit:

<VirtualHost *:80>
    ServerName collection.mydomain.co.uk
    RewriteEngine on
    RewriteRule ^/web/(.*)$$1 [P,L]
    RewriteRule ^/(.*)$$1 [P,L]

This works with uTorrent (negating the need to use /gui after the url.

Any ideas?

If i just forward apache to the ip, then i use collection.mydomain.co.uk/web it works fine. but i wanted to remove that requirement so its all accessable from the simple subdomain.

Replies (1)

RE: Web - Added by fatal about 7 years ago

It probably just says loading b/c the relative paths to the api probably changes...what happens with the above script, and you go to, for example: collection.mydomain.co.uk/get.Movies ? It probably won't list the movies since it is expecting there root to be and not ....b/c the get.Movies (and other metadata endpoints) are tied to and not

Take Care