How-to use built-in webserver; Setup a English<->Chinese dict
First a simple example on how to sue the built-in apache and perl to setup a english-chinese web dictionary
1) Enable the Apache server System Pref->Sharing->Service->Personal Web Sharing
This will start the apache webserver - httpd.
Default cgi exe directory is /Library/WebServer/CGI-Executables
Uses default /etc/httpd/httpd.conf directory
You can now access the
-systemwide home page on http://ip-address and
-your personal homepage on http://ip-address/os-x-login-id/
2) Get the necessary chinese-english files to setup your web dictionary:
a) Program (1 perl file) from here Download the zip-file
b) Dictionary (large zipfile) from here
Unzip worklook.pl and cedict_tc.u8 into the cgi-directory /Library/WebServer/CGI-Executables
3) Now access your offline dictionary in webbrowser via this url
1) Enable the Apache server System Pref->Sharing->Service->Personal Web Sharing
This will start the apache webserver - httpd.
Default cgi exe directory is /Library/WebServer/CGI-Executables
Uses default /etc/httpd/httpd.conf directory
You can now access the
-systemwide home page on http://
-your personal homepage on http://
2) Get the necessary chinese-english files to setup your web dictionary:
a) Program (1 perl file) from here Download the zip-file
b) Dictionary (large zipfile) from here
Unzip worklook.pl and cedict_tc.u8 into the cgi-directory
3) Now access your offline dictionary in webbrowser via this url

