neva_blyad (
neva_blyad) wrote in
dw_dev2019-12-22 12:14 am
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
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/
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/
no subject
no subject
no subject
no subject
no subject
The problem is solved.
no subject
no subject