neva_blyad ([personal profile] neva_blyad) wrote in [site community profile] dw_dev2019-12-22 12:14 am
Entry tags:

BML files are not handled by Perl

Hello, Dreamwidth!

I'm trying to install Livejournal engine from scratch.
If I point my web browser at my server, it shows '403 Forbidden' error.
If I go to localhost/index.bml, it outputs source of the page without handling it with Perl.

Can you help me please?

My httpd.conf:

NameVirtualHost *:80

PerlSetEnv LJHOME /home/neva_blyad/lovecrypt/cvs/lovecrypt/
PerlPassEnv LJHOME

StartServers 1

PerlRequire /home/neva_blyad/lovecrypt/cvs/lovecrypt/cgi-bin/modperl.pl

<VirtualHost *:80>
    ServerName www.lovecrypt7k5p7uh.onion
    DocumentRoot /home/neva_blyad/lovecrypt/cvs/lovecrypt/htdocs/
    ErrorLog /1.err
    CustomLog /1.custom common
</VirtualHost>

<Directory /home/neva_blyad/lovecrypt/cvs/lovecrypt/>
    Option FollowSymLinks
    AllowOverride FileInfo
    Order deny,allow
    Allow from all
</Directory>

UPDATE:

The problem is solved. I've just copied content of Apache->httpd_conf() functions from mod_perl.pl to my httpd.conf.
What I should say is that original Livejournal code from 2003 works now in 2019!

Link:
https://web.archive.org/web/20070214155614/http://www.livejournal.org:80/download/code/livejournal-2003082500.tar.gz

How it looks:
https://web.archive.org/web/20030830211018/http://www.livejournal.com/
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)

[personal profile] pauamma 2019-12-22 04:05 am (UTC)(link)
Did you mean "install the Dreamwidth engine"? I'm not sure anyone here knows or remembers how to install LiveJournal. (Or even whether the last version before the owner took it off opensource could be installed without the proprietary code.)
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)

[personal profile] pauamma 2019-12-22 04:39 pm (UTC)(link)
The most up-to-date instructions for installing Dreamwidth (that I'm aware of) are at https://wiki.dreamwidth.net/wiki/index.php/Dreamwidth_Scratch_Installation , and there are some other resources listed on https://wiki.dreamwidth.net/wiki/index.php/Dreamwidth_Installation . Based on the first of these links and your symptoms, I'm guessing the problem may be with this step of the procedure (but you may want to review the whole procedure so we're on the same page).