chenqingyu / auto-sub

Automatically exported from code.google.com/p/auto-sub
0 stars 0 forks source link

webroot #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
maybe following can be written down somewhere;

When using Apache2 and want to use autosub over port 80 where the original port 
is 8083 the following can be used:

<Location /autosub>
    ProxyPass http://localhost:8083/autosub
    ProxyPassReverse http://localhost:8083/autosub
    SetOutputFilter proxy-html
    ProxyHTMLURLMap / /autosub/
</Location>

When you want to use autosub over port 80 using webroot of autosub
following is needed

<Location /autosub>
    ProxyPass http://localhost:8083/autosub
    ProxyPassReverse http://localhost:8083/autosub
</Location>

and in the config of autosub you need to set the webroot folder.

when using webroot through the interface and you are saving the webroot 
location (in my example /autosub)
then when saving this function the markup (style/css) is not valid anymore. You 
need to restart autosub before the new config is activated. it's not reloaded 
upon saving the config

autosub is than available at http://doma.in/autosub etc.. 

Original issue reported on code.google.com by aroundmyroom on 8 Nov 2012 at 6:22

GoogleCodeExporter commented 9 years ago
Wiki page is needed indeed for this, and indeed. You shouldn't change the 
webroot using the webgui. Just like it works with sickbeard. Edit the config 
yourself.

Original comment by romke.va...@gmail.com on 8 Nov 2012 at 9:50

GoogleCodeExporter commented 9 years ago
Check http://code.google.com/p/auto-sub/wiki/ProxyAutoSub

Original comment by romke.va...@gmail.com on 15 Nov 2012 at 2:50