Re: Frontpage perils
- Original Message - From: "Nick Rogness" <[EMAIL PROTECTED]> To: "Mark" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, August 02, 2003 1:37 AM Subject: Re: Frontpage perils > On Fri, 1 Aug 2003, Mark wrote: > > > I just installed apache+mod_ssl-1.3.28+2.8.15 (FreeBSD 4.7R). Having > > some serious trouble integrating Frontpage 5, though. > > All you should have to do is: > > # cd /usr/ports/www/apache13-modssl && make install > # cd /usr/ports/www/mod_frontpage && make install Dear Nick, Thank you for your extended reply. I was out of town this weekend, else I would have gotten back to you earlier. > If all goes well you should have everything you need installed. Well, everything seems to be going well, at least, but does not. :) - asarian-host: {root} % make install Using: /usr/local/sbin/httpd Let's see if it's a valid httpd... YES! sbindir is /usr/local/sbin, trying to find apxs...Found! Config directory: /usr/local/etc/apache ... ===> Installing for mod_frontpage-1.6.2 ===> mod_frontpage-1.6.2 depends on file: /usr/local/frontpage/version5.0/set_default_perms.sh - found /usr/local/sbin/apxs -i -a -n 'frontpage' mod_frontpage.so [activating module `frontpage' in /usr/local/etc/apache/httpd.conf] cp mod_frontpage.so /usr/local/libexec/apache/mod_frontpage.so chmod 755 /usr/local/libexec/apache/mod_frontpage.so cp /usr/local/etc/apache/httpd.conf /usr/local/etc/apache/httpd.conf.bak cp /usr/local/etc/apache/httpd.conf.new /usr/local/etc/apache/httpd.conf rm /usr/local/etc/apache/httpd.conf.new /usr/bin/install -m 4550 -o root -g nobody fpexec /usr/local/sbin/fpexec /usr/bin/install -m 0555 -o root -g nobody fpstatic /usr/local/sbin/fpstatic - No errors reported, and it seems to have installed just fine; it says I have a valid httpd, and httpd.conf has been changed to contain these two lines: LoadModule frontpage_module libexec/apache/mod_frontpage.so AddModule mod_frontpage.c And those files exist in the right place. All as expected. Then I try and start the httpd daemon: - asarian-host: {root} % /usr/local/sbin/httpd -DSSL Syntax error on line 5 of /usr/local/etc/apache/httpd.conf: Invalid command 'FrontPageEnable', perhaps mis-spelled or defined by a module not included in the server configuration - Eh? "FrontPageEnable" should be available when mod_frontpage has loaded. And mod_ssl, in case you wondered, works fine by itself. And, unfortunately, /var/log/httpd-error.log has no error-messages for this occasion. So, what am I missing again? "suexec" (which I believe is mandatory), is compiled in too: - asarian-host: {root} % /usr/local/sbin/httpd -l Compiled-in modules: http_core.c mod_so.c suexec: enabled; valid wrapper /usr/local/sbin/suexec - If you have any suggestions left, I will gladly hear them. :) Thanks! - Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Frontpage perils
On Tue, 5 Aug 2003, Mark wrote: [SNIP] > No errors reported, and it seems to have installed just fine; it says I > have a valid httpd, and httpd.conf has been changed to contain these two > lines: > > LoadModule frontpage_module libexec/apache/mod_frontpage.so > AddModule mod_frontpage.c > > And those files exist in the right place. All as expected. Then I try > and start the httpd daemon: > > - > asarian-host: {root} % /usr/local/sbin/httpd -DSSL > Syntax error on line 5 of /usr/local/etc/apache/httpd.conf: > Invalid command 'FrontPageEnable', perhaps mis-spelled or defined by a > module not included in the server configuration > - > > Eh? "FrontPageEnable" should be available when mod_frontpage has loaded. And > mod_ssl, in case you wondered, works fine by itself. And, unfortunately, > /var/log/httpd-error.log has no error-messages for this occasion. > > So, what am I missing again? "suexec" (which I believe is mandatory), is > compiled in too: > > - > asarian-host: {root} % /usr/local/sbin/httpd -l > Compiled-in modules: > http_core.c > mod_so.c > suexec: enabled; valid wrapper /usr/local/sbin/suexec > - > > If you have any suggestions left, I will gladly hear them. :) Thanks! Make sure the mod_fronpage directives aren't surrounded by some blocks that aren't being loaded. Line #5 is where the error is? What does your httpd.conf file look like? I'm not sure about ordering but I would move any Frontpage stuff to the bottom of your file after the Load/AddModule directives. Don't know for sure if httpd.conf gets processed in a linear fashion or not. BTW, you should be using apachectl to start/stop/restart httpd. 'apachectl startssl' (Not that it matters much). Nick Rogness <[EMAIL PROTECTED]> - How many people here have telekenetic powers? Raise my hand. -Emo Philips ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SOLVED! (was: Re: Frontpage perils)
- Original Message - From: "Mark" <[EMAIL PROTECTED]> To: "Nick Rogness" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, August 05, 2003 10:48 PM Subject: Re: Frontpage perils > - Original Message - > From: "Nick Rogness" <[EMAIL PROTECTED]> > To: "Mark" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Saturday, August 02, 2003 1:37 AM > Subject: Re: Frontpage perils > > > On Fri, 1 Aug 2003, Mark wrote: > > > > > I just installed apache+mod_ssl-1.3.28+2.8.15 (FreeBSD 4.7R). > > > Having some serious trouble integrating Frontpage 5, though. Sometimes I am such an idiot. :) I had placed these commands at the top of httpd.conf: FrontPageEnable FrontPageAdminDisable Which was not wise. :) Until, tonight, it finally dawned on me that these command are not recognized, because mod_frontpage has, at that point, not been loaded yet! I moved them after mod_frontage has loaded, and now everything works as expected. :) Thanks anyway for the trouble Nick, and the useful shortcut to using the fp_install.sh script. - Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Frontpage perils
On Fri, 1 Aug 2003, Mark wrote: > I just installed apache+mod_ssl-1.3.28+2.8.15 (FreeBSD 4.7R). Having > some serious trouble integrating Frontpage 5, though. I installed the > package, and it seemingly integrated just fine: > > lynx --head --source http://asarian-host.net:90/overview.html > > Server: Apache/1.3.28 (Unix) FrontPage/5.0.2.2623 PHP/4.3.1 > mod_ssl/2.8.15 OpenSSL/0.9.6g mod_perl/1.26 > > So far, so good; then I ran the install script: > > asarian-host: {root} % /usr/local/frontpage/version5.0/fp_install.sh > > > Step 3. Upgrading/Installing the extensions > > Checking for previous versions of FrontPage Server Extensions to upgrade... > You have an older version of FrontPage Server Extensions installed > (4.0). Would you like to migrate these settings to version 5.0 now (y/n) > [Y]? > > Checking for existing web servers to upgrade... > > Existing web servers were found; do you want to upgrade them now? (If > you answer "no", you can safely run this script again and answer "yes" > to upgrade your servers later.) > > Upgrade now (y/n) [Y]? y > > All existing servers will now be upgraded: > > Upgrading using configuration file: > /usr/local/frontpage/someone.asarian-host.net:80.cnf > Verifying web server configuration... > This version of FrontPage Server Extensions does not suppport > apache servers. We only support patched apache servers. > > > Say what? :) Does not support apache servers? Then what have I been > compiling for, the last half day? I must be missing some step in the > process. Does anyone know what I am doing wrong? > All you should have to do is: # cd /usr/ports/www/apache13-modssl && make install # cd /usr/ports/www/mod_frontpage && make install If all goes well you should have everything you need installed. I personally don't use the fp_install.sh script...I think it sucks. If I need to install frontpage extentions on a website I do the following: 1) Add the VirtualHost to the main httpd.conf file (must be in the main httpd.conf file): ServerName www.domain.com ServerAlias domain.com DocumentRoot /home/jim/public_html UserDir disabled 2) Install extensions with the owsadm.exe tool (execute the line wrap): # cd /usr/local/frontpage/version5.0/bin # ./owsadm.exe -o install -u jimfpuser -p 80 \ -m "www.domain.com" \ -servconf "/usr/local/etc/apache/httpd.conf" \ -xuser jim 3) Restart apache: # apachectl restart It should prompt you for a password...which is the FRONTPAGE password for the FRONTPAGE user 'jimfpuser' as seen above. jimfpuser doesn't need to exist anywhere on the systemm, but you will need to use it with the frontpage client to connect to www.domain.com. Now, there are some gotcha's with frontpage. First off, make sure the owner and group owner of files located in the /home/jim/* directories are above uid=100 and gid=100. Make sure the user jim is created in the unix system password file and his home dir and public_html dir exist or this will fail. Make sure mod_frontpage is running. If you installed in the order above, mod_frontpage may only be loaded when mod_ssl is loaded ('apachectl startssl'). I'm only touching the brim of problems with frontpage... Finding complete documentation on the frontpage owsadm.exe command blows. You will have to experiment or visit microsoft.com and try to interpret their ramblings. I will also gladly try to answer any questions if I know the answer. Nick Rogness <[EMAIL PROTECTED]> - How many people here have telekenetic powers? Raise my hand. -Emo Philips ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"