Difference between revisions of "User talk:Andrew F"

From DreamHost
Jump to: navigation, search
(Spam problem: reply)
(Spam problem: - idea)
Line 96: Line 96:
 
About 99% of ''all'' activity on the wiki is now related to spam. Got any ideas? -- [[User:Scjessey|Scjessey]] 07:53, 28 October 2011 (PDT)
 
About 99% of ''all'' activity on the wiki is now related to spam. Got any ideas? -- [[User:Scjessey|Scjessey]] 07:53, 28 October 2011 (PDT)
 
: Nothing offhand, besides "convince more people to make non-spam edits". [[User:Andrew F|Andrew F]] 14:54, 28 October 2011 (PDT)
 
: Nothing offhand, besides "convince more people to make non-spam edits". [[User:Andrew F|Andrew F]] 14:54, 28 October 2011 (PDT)
 +
::LOL. I've noticed that many of the spammers create account with usernames of a similar pattern. Examples are:
 +
::*Arthur394Gagnon
 +
::*AEverette258Hart
 +
::*KJacquiline645Coffey
 +
::Do you know if it is possible to automatically block accounts based on some REGEX trickery? -- [[User:Scjessey|Scjessey]] 15:07, 28 October 2011 (PDT)

Revision as of 15:07, 28 October 2011

Django media

Hello Andrew, I've been trying to convert my existing Django sites over to Passenger since I read about it in the newsletter. I have the site running but I can't get the media working. Every request for http://site/media/whatever is caught by Django as an error since those urls don't match any patterns in urls.py. In the past with FCGI we would use mod_rewrite rules in an htaccess file to host media on the same domain as Django, but that doesn't seem to be working with an htaccess in the public directory using Passenger. Do you have any advice? Jdanks 00:29, 18 November 2009 (UTC)

Put your static media in the "public" directory. Anything that exists there will get served up directly instead of being served through Django. In your case, for instance, you'd create a public/media directory and stuff all your media into it. Andrew F 00:30, 18 November 2009 (UTC)
Thanks, a combination of not being able to browse directories under public from a web browser and some files in the wrong place from a typo made me think it wasn't working correctly. Would you mind if I added some instructions to the Django page for migrating existing FCGI sites to Passenger? Jdanks 02:31, 18 November 2009 (UTC)
Please do! If you can get it to handle existing installs with a Django SVN checkout in ~/django_src and projects in ~/django_projects (as I've seen a lot of customers doing), that'd be great -- huge props if you can get it to make those work seamlessly. :) Andrew F 17:55, 18 November 2009 (UTC)

Loss of session data errors

I seem to be having trouble performing edits, with many being rejected with a "loss of session data" error. I remember this happening a couple of years ago, but I don't remember what was done to fix it. The error can usually be cleared by repeating the edit a couple more times, but it is most inconvenient. Robert Parker might remember the problem too. -- Scjessey 12:35, 7 June 2010 (UTC)

Yep, I'm having the same problem myself. I'm probably going to be moving the wiki to a PS (like I recently did with discussion), though, which should solve the problem. (Right now the wiki is on a load-balanced cluster, which makes session handling difficult.) Andrew F 22:03, 7 June 2010 (UTC)
So it's not running on that spare XT5 then? -- Scjessey 22:09, 7 June 2010 (UTC)
Sadly, no. ;) Andrew F 22:15, 7 June 2010 (UTC)

Spamtard

Also, in light of the recent vandalism by "Fike" et al, I recommend configuring the wiki to restrict moves to sysops/admins/bureaucrats and the like. The weird thing is, I could've sworn it was already set that way before. -- Scjessey 21:34, 7 June 2010 (UTC)

Good idea. Done! Andrew F 21:39, 7 June 2010 (UTC)

Changes to sign up process

As I have indicated here, I know that changes to the sign up process may have made parts of that page obsolete. Could you edit the page to reflect the changes? --Seanthegeek 19:00, 6 August 2010 (UTC)

The changes are pretty minimal, and the new signup actually makes transfers a lot easier. Done. Andrew F 19:04, 6 August 2010 (UTC)
What about those who already have a domain registered in a TLD in which DH is not a registrar? Is there an option to not set up a domain or hosting automatically? --Seanthegeek 19:10, 6 August 2010 (UTC)
It'll still set up hosting, it just won't offer to transfer the domain in. Andrew F 19:11, 6 August 2010 (UTC)

MongoDB --auth

Andrew F,

Your poetic wiki comment of "this is completely wrong, wff?" was not only itself not correct but also not helpful. I have twice now had to apply the changes to the stock DH install of MongoDB that are detailed here:

http://wiki.dreamhost.com/index.php?title=MongoDB&oldid=25903

When using both the Perl driver and, most recently, the latest PHP driver, basic queries against MongoDB will fail. In PHP the error is:

  Fatal error: Uncaught exception 'MongoCursorException' with message 'unauthorized for db [nameberry_devel] lock type: 1 ' in /home/nameberry_devel/dev.nameberry.com/themes/wordpress/nameberry/functions.php:8 Stack trace: #0 /home/nameberry_devel/dev.nameberry.com/themes/wordpress/nameberry/functions.php(8): MongoCollection->findOne(Array) #1 /home/nameberry_devel/dev.nameberry.com/wordpress/wp-settings.php(264): include('/home/nameberry...') #2 /home/nameberry_devel/dev.nameberry.com/config/wordpress/wp-config.php(31): require_once('/home/nameberry...') #3 /home/nameberry_devel/dev.nameberry.com/wordpress/wp-load.php(30): require_once('/home/nameberry...') #4 /home/nameberry_devel/dev.nameberry.com/wordpress/wp-blog-header.php(12): require_once('/home/nameberry...') #5 /home/nameberry_devel/dev.nameberry.com/wordpress/index.php(17): require('/home/nameberry...') #6 {main} thrown in /home/nameberry_devel/dev.nameberry.com/themes/wordpress/nameberry/functions.php on line 8


It would seem that you either need to create a user before adding the --auth option to the mongod startup script or create one from the mongo cli if you want to run with the --auth option.

It appears as though there is a "root" user created by default. Do you happen to know the default password for this user?

--Hugh

The email you received when you set up MongoDB includes the root password. We strongly discourage disabling authentication, as doing so opens up your database for anybody on the Internet to mess with. Andrew F 19:18, 26 August 2010 (UTC)
That would explain it. I activated MongoDB very early on and it required a sysadmin to intervene to complete the initial setup so I never received that email. Thanks for the reply. --Hhunter 19:36, 13 September 2010 (UTC)

Rock crusher spam

ROFL! That's got to be the funniest spam we've ever had on this wiki. -- Scjessey 13:13, 13 October 2010 (UTC)

One of my coworkers gets tons of email spam about forklifts. We're lucky; we get the rock crushers. :) Andrew F 17:04, 13 October 2010 (UTC)
I've always been able to lift my fork unassisted. I know Robert Parker sometimes needs a guiding hand though! -- Scjessey 19:58, 13 October 2010 (UTC)

Please rename me!

Hello, my name is Dwayne and I edit Wikipedia. I noticed that you are a Bureaucrat here on this wiki, So I know that you have the permissions to rename a user. Is it anyway you can rename me to Dwayne instead of Duhwayne? If you can, I would very much appreciate it. Thanks, Duhwayne 13:10, 25 December 2010 (PST)

There's a MediaWiki extension to help with this, Andrew. -- Scjessey 13:29, 25 December 2010 (PST)

Thanks for deleting How a client side script can connect to MySQL - Ex. Java Applet

I thought it was a bad idea too. --Club Penguin Player 18:36, 18 February 2011 (PST)

InstallCpanModules

Hey, I simplified the docs to the bare essentials. Feedback appreciated -- User:Krishnan

Awesome job. Thanks. Andrew F 15:50, 9 March 2011 (PST)

crat

Can I become a bureaucrat here? I have much experience to offer in mediawiki wikis. Eglinton 09:57, 26 March 2011 (PDT)

No. Andrew F 10:04, 28 March 2011 (PDT)

Awesome spam

"I saw your profile contact during my search for good partnership in gold business buyer today and I decided to contact you. I Madam Marian Louis,I have 250kg of 22.7 carat Aluvial Gold Dust of 94.6% purity, Guinea origin for sale." has to be the best spam page title ever! -- Scjessey 18:39, 15 August 2011 (PDT)

Not quite as good, but we can now add piano air conditioning repair to the WTF list. -- Scjessey 12:42, 16 August 2011 (PDT)
I, for one, am happy to know that I can now find a reliable repairman for my piano air conditioner. Andrew F 12:59, 16 August 2011 (PDT)

Spam problem

About 99% of all activity on the wiki is now related to spam. Got any ideas? -- Scjessey 07:53, 28 October 2011 (PDT)

Nothing offhand, besides "convince more people to make non-spam edits". Andrew F 14:54, 28 October 2011 (PDT)
LOL. I've noticed that many of the spammers create account with usernames of a similar pattern. Examples are:
  • Arthur394Gagnon
  • AEverette258Hart
  • KJacquiline645Coffey
Do you know if it is possible to automatically block accounts based on some REGEX trickery? -- Scjessey 15:07, 28 October 2011 (PDT)