Question is about the post-install apache
permissions
This is something that I believe needs to be added to the
main documentation for FreeBSD users, mainly for Jr. Administrators that are
not as savvy as Senior Unix guys. : )
I have seen many questions on this topic but nothing very
accurate and concrete. Hopefully by many users adding their input to this post “we”
can submit this to the OTRS guys.
Software and minimum requirements
FreeBSD 5.3 everything is updated
and current including CVSUP, ports etc.
Apache 2.0.54 (default user group is
www instead of the wwwrun like older versions.)
MySQL 5.0.6
Perl 5.8.6_2
Mod Php
4-4.3.11_1
CPAN modules
I installed all CPAN modules from the CPAN shell, and also from the BSD
ports directories everything worked good, and checked out fine! To make sure I
ran the following script!
I move to the /opt/otrs/bin/ directory
and performed the “otrs.checkModules”
script, everything is okay except for Net::LDAP which
is not required.
(If this is please let me know.)
**** ”$shell” would be replaced by
your shell prompt!
Check if all needed modules are installed:
------------------------------------------
$shell:~> perl -cw /opt/otrs/bin/cgi-bin/index.pl
/opt/otrs/bin/cgi-bin/index.pl syntax OK
$shell:~> perl -cw /opt/otrs/bin/PostMaster.pl
/opt/otrs/bin/PostMaster.pl syntax OK
$shell:~>
everything came back just fine
with the ok!
Create User
I created a user named “otrs”,
his home dir, is located in /opt/otrs
Change the webserver
user
*) Change the webserver user (normaly wwwrun) to the OTRS user (otrs).
[...]
User wwwrun
[...]
User otrs
[...]
***By default under Apache2 you will have to use
the the www user it no longer supports the wwwrun by default any longer. This is to my understanding.
Permissions on web server
**this may be where my issue lies.
QUICK FYI
Documentation example::
bserver with wwwrun user (e. g. SuSE): "SetPermissions.sh /opt/otrs otrs wwwrun"
Webserver
with www user (FreeBSD) SetPermissions.sh /opt/otrs otrs www
Finally
The
error logs say client denied by server????????
When
I go to run the index.pl or the installer.pl I get the following:::
You don't
have permission to access /otrs/index.pl on this server.
Please help if there is someone that knows anything more!