Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Works in OS X 10.10 assuming you have MacPorts installed and root user enabled
- su
- port install man2html
- cp /opt/local/www/cgi-bin/man.cgi /Library/WebServer/CGI-Executables
- chmod 755 /Library/WebServer/CGI-Executables/man.cgi
- launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist
- echo 'LoadModule cgi_module libexec/apache2/mod_cgi.so' >> /private/etc/apache2/httpd.conf
- apachectl restart
- open http://localhost/cgi-bin/man.cgi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement