Log in

No account? Create an account
February 23rd, 2002 - LiveJournal Development — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

February 23rd, 2002

CONTRIB: Apache Configuration File Generator [Feb. 23rd, 2002|12:48 am]
LiveJournal Development
[mood |contemplativecontemplative]

My biggest frustration with setting up LiveJournal was modifying the Apache configuration file. I've whipped up a simple perl program that'll ask a few questions and output the needed file.

Can be found at http://emdee.net/lj/httpdconf.tar

Any thoughts on this?
link3 comments|post comment

Okay. [Feb. 23rd, 2002|01:00 pm]
LiveJournal Development


Everything is fixed now, and the database is populated. The httpd.conf file has the necessary directives. Now, when I access the site where I installed the lj server, I get an HTTP 403 error (forbidden). I tried "chmod 755 htdocs", even "chmod 777 htdocs" and I still get the error. I even tried adding a "Directory" block with necessary Options, still resulting in the 403 error.

Any help would be greatly appreciated.
link3 comments|post comment

Edit info yet again [Feb. 23rd, 2002|04:45 pm]
LiveJournal Development


Sorry if i'm being a pain, but really trying to push this to get done.
I now have 2 version of the merge..
First usng mart's modified auth_fields_2 function to link to uploadpic.bml (here)
Second one is using the current ?authas= schema (here)

I think i've covered just about everything to date, problems and new patches.
Let me know if anything else comes up.

(as always, test at http://lj.halkeye.net/ with the test account)
linkpost comment

Support System Override Viewer [Feb. 23rd, 2002|04:58 pm]
LiveJournal Development


Next up we have a tool for the customization support people. It adds another row (as well as fixes a style issue todo with see_request) listing weither or not the user has overrides, and if they do, it has a link to a new page showing the overrides.
If the user is a paid member, then the support team must have privs.

I've address the issue with privacy (somewhat), and elimited the userid and replaced with just user.

The only code i'm not liking, at least for readability is:

+ if ( LJ::get_cap($u, "paid") || LJ::get_cap($u, "perm") ) {
+ return LJ::bad_input("You need supportpriv to see the overrides of paid members") unless (
+ LJ::check_priv($dbs, $remote, "supporthelp", "customization") ||
+ LJ::check_priv($dbs, $remote, "supporthelp") );
+ }

So if someone could suggest something better, let me know.

I got the customization people to test things, and they claim everthing is working (as per 24153883)

Patched files:

Created files:

link6 comments|post comment

(no subject) [Feb. 23rd, 2002|05:05 pm]
LiveJournal Development


Made a few changes to the suggestions generator
Nothing major, just escaping html (as one example had html in it, but user didn't know to escape things, and broke peoples friends pages)
Also adds in new lines to the full description

Patch: generator.bml.diff

Can be tested using the test account at http://lj.halkeye.net/suggestions/generator.bml
link2 comments|post comment

[ viewing | February 23rd, 2002 ]
[ go | Previous Day|Next Day ]