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/

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org