whobutdrew: (Default)
Drew ([personal profile] whobutdrew) wrote in [site community profile] dw_dev2009-09-06 05:40 pm
Entry tags:

Questions as opposed to problems this time

Yeah... its me again. So much for not spamming the comm, eh? :P

My site is live now. I have a couple of questions surrounding the regular operation of it.

First, is there a way to disable the username.subdomain.tld functionality, so that the site only uses http://subdomain.tld/users/username? I ask this because my site is 'hosted' through Dyndns.com. It will support the resolution of *.subdomain.tld, but only if I pay them. Since I'm a miser I'd like to avoid that if possible. Manually typing in http://subdomain.tld/users/username will work, but all of the links use http://subdomain.tld/users/username, which fail. Its all of $15/year, which I can probably swing soon enough, but if there's a way to adapt the 'old' way of doing things, I'd like to give it a shot. Answers along the lines of "You're SOL" will be accepted."

Second, and again because I love free solutions (that's why I'm here in the first place, after all...) I'm using a GMail account as an SMTP server. Will I have to keep TheSchwartz's worker-manager running in order for comment notifications and the like to work?

In a similar vein, I'm trying to download posts, comments, userpics, etc. from my pre-existing account to my server. I'm following the steps here: http://wiki.dwscoalition.org/notes/Importer_Testing

My first attempt seems to be stuck, though, even after a server reboot. The logs say that account verification has already been requested, but the queue (as visible from the webpage itself) has "ImportStatus" for the verification status, and it never progresses from there. So I suppose the question here is, is there a way to clear the queue so I can try again fresh?

If there's a better place to ask these 'usage' rather than 'installation and development' questions, point me in that direction and I'll try to stay good on my promise not to spam anymore!

You have all been a huge help, I wouldn't have made it this far without you. Thanks so much!
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)

[staff profile] denise 2009-09-07 04:02 pm (UTC)(link)
Yeah, it's an option in the config -- in config.pl, there are these lines:


# Support URLs of the form http://username.yoursite.com/ ?
# If so, what's the part after "username." ?
$USER_VHOSTS = 1;
$USER_DOMAIN = $DOMAIN;

# If you ONLY want USER_VHOSTS to work and not the typical /users/USER and /community/USER
# then set this option:
$ONLY_USER_VHOSTS = 1;


That's what controls the user subdomains, but as [personal profile] kraig says, it's a security issue and you really, really shouldn't do it unless you absolutely have to.
exor674: Computer Science is my girlfriend (Default)

[personal profile] exor674 2009-09-09 08:29 am (UTC)(link)
And to add to this -- the current patch that makes dw-free work alone actually will not work if user_vhosts are off -- I'e not got around to fixing that yet, so...
Should be a trivial fix though.