[pastebot-cvs] pastebot README,1.9,1.10
Status: Beta
Brought to you by:
rcaputo
From: <rc...@us...> - 2003-12-22 05:29:18
|
Update of /cvsroot/pastebot/pastebot In directory sc8-pr-cvs1:/tmp/cvs-serv31728 Modified Files: README Log Message: Apply Jeremy Mates' documentation patches. He expanded upon the Apache proxypass documentation and documented another error message. This should get more pastebots on port 80 where they belong. :) Index: README =================================================================== RCS file: /cvsroot/pastebot/pastebot/README,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** README 31 Oct 2003 16:35:12 -0000 1.9 --- README 22 Dec 2003 05:29:14 -0000 1.10 *************** *** 42,51 **** Apache users can use ProxyPass to map a directory on their port-80 ! servers to a running pastebot. This feature requires Apache be built ! with proxy support. Create a virtual location for the proxy directory. ! <Location /pastebot/> Order allow,deny Allow from all --- 42,58 ---- Apache users can use ProxyPass to map a directory on their port-80 ! servers to a running pastebot. This feature requires Apache be built ! with both mod_proxy and mod_proxy_add_forward.c support, and that the ! add forward module come before the proxy module: ! ! ./configure --enable-module=proxy \ ! --activate-module=src/modules/extra/mod_proxy_add_forward.c \ ! --enable-module=proxy_add_forward \ ! --permute-module=proxy:END \ ! ... Create a virtual location for the proxy directory. ! <Location /pastebot> Order allow,deny Allow from all *************** *** 58,67 **** ProxyPass /pastebot/ http://127.0.0.1:8000/ ! Now people can use pastebot on port 80. Be sure to set the 'iname' configuration flag in the pastebot.conf web_server configuration section ! to hide the internal host/port values. ! Be sure to set the "iname" option to point to your Apache server ! rather than the pastebot server directly. ------ --- 65,77 ---- ProxyPass /pastebot/ http://127.0.0.1:8000/ ! Now people can use pastebot on port 80. Be sure to set the 'iname' configuration flag in the pastebot.conf web_server configuration section ! to hide the internal host/port values. Also be sure to set the proxy ! parameter: ! web_server ! ... ! proxy 127.0.0.1 ! iname http://example.org/pastebot/ ------ *************** *** 81,84 **** --- 91,119 ---- without installing a module it in turn needs. You'll need to install [some module] manually. + + * <something> section <name> is redefined at ## + + This error looks something like: + + pastes section pbtest is redefined at 68 + Compilation failed in require at Server/Web.pm line 18, <MPH> line 85. + BEGIN failed--compilation aborted at Server/Web.pm line 18, <MPH> line 85. + Compilation failed in require at ./pastebot.perl line 9, <MPH> line 85. + BEGIN failed--compilation aborted at ./pastebot.perl line 9, <MPH> line 85. + + To fix, update the pastebot.conf to use different names for the + different sections: + + web_server + name poenet + ... + + irc + name efnet + ... + + pastes + name neitherpoenetnorefnet + ... ------- |