Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Oct 1998 14:43:38 -0500
From:      "David L. Vondrasek" <dallas.tx@airmail.net>
To:        "imran@orangenet.co.uk" <imran@orangenet.co.uk>, "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: FrontPage Extensions
Message-ID:  <m0zRiNS-0003gqF@mail.airmail.net>
In-Reply-To: <01BDF3BB.7AEBCE70.imran@orangenet.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
At 07:31 PM 10/9/98 +0100, Imran Aslam wrote:
>Can Some one please help me.....
>
>I have currently set up the Frontpage Server Extensions using the FREEBSD 
>Patch in the ports section.
>It works fine,apart from the fact that I can not figure out how to create 
>subwebs....
>
>ie. I have a root web called http://cww.orangenet.co.uk and I need to 
>create sub webs for this.i.e.:
>
>http://cww.orangenet.co.uk/username
>
>What I would like to do is set this root web up so that the user types in 
>their username and password to author the site and when they publish to the 
>site it will publish straight into their directory...i.e username.
>
>At present when I try to up load to the front page server I am asked for 
>the root web user name and password......
>
>Can it be done so that each user has their own user name and password to 
>upload to the root web, if so can some one help me to correct this 
>problem..
>

>From the best support pages I have found yet :


http://www.rtr.com/fpsupport/faq98i.htm#steps


How do I create a per-user web with FP98 extensions?

     You have two options for installing per-user webs, fpsrvadm.exe or
fp_install.sh.   Here are the steps for each. 
     Your input will be in purple, the script output will be in black, and
comments will be green.  These steps assume
     that you have already installed a root web.

     bash#  cd /usr/local/frontpage/version3.0/bin
     bash#  fp_install.sh

     Step 1. Setting Up Installation Environment
     Setting umask 002
     Logged in as root.
     fp_install.sh
     Revision: 1.43 
     Date: 1997/10/19 

     This script will step the user through upgrading existing and 
     installing  new servers and webs. As with any software installation, 
     a backup should be done before continuing. It is recommended that 
     the FrontPage installation directory, server configuration file 
     directory, and all web content be backed up before continuing 
     with this installation.

     Are you satisfied with your backup of the system (y/n) [N]? y

     Directory /usr/local exists.
     Root has necessary access to /usr/local.
     Where would you like to install the FrontPage Extensions. If 
     you select a location other than /usr/local/frontpage/ then 
     a symbolic link will be created from /usr/local/frontpage/ 
     to the location that is chosen.

     FrontPage Extensions directory
[/usr/local/frontpage/]:/usr/local/frontpage 

     WARNING: Directory /usr/local/frontpage already exists.

     Installation will overwrite existing files.

     Continue the installation (y/n) [N]? y

     Step 2. Untarring the Extensions and Checking Protections
     Version 3.0 FrontPage Server Extensions found.
     Would you like to overwrite? (y/n) [Y]? n


     No need to un-tar the extensions. Continuing...

     Step 3. Upgrading/Installing the extensions

     Checking for existing web servers to upgrade...
     Existing web servers were found.
     You can upgrade them later by re-running fp_install.sh and
     answering yes to the following question.

     Would you like to upgrade them now (y/n) [Y]? n

     For details on how to upgrade servers manually, please see
     the Server Extension Resource Kit (SERK), located in
     /usr/local/frontpage/version3.0/serk

     Note: If you have not installed the root web then you need 
     to do it now.

     Do you want to install a root web (y/n) [Y]? n

     Install new sub/per-user webs now (y/n) [Y]? y

     You need to specify which server to install the subweb into.
     Examples:
                 80
                 www.virtual.web:80

     where 80 is the port the server is running on.

     Which server would you like to install the subweb into: 80


     Using FrontPage Configuration File: /usr/local/frontpage/we80.cnf


     Getting DocumentRoot and UserDir.
     Found Directive ResourceConfig, value conf/srm.conf
     Getting DocumentRoot from /usr/local/etc/httpd/conf/srm.conf
     Getting UserDir from /usr/local/etc/httpd/conf/srm.conf

     DocumentRoot: /usr/local/etc/httpd/htdocs.
     UserDir: public_html

     Enter the web name (CTRL-D if no more webs): ~testuser
     FrontPage Administrator's user name: admin

     Web ~testuser is a per-user web

     Group of this new web:[www] 
     installing server ~testuser on port 80

     Will chown per-user web to testuser as part of install.
     Will chgrp per-user web to www as part of install.

     Starting install, port: 80, web: "~testuser"


     FrontPage server extensions already installed on port 80.
     Reverting to upgrade.

     Starting upgrade, port: 80, web: "~testuser"

     Version: 3.0.2.1117
     Created: 20 Oct 1997 00:05:01 -0400
     Chowning Content in service ~testuser

     Starting security, port: 80, web: "~testuser"

     Version: 3.0.2.1117  

     Created: 20 Oct 1997 00:05:01 -0400
     Enter user's password: password
     Confirm password: password
     Port 80:: User "admin" and IP address "" added to administrators for
web "~testuser"
     Enter the web name (CTRL-D if no more webs): ^D
     Installing Virtual Webs..

     Do you want to install Virtual Webs (y/n) [Y]? n

     Installation completed! Exiting... 

     For those of you who would rather use fpsrvadm.exe here is a sample of
how to install a per-user web. (Including
     a problem introduced due to the shell the command was executed within.)

     bash# fpsrvadm.exe -o install -p 80 -web ~gail

     Starting install, port: 80, web: "/pub/gail"
     Creating web /pub/gail
     Invalid character in web name "/pub/gail": (0x2f).

     The bash shell interprets the ~ and causes the invalid character
error.  If you escape the ~,  fpsrvadm.exe then
     recognizes that you are attempting to install a per-user web.   Please
also note, that since you already have a
     we80.cnf file you do not need to tell fpsrvadm.exe which configuration
file to use.

     bash# fpsrvadm.exe -o install -p 80 -web \~gail

     Starting install, port: 80, web: "~gail"
     Creating web ~gail
     Recalculate links for web ~gail
     Install completed.

     This created a web for Gail in her home directory under
/home/gail/public_html.



>
>Thanks Alot.....
>
>Imran Aslam
>
>                               \\\///
>                             / _  _ \
>                            (| (.)(.) |)
>-----------------.OOOo--()--oOOO.---------------------------------------  
>----
>---------------------
>Imran Aslam   --    OrangeNET Ltd	Web Site: http://www.orangenet.co.uk
>
>Systems Administrator
>
>4 Park Royal Metro Centre	Voice 	:  +44 181 9306270 Ext 207
>Britannia Way, Park Royal	Fax 	:  +44 181 4531822
>London, NW10 7PA           	E-mail 	:  mailto:imran@orangenet.co.uk
>------------------------------------------------------------------------  
>----
>-----------------------------
>-----------------------.oooO--------------------------------------------  
>----
>--------------------------
>                            (      )   Oooo.
>                             \    (    (       )
>                               \_)     )    /
>                                       ( _  /
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
> 
David L. Vondrasek                         			dallas.tx@airmail.net


http://web2.airmail.net/davidvon




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0zRiNS-0003gqF>