HNHacker News
TopNewBestAskShowJobs

Otto42

25 karma · joined September 25, 2009

Tech Ninja

[ my public key: https://keybase.io/otto42; my proof: https://keybase.io/otto42/sigs/FnDvOBl_PWDbfOPXujlMbYCf8IdSOvaaVcNmJTOfDI8 ]

submissionscomments
Otto42··on WordPress 3.0 available
Moving wp-config.php outside of the public html folder is easy. Just do it. WordPress checks the main root level and one level above for it automatically. No configuration needed.

Renaming wp-admin is not currently possible. This is slated for future versions though.

And the reason WordPress doesn't use relative URLs is because it uses a rewrite system for most of the site. With the permalink system, most of the URLs don't actually exist as real directories, but are simply indicators to tell WordPress what sort of things you're looking for. Now, I grant you that this is not the case for the admin side of things, which uses direct links to files and the like. Those links there, however, are relative.

However, the reason the admin redirects to the right URL is because of the secure cookie handling. Cookies in WordPress are carefully controlled as to which URLs they are sent to, they're not just indiscriminately sent to the whole site. If you're using SSL Login and Admin, then the login cookies are only sent to the SSL side of things, and only to requests in the admin directories, etc. Other cookies are sent to the normal non-SSL side, which will identify you for login purposes, but not allow you administrative access. All this careful cookie handling means that the correct domain must be present for everything to work. It can't work through some other domain that it doesn't know about.

Otto42··on IPhone Developers: We use our iPhones in bed, allow us to disable landscape
Fair enough, but I'd point out that I've had a jailbroken phone for quite a while, installed and played with thousands of apps, and never experienced one "crash". What's the difference? Simple, I only installed tried and tested apps, even from Cydia.

Jailbreaking the phone is simply not inherently more unstable. It's like anything else, if you install unstable stuff, you get unstable results. SBSettings is perfectly stable and works well, as do most of the simpler addons for it, RotationInhibitor being one of these. But quality of JB apps varies, and there certainly are a lot of unstable ones out there.

So before you go blaming jailbreaking itself, I'd investigate to see what specific apps are interfering with your app, and see what the issue is. Because a jailbroken phone is certainly not inherently more unstable. It's the unstable addons are the problem, but people are stupid and will install any old thing, no matter how crap quality it might be.

Otto42··on IPhone Developers: We use our iPhones in bed, allow us to disable landscape
1. Jailbreak. 2. SBSettings. 3. RotationInhibitor. 4. There is no step four.

Seriously, why more people don't just jailbreak their devices and make it work the way they want it to work baffles me. Jailbreaking my 3GS (running 3.0 originally) took a total of 3 minutes using the purplera1n method. The redsn0w takes a bit longer and has more downloading involved, but still...

← PreviousPage 2 of 2