Hi all,
I am trying to install trac on oracle unbreakable linux which is a
redhat entreprise 5 distribution.
I am really struggling with the port configuration for the ajp
gateway.
I followed the following tutorial: http://trac.edgewall.org/wiki/TracOnRhel5
When i try to go on https://10.0.10.25 (my ip) this works fine the
apache is running.
By the way i chose port 2001 because ports lower than 1024 give errors
everytime !
so any help is appreciated.
regards,
Carl
the files that are not here remained in their default state
and here is the content of the files they told me to create:
*****THIS IS AT THE END OF MY HTTPD.conf file
<VirtualHost 10.0.10.25:443>
ServerName IMGDEVTEST:443
ServerAdmin [email protected]
DocumentRoot /home/trac/public_html
CustomLog logs/trac.example.org_log combined
ErrorLog logs/trac_error_log
<IfModule mod_ssl.c>
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/trac.example.org.crt
SSLCertificateKeyFile /etc/pki/tls/certs/trac.example.org.key
#SSLCACertificateFile /etc/pki/tls/certs/A_CA_CERT.crt
</IfModule>
# Security restrictions.
<Location />
# Require password authentication via LDAP.
#AuthType basic
#AuthName "Trac"
#AuthBasicProvider ldap
#AuthLDAPURL ldap://localhost/dc=example,dc=org
#AuthLDAPGroupAttribute memberUID
#AuthLDAPGroupAttributeIsDN off
#require ldap-group
cn=devel,ou=Groups,dc=example,dc=org
#Order Allow,Deny
#Allow from staff.example.org
</Location>
# Trac runs as a daemon inside the 'trac' account.
# It is written in Python, however there is a
# AJP <-> WSGI gateway that handles the requests on
# a per project basis.
Redirect /support-dev https://10.0.10.25/support-dev/
ProxyPass /support-dev/ ajp://localhost:2001/support-dev/
ProxyPassReverse /support-dev/ ajp://localhost:2001/support-dev/
</VirtualHost>
****This is the trac_server_wrapper file ********
#! /bin/bash
#
# Wrapper script to start a trac server for multiple environments.
export PYTHONPATH=$HOME/lib/python
trac_project()
{
local trac_env=$1
local path_prefix=$2
local port=$3
local status=42
while test $status -eq 42; do
$HOME/bin/ajp_to_wsgi_gateway "$trac_env"
"$path_prefix" $port
status=$?
done &
}
# Individul project servers.
trac_project $HOME/projects/support-dev /support-dev 2001
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---