[VPS] Need help on configuring some point of rutorrent.conf
Register

We are the best invite forum on the internet! Here you will find free invites, free seedboxes, free bonuses, and much more. Our members know the true meaning of sharing and have created a truly global bittorent community! Our site has the most up to date information on all private trackers and our members will guide you and introduce you to this truly secretive and enlightened club. Ready to get started? Register now!


Results 1 to 9 of 9
Like Tree4Likes
  • 2 Post By daydada
  • 1 Post By daydada
  • 1 Post By ECH3LON

Thread: [VPS] Need help on configuring some point of rutorrent.conf

  1. #1

    Join Date
    Feb 2012
    Location
    France
    Posts
    43

    Default [VPS] Need help on configuring some point of rutorrent.conf

    Hi !

    I would need some help on a little personnal issue ; I believe this is very simple, but im very newbie with managing my VPS, and I see lot of seedbox specialists around here so ...

    So I've got on my vps rutorrent installed, coexisting with Sborg.

    rutorrent path is /var/rutorrent/rutorrent
    sborg path is /var/rutorrent/sborg

    Basic authentication is setuped like this in rutorrent.conf :

    Code:
    ServerName localhost
    
    <VirtualHost *:80>
    
        ServerAdmin admin@rutorrent
        ServerName localhost
        DocumentRoot /var/rutorrent
    
        <Directory />
            AllowOverride None
            Order deny,allow
            Deny from all
        </Directory>
        <Location />
            AuthType Basic
            AuthName "My ruTorrent web site"
            AuthUserFile "/etc/httpd/rutorrent_passwd"
            Require valid-user
            Order allow,deny
            Allow from all
        </Location>
        <Location ~ "^/rutorrent/(conf|share)">
            Order deny,allow
            Deny from all
        </Location>
        <Location ~ "/\\.svn">
            Order deny,allow
            Deny from all
        </Location>
        <Location "/RPC00001">
            AuthType Basic
            AuthName "My ruTorrent web site"
            AuthUserFile "/etc/httpd/rutorrent_passwd"
            Require user BloBBy
        </Location>
        <Location "/RPC00002">
            AuthType Basic
            AuthName "My ruTorrent web site"
            AuthUserFile "/etc/httpd/rutorrent_passwd"
            Require user BloBBy
        </Location>
    </VirtualHost>
    <VirtualHost *:443>
        SSLEngine On
        SSLCertificateFile /etc/httpd/rutorrent.pem
        ServerAdmin admin@rutorrent
        ServerName localhost
        DocumentRoot /var/rutorrent
    
        <Directory />
            AllowOverride None
            Order deny,allow
            Deny from all
        </Directory>
        <Location />
            AuthType Basic
            AuthName "My ruTorrent web site"
            AuthUserFile "/etc/httpd/rutorrent_passwd"
            Require valid-user
            Order allow,deny
            Allow from all
        </Location>
        <Location ~ "^/rutorrent/(conf|share)">
            Order deny,allow
            Deny from all
        </Location>
        <Location ~ "/\\.svn">
            Order deny,allow
            Deny from all
        </Location>
        <Location "/RPC00001">
            AuthType Basic
            AuthName "My ruTorrent web site"
            AuthUserFile "/etc/httpd/rutorrent_passwd"
            Require user BloBBy
        </Location>
        <Location "/RPC00002">
            AuthType Basic
            AuthName "My ruTorrent web site"
            AuthUserFile "/etc/httpd/rutorrent_passwd"
            Require user BloBBy
        </Location>
    </VirtualHost>
    #SCGIMount /RPC00001 127.0.0.1:99999
    #SCGIMount /RPC00002 127.0.0.1:99999
    **username has been changed



    As you can notice, accessing all above /var/rutorrent needs authentication.

    Here is the mission. I would like to remove the authentication only for this specific path : /var/rutorrent/sborg/files and all his subdirectorys.

    I believe this must be obviously simple but i just cant figure it out :(

    The one who tells me the solution will win a big hug :P

    PS : plz forgive me if im in the wrong topic/place...


  2. To remove ads become VIP. Inquire about advertising here.
  3. #2

    Join Date
    Dec 2011
    Posts
    74

    Default

    Try something like this:

    Code:
    <Location "/sborg/files">
       Allow from all
       satisfy any
    </Location>
    KYLLAH and BloBBy like this.

  4. #3

    Join Date
    Feb 2012
    Location
    France
    Posts
    43

    Default

    That is smart ...but still asks for auth :(

    I dont understand why that seems perfect

  5. #4

    Join Date
    Dec 2011
    Posts
    74

    Default

    Strange. I tried to reconstruct your problem with .htaccess and it works here.
    Does
    Code:
    <Directory "/var/rutorrent/sborg/files">
      Allow from all
      satisfy any
    </Directory>
    yield the same result?

  6. #5

    Join Date
    Feb 2012
    Location
    France
    Posts
    43

    Default

    wait...shall i restart httpd maybe first? to make changes active ?

  7. #6

    Join Date
    Dec 2011
    Posts
    74

    Default

    yes of course. you need to restart the webserver :)
    BloBBy likes this.

  8. #7

    Join Date
    Feb 2012
    Location
    France
    Posts
    43

    Default

    You're the man daydada :)

    Works like a charm (with your first lines). I always forget to do obvious things :)
    That was kinda simple finally :D but seems I've got still a lot of things to learn...

    Thanks so much !!!

    **sending magic virtually hug as promised**

  9. #8

    Join Date
    Dec 2011
    Posts
    74

    Default

    np. glad I could help.

  10. #9

    Join Date
    Dec 2011
    Location
    In your head :)
    Posts
    925
    Blog Entries
    1

    Default

    You may want to close the thread if the issue is resolves to avoid members grave digging.

Similar Threads

  1. Need help on getting a file server
    By mackerel in forum Help
    Replies: 3
    Last Post: July 28th, 2011, 09:29 PM
  2. Replies: 4
    Last Post: November 1st, 2009, 02:15 AM
  3. Need help on WPA-PSK
    By seekforheave in forum Computers
    Replies: 3
    Last Post: October 30th, 2009, 05:18 PM
  4. Need help finding some ukulele methods
    By livingtheuke in forum Help
    Replies: 3
    Last Post: July 27th, 2009, 01:35 PM
  5. need help with rep points
    By zcrox69 in forum Help
    Replies: 6
    Last Post: May 5th, 2009, 06:04 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •