version 1.13, 2013/09/03 20:36:02 |
version 1.14, 2014/09/01 13:02:25 |
|
|
.Dl socket \&"/var/www/run/bgpd.rsock\&" restricted |
.Dl socket \&"/var/www/run/bgpd.rsock\&" restricted |
.It |
.It |
Start the |
Start the |
.Xr nginx 8 |
.Xr httpd 8 |
and |
and |
.Xr slowcgi 8 |
.Xr slowcgi 8 |
servers after configuring the related |
servers after configuring the related |
.Ic server |
.Ic server |
section in |
section in |
.Pa /etc/nginx/nginx.conf . |
.Xr httpd.conf 5 . |
For example: |
For example: |
.Bd -literal -offset indent |
.Bd -literal -offset indent |
# FastCGI to CGI wrapper server |
ext_addr="0.0.0.0" |
# |
|
location /cgi-bin/ { |
server "lg.example.net" { |
fastcgi_pass unix:run/slowcgi.sock; |
listen on $ext_addr port 80 |
fastcgi_split_path_info ^(/cgi-bin/[^/]+)(.*); |
location "/cgi-bin/*" { |
fastcgi_param PATH_INFO $fastcgi_path_info; |
fastcgi |
include fastcgi_params; |
root "" |
|
} |
} |
} |
.Ed |
.Ed |
.El |
.El |
|
|
the |
the |
.Xr chroot 2 |
.Xr chroot 2 |
environment of the |
environment of the |
.Xr nginx 8 |
.Xr httpd 8 |
server. |
server. |
To enable the corresponding functionality, use the |
To enable the corresponding functionality, use the |
.Xr chmod 1 |
.Xr chmod 1 |
|
|
.Xr bgpctl 8 , |
.Xr bgpctl 8 , |
.Xr bgpd 8 , |
.Xr bgpd 8 , |
.Xr bgplgsh 8 , |
.Xr bgplgsh 8 , |
.Xr nginx 8 , |
.Xr httpd 8 , |
.Xr slowcgi 8 |
.Xr slowcgi 8 |
.Sh HISTORY |
.Sh HISTORY |
The |
The |