S
S
Sergey Zhubartovich2015-12-30 20:14:54
Network administration
Sergey Zhubartovich, 2015-12-30 20:14:54

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

1 answer(s)
A
Alexyz Canson, 2018-12-01
@jone21

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 question

Ask a Question

731 491 924 answers to any question