Thanks, I'll look into it. It really depends on what the href= "path" is returned by that site for navigating to new URLs. Since it's all on the same domain, I suspect the home does not include /forums, and let the Profile contain it. When the site provides a newURL href it is normally in the context of domain.com only, but if the site does expect the base URL to include /forums and returns links like href= search.php with no /forums/ then special crafting would be required, and @home2 might come into play. Also, I included mergeurl() function to help if faced with a weird situation. The good news is that the site normally always follow http rules and things only get tricky with proxies, so I am pretty sure I can give better guidance once I can look at that script and the site.
EDIT::
but first, whats most important is that you're fixing 404 error.. page not found... so, what page was BC requesting that the server says does not exist? (should be shown in the .log)
then secondly, to figure out if the site needs weirdness trickery, what is the correct:
full search url?
full login url?
my guess is the script should work with Home="
http://rutracker.org/" and Profile="/proper/searchurl" and login="/proper/loginurl"
EDIT2:
below appears to be working fine.. I guess the real change is that Home= should not have extra url path beyond Domain.com, unless absolutely required, such as those proxy URLs.. and in that case, @home returns the correct base URL and @home2 returns exactly what was put in the .INI as a backup if needed in the script.
[script]
name=RuTracker.org
source=RuTracker
author=CuF
modified=Bovski(ASC), CuF 2013/02/13
pwd=1
version=3
[login]
login=http://login.rutracker.org/forum/login.php
form=login_username=%USER%&login_password=%PASS%&login=%C2%F5%EE%E4
failed=sendpassword
failed2=%C2%F5%EE%E4
[home]
1=http://rutracker.org/
2=http://proxy.piratenpartij.nl/rutracker.org/
[profiles]
all=/forum/tracker.php?max=1&to=1&nm=%SEARCH%
EDIT3:
ahhh.. yet there is bug.. this URL was incorrectly generated using the above code and setting to the 2nd home:
http://proxy.piratenpartij.nl/rutracker.org/forum/login.php/forum/tracker.php?max=1&to=1&nm=%SEARCH%it should have been
http://login.rutracker.org/forum/login.php because the login= has forced a http:// url.
i'll look into that further to fix in next build of BC.