Ready to Start Your Career?

Apache Guide to Running *Juliar * on a Webserver

Rattar 's profile image

By: Rattar

October 19, 2016

 hyperspace-2-1228187-1280x960This guide will teach you how to run *Juliar * on a WebServer. For those of you who haven't heard, *Juliar * is actively being developed to work as a server side language.You might ask:Why should I use *Juliar * to run a webserver?Besides being quick and easy to use. *Juliar * provides nice commands that allow you to limit the commands you can use via allowed_commands and banned_commands list, ability to do asynchronous calls and calculations, and other nice network features. It will soon have it's own database and as a database, I will later be showing how to create your own Social Network with Juliar.First thing first, grab latest version of Juliar at https://www.juliar.org/downloads.juSo let's load up apache httpd.conf file and make sure the following modules are loaded/uncommented (without# sign before them): 
LoadModule proxy_module modules/mod_proxy.soLoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
Next find the line that starts with 'DocumentRoot'  and after it add the following:
<Proxy "fcgi://localhost:9000" enablereuse=on max=10></Proxy><FilesMatch ".ju$">SetHandler "proxy:fcgi://localhost:9000/"</FilesMatch>
Next we download this script:(Windows)  LaunchFastCGIforNGINXorApache.bat(Linux/Mac) LinuxSpawn.shAnd run it.That's left to do is restart an Apache Server!Try creating test.ju with *environment * command and placing it into your server folder. Open your browser and make sure the *Juliar * is working.EnjoyFor more info, please visit the site at https://www.juliar.org and the forums at https://www.juliar.org/forums
Schedule Demo