Prev | Current Page 449 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

The Notepad application opens with a configuration
file in it. It is the httpd.conf file that contains the main configurations for the Apache web server.
Remember that each time you change something in this file, the web server must be restarted in order to
let the changes take place.
Now go to the end of the file and add the following lines:
#BEGIN NEKO
LoadModule neko_module ???C:\\Program Files\\Motion-Twin\\neko\\mod_neko2.ndll???
AddHandler neko-handler .n
DirectoryIndex index.n
#END NEKO
The path C:\\Program Files\\... might have to be adjusted for localized versions of windows or
when haXe is installed in a custom path.
The first and the last lines are just comments to mark your modification and you can omit them.
Chapter 9: Building Websites with HaXe
233
The LoadModule line just instructs the web server to load the neko_module from the specified location.
You may have to change the path if you have installed neko in a different directory. The double
backslashes in the path are not an error.


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