From: Mike N. <mh...@us...> - 2002-09-20 00:06:58
|
On Thu, 2002-09-19 at 13:01, ja...@tu... wrote: > One note about this. If you use the security access stuff you will break > your SF needed info in the htaccess. I will need to add a custom options > to htaccesswrite so this will be prevented. So you will need to set it in > phpwebsite under security later. Jeremy, Thanks for the information. If I understand you correctly, Apache will need write permission on the .htaccess file for the security access stuff to work properly. ** Begin HOWTO draft 2 ** Things you'll need: Fallout Tarball (2002-09-17) http://phpwebsite.appstate.edu/downloads/fallout/fallout.tar.gz PEAR libs http://phpwebsite.appstate.edu/downloads/pear/pear-4.1.0.tar.gz Instructions: Download the required files to your project directory. Untar them, and move the contents to your htdocs directory. Create a tmp directory in your project directory. Modify your .htaccess file in htdocs (see example below). $ ssh -l yourname shell.sf.net $ cd /home/groups/y/yo/yourproject $ wget http://phpwebsite.appstate.edu/downloads/fallout/fallout.tar.gz $ wget http://phpwebsite.appstate.edu/downloads/pear/pear-4.1.0.tar.gz $ tar xvzf fallout.tar.gz $ tar xvzf pear-4.1.0.tar.gz $ mv fallout/* htdocs $ mv pear-4.1.0/* htdocs $ mkdir tmp $ cd htdocs $ vi .htaccess php_value arg_separator.output "&" php_value include_path ".:/home/groups/y/yo/yourproject/htdocs:/usr/local/lib/php" php_value session.save_path "/home/groups/y/yo/yourproject/tmp" Using your web browser, open the following url and follow the instructions provided. http://yourproject.sf.net/setup/setup.php When phpWS informs you that it doesn't have permission to write to your htdocs directory, select save a local copy of config.php. Then, create a config.php file in your project htdocs directory, and copy the contents of the local config.php to the one on SourceForge. $ touch config.php $ chmod 600 config.php $ vi config.php <paste in local config.php contents> Now you need to open a support request with the SourceForge staff. You need them to change group ownership and permissions on: .htaccess, config.php, images directory, and tmp directory. Submit New SF SR https://sourceforge.net/tracker/?func=add&group_id=1&atid=200001 Sample SF SR: Category: Project Administration Summary: Administrative request Detailed Description: Project: yourprojectname Please perform the following administrative actions. Thanks. # cd /home/groups/y/yo/yourproject/htdocs # chgrp nfsnobody .htaccess # chgrp nfsnobody config.php # chgrp -R nfsnobody images # chgrp nfsnobody ../tmp # chmod 660 .htaccess # chmod 640 config.php # chmod 2770 ../tmp # find ./images -type d -exec chmod 2775 {} \; # find ./images -type f -exec chmod 0660 {} \; ref. "Guide to Project Web Hosting Services" section Security paragraph two https://sourceforge.net/docman/display_doc.php?docid=4297&group_id=1 After you receive notification this task is complete, open the phpWS setup page in your browser, and finish the installation. http://yourproject.sf.net/setup/setup.php Acknowledgments: I thank Adam Morton, and Jeremy Agee for their assistance in this documents creation. -- Mike Noyes <mh...@us...> http://sourceforge.net/users/mhnoyes/ http://leaf-project.org/ |