Date: Fri, 24 Dec 1999 23:55:29 -0700 From: "J.C. Frazier" <wolfman@csocs.com> To: dan@freebsddiary.org Cc: freebsd-isp@FreeBSD.ORG Subject: Re: FP extensions installed Message-ID: <38646A61.C5F5A4C5@csocs.com> References: <004401bf4cdb$1545ada0$8dfee0d1@westbend.net> <199912250447.RAA63378@ducky.nz.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Dan Langille wrote: > Things seem to be going well. I'm still not sure what the original > problem was. But I have found an interesting situation. If I use > fpsrvadm to enable FP Extensions on a website, apache stops running. > > ./fpsrvadm.exe -o install -t apache-fp -s /usr/local/etc/apache/httpd.conf > -p 80 -m racing.unixathome.org -u racing -p racing > -xu susan -wg www > > Checking the logs I find: > > [Sat Dec 25 17:40:51 1999] [notice] SIGHUP received. Attempting to > restart > Syntax error on line 1275 of /usr/local/etc/apache/httpd.conf: > Invalid command '<SRMOptions>', perhaps mis-spelled or defined by a > module not included in the server configuration > > Checking httpd.conf, I find this under the Virtual host which I just > referenced above: > > <SRMOptions> > ScriptAlias /_vti_bin/_vti_adm/ /www/racing/_vti_bin/_vti_adm/ > ScriptAlias /_vti_bin/_vti_aut/ /www/racing/_vti_bin/_vti_aut/ > ScriptAlias /_vti_bin/ /www/racing/_vti_bin/ > </SRMOptions> This happens when mod_frontpage (the apache patch) isn't used. What it looks like to me is that during installation you chose option 2 (apache) instead of option 3 (apache-fp). Apache-fp doesn't need these aliases because all executables are stored in one main directory and requests are dealt with by mod_frontpage case by case and sent to the right place. If you install the extensions without mod_frontpage then those aliases must be there to direct the requests (POST, GET, etc) to your private FP directories in each virtual web. (very insecure also and uses a lot more space if you have a lot of FP customers each with their own executables.) Try using fpsrvadm without the -t option if you know you have installed it correctly. It will revert to the way you installed it without modifications in that case. My guess is that fpsrvadm is confused with the -t option. I run the same version and have no problem with that. Also, try running fpsrvadm without any options once. It will give you a list of options and walk you through the process. Hope this helps. J.C. Frazier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38646A61.C5F5A4C5>