apache2 and SGD server
I have been running apache2 on solaris 11 b55b to serve static and PHP pages under SSL. I built PHP to run with the apache2 in /var/apache2 and apache2 is running using SMF. Tomcat 6 is also using SMF. I have turned the SGD server into SMF service and it works very well.
The problem is getting SGD to be served under the apache2. I have followed the directions to do so, but am having trouble getting it to work. I do not want to run two webservers on this machine and do not want to recompile PHP to use apache1. I am on a DHCP network, so cannot set-up a separate zone with a different IP address.
For tomcat, I copied the users workers.properties from the SGD server to the apache2 workers.properties. I have copies the applications from SGD/tomcat to my tomcat6 webapps home. The permissions are the same as they are from the SGD/tomcat. I get the following errors now when trying to access sgd from the local host:
'You don't have permission to access /tarantella on this server.' Same errors for 'sgd'.
From my httpd.conf:
JkMount /pathto/tomcat6/webapps/axis axis
JkMount /pathto/tomcat6/webapps/axis/* axis
JkMount /pathto/tomcat6/webapps/sgd tta
JkMount /pathto/tomcat6/webapps/sgd/* tta
JkMount /pathto/tomcat6/webapps/examples/* examples
<IfModule mod_jk.c>
JkWorkersFile /pathto/workers.properties
JkLogFile /pathto/logs/mod_jk.log
JkLogLevel error
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkRequestLogFormat "%w %V %T"
JkOptions +ForwardURICompatUnparsed
JKAutoAlias /pathto/tomcat6/webapps
<Directory "/pathto/tomcat6/webapps/">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
JkMount /pathto/tomcat6/webapps/* ajp13
Alias /sgd /pathto/tomcat6/webapps/sgd
ScriptAlias /tarantella/cgi-bin /opt/tarantella/var/docroot/cgi-bin
Alias /tarantella /opt/tarantella/var/docroot
<Directory /opt/tarantella/var/docroot>
Options FollowSymLinks
AllowOverride AuthConfig
</Directory>
From the mod_jk logs this error is repeating:
[Fri May 25 13:52:30 2007] [26275:0001] [error] jk_child_init::mod_jk.c (2594): Attaching shm:/usr/apache2/logs/jk-runtime-status errno=2
Any suggestions as to how to get SGD to work with apache2 and tomcat6 would be very much appreciated.
thanks