Skip to content

An Apache module for the ZPE Programming Environment and the YASS language.

Notifications You must be signed in to change notification settings

jamiebalfour04/mod_zpe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

mod_zpe.c

mod_zpe is an Apache module for the ZPE Programming Environment and the YASS language. Use this to add support for the YASS language into the Apache Web Server.

Usage

  • Copy all files as listed into a folder on your computer
  • Make sure you have the latest version of ZPE from jamiebalfour.scot.
  • Copy zpe.jar into a folder in the root called /zpe/
  • Make sure make.sh is executable (chmod 755 make.sh)
  • Run the make.sh file with ./make.sh
  • Copy the resulting mod_zpe.so file into the appropriate directory (cp mod_zpe.so /usr/lib/apache2/modules/)
  • Restart Apache (httpd -k restart or apachectl -k restart)
  • Add the mod_zpe.load file into the /etc/apache2/mods-available folder with the following line:
    LoadModule zpe_module /usr/lib/apache2/modules/mod_zpe.so
  • Restart Apache (httpd -k restart or apachectl -k restart)

index.ywp

YASS Web Pages or YWP files work by embedding YASS code within <?ywp and ywp?>

  <!DOCTYPE html>
  <html>
    <head>
    </head>
    <body>
      <?ywp
        print("Hello world!")
      ywp?>
    </body>    
  </html>
  

About

An Apache module for the ZPE Programming Environment and the YASS language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published