Prev | Current Page 452 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"


In the Neko directory, there is also a mod_neko.ndll (without the 2 before the dot) that is the module
for Apache version 1.3.x.
The following line declares that each request for files ending with the .n extension must be processed by
to the neko - handler that is part of the neko_module .
Finally the DirectoryIndex line suggests trying to look for and serve an index.n file when the path to
a directory is requested from a user agent.
Now open and edit the file /etc/ld.so.conf and add your path to the Neko install directory (for
example, /usr/lib/neko ). Then run the following command from the terminal:
> sudo ldconfig
Insert your administrator password if required and confirm. This will render Neko accessible from
Apache. Restart Apache.
That ??™ s it!
To test your installation, compile an .n file and copy it to the default web server directory (for example,
/var/www ). Now point your browser to the URI http:// localhost/filename.n where filename is
the name of your compiled Neko file and see the result.


Pages:
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464