emerson (emerson) wrote in lj_dev,
emerson
emerson
lj_dev

  • Mood:

403 Forbidden errors setting up my own instance of lj code....

Wow, I feel like a newbie.

I pulled down CVS code this afternoon, and went to set up a mini version of livejournal for a little community site we run, and I'm having serious trouble getting it to stand up and pay attention.

I got the code blatted out into /usr/local/livejournal, installed and tweaked ljconfig.pl, installed the httpd.conf snippet and hacked it appropriately for path and site names, got all the db stuff done, created the system user. We're at the point where it should Just Work(tm).

Two things are wrong. My original plan was to have this code run at journals.hayseed.net so I set up the vhost appropriately and made the correct DNS addition, but the rewrite rules for LJ make that try to get /users/journals. I commented out four Rewrite(Cond|Rule) that seem to be the culprit for that, and then it stopped trying to do that.

But. Anything that I try to load under journals.hayseed.net gives me a 403 Forbidden error. I'm pretty Apache-savvy, so I've done simple sanity-checks like made sure all the files are readable / executable by the webserver, there's no 'deny from' issues, or the like. It's just silently 403-ing everything (well, it puts the 403 in the access_log but doesn't say anything more than that). The fastCGI processes are all running, etc etc.

What stupid little thing might I be doing wrong? Thanks in advance.
Subscribe

  • SessionGenerate and ljloggedin

    Are there any information after release 86 and changes in cookies scheme to use sessiongenerate? It returns ljsession key, but this key is not enough…

  • Retrieving comments

    Hi, Is there a way to retrieve a list of comments made by user XXX (which may or may be not the currently logged in user) in the journals of users…

  • Community posts and comments

    Hi! How can I download a community posts with comments when 1) I'm the community moderator 2) I'm not the community moderator ? Thank you

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 6 comments