Php-for-go-web is a MD file that uses PHP+BOOTSTRAP3 to parse Go WEB programming. Build a local or remote Web site. Mom doesn't have to worry about my Internet connection any more.
Get MD file from Https://github.com/astaxie/build-web-application-with-golang/tree/master/zh
PHP parsing class library for obtaining Markdown format data from Https://github.com/erusev/parsedown
Using PHP parsing to get HTML data
Display the final HTML page using Bootstrap
I do not produce code, I am a porter of code! Exhibition Site: http://go.webiji.com
Installation configuration
[Apache]
The mod_rewrite.so module is loaded in the httpd.conf configuration file allowoverride None changes to None to save the following content as a. htaccess file in the same sibling directory
as the application portal file Rewriteengine on Rewritecond%{request_filename}!-d rewritecond%{request_filename}!-f RewriteRule ^ (. *) $ index.php? file=$1 [qsa,pt,l]
This project was developed and tested under Wampserver. It is recommended to use the Wampserver environment.
[IIS]
If your server environment supports Isapi_rewrite, you can configure the Httpd.ini file to add the following:
Rewriterule (. *) $/index\.php\?file=$1 [I]
[Nginx]
By configuring the forwarding rule implementation in nginx.conf:
Location/{//... omit part of the code if (!-e $request _filename) { rewrite ^ (. *) $/index.php?file=$1 last ; break; } }
If your project is installed in a level two directory, the Nginx pseudo-static method is set as follows, where Goweb is the directory name in which it is located.
location/goweb/{ if (!-e $request _filename) { rewrite ^/goweb/(. *) $ /goweb/index.php?file=$1 Last ; }}
Project home:http://www.open-open.com/lib/view/home/1446558564638