Re: problem installing FUDForum under eGroupWare [message #23638 is a reply to message #23630] |
Thu, 24 March 2005 19:04 |
wolf
Messages: 3 Registered: March 2005
Karma:
|
Junior Member |
|
|
Hi/Re again.
paula, take a look below:
this is /inside/the/webserver/docroot:
sample1: /var/www/html/whatever - this is the webserver docroot
sample2: /home/xxxx/public_html/whatever - this is the webserver docroot
(depends on what server are u using: Windows, Linux etc.);
now the /outside/webserver/docroot/:
sample1: /var/www/
sample2: /home/xxxx/
As u can see, the last 2 directories are 'missing' on the second group of samples.
Take a look on this short explanation:
cp -a /var/www/html/egroupware/fudforum/crc32 (this is the 'files' created when u made your eGW installation) /path/to/files
or cp -a /home/xxxx/public_html/egroupware/fudforum/crc32
cd /path/to/files
chown -R nobody .
-OR-
chmod -R 777 .
http://yourhost.com/setup/ > Setup/Config > Edit Current Configuration
"Enter the full path for users and group files" => /path/to/crc32
FULL EXPLANATION
----------------
[REQUIRED] Copy egroupware/fudforum/crc32 to where you want to store the files.
THIS SHOULD BE SOMEWHERE NOT INSIDE THE WEBROOT AND NOT ACCESSIBLE TO THE WEB.
Having the files within the webroot is a huge security risk as well as a privacy concern.
The exception to this would be if you WANT the users' and groups' files to be accessible
from the web, such as when setting up public or semi-public web page/document hosting. In
this case, the files directory can be left where it is.
(Make sure you copy the directory, don't just make a new one. The necessary directories
are crc32/ and crc32/home/)
[REQUIRED] In http://yourhost.com/setup, login to Setup/Config, then Edit Current Configuration. Enter the FULL path for the files directory you created earlier in the second box from the top.
[REQUIRED] Change permissions for files directory and all it's subdirectories to be writable by Apache
This is the files directory you created earlier and specified in setup (Edit Current Configuration). Note that 'nobody' below could also be 'apache' on your system. Check the 'User' setting in your httpd.conf.
cd /path/to/crc32
chown -R nobody .
-OR-
chmod -R 777 .
If you can open an FTP session over SSH, you'll see the just copyied /./../crc32 outside your webserver docroot and will be something like this:
/var/www/crc32
or
/home/xxxx/crc32
Hope this helps somehow.
Regards,
wolf
|
|
|