Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
Provider blocking port 80 -- scoop woes Docs
By hoarycripple , Section Help! []
Posted on Tue Jan 08, 2002 at 12:00:00 PM PST
My provider started blocking port 80 because of all the IIS worms that were running amok. Now this causes a slight problem with scoop...

My url changed from "www.crippl3.net" to "www.crippl3.net:26"

The problem is, when a new user is created, he/she gets an email with a confirmatory url. This url does not contain the ":26" port. Where can I change the configuration so that the port is included? I tried changing the "site url" var, but I don't think that worked....i'm going to try it again and check it out...

Thanks for the help!
Crip.
< Announcing the hotlist_flex box | Announcing Freedomboard.net >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· Scoop
· More on Docs
· Also by hoarycripple

Story Views
  57 Scoop users have viewed this story.

Display: Sort:
Provider blocking port 80 -- scoop woes | 7 comments (7 topical, 0 hidden)
site_url is correct (none / 0) (#1)
by hurstdog on Wed Jan 09, 2002 at 08:53:21 AM PST

The email generated gets the confirm url directly from the site url. In scoop block notation, the confirm url is:

|site_url||rootdir|/newuser/confirm/|nick|/|confirm_string|
So change it, then try to send the email. It should have the port number in it. Also, what version of scoop are you running?



-hurstdog


Fixed! (none / 0) (#4)
by hoarycripple on Wed Jan 09, 2002 at 02:06:06 PM PST

wooo hoo! It finally works.

It seems I was messing with the wrong perl module. Here's what I did:

Edit ~scoop/lib/Scoop/Admin/Users.pm line 238 so that ":26" is concatenated between {SERVER_NAME} and $path, so that it looks like:

my $confirmurl = "http://$S->{SERVER_NAME}".":26"."$path/?op=newuser;tool=confirm;uname=$nick;confirm=$confirm_string ";

There's probably a more elegant way to do this, but for a newbie like me, as long as it works, it's cool.

Anyway, thanks again, and let me know if there's some better way to do this!
Crip.



Provider blocking port 80 -- scoop woes | 7 comments (7 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search