Answer the question
In order to leave comments, you need to log in
How to set up a server on ubuntu?
I took a vds server for experiments, I want to get some experience in setting up servers.
I figured out how to set up a simple php server, but how to combine php server, nodejs and, for example, ruby so that sites written in different languages can work in neighboring folders?
Answer the question
In order to leave comments, you need to log in
in Apache's httpd.conf settings,
an example for Perl
can also be compiled for other languages
#Perl
AddHandler cgi-script .cgi .pl
ScriptAlias /cgi/ "/var/www/cgi/"
<Directory "/var/www/cgi/">
Options Indexes Includes
AllowOverride All
Allow from all
</Directory>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question