52 | | instance for each user, but it does not really help if you have |
53 | | several projects under the same site. In order to solve this under |
54 | | Linux Red Hat with Plesk, I did the following: |
| 52 | instance for each user, but it doesn't really help if you have |
| 53 | several projects under the same site, !SourceForge style. In order to |
| 54 | solve this under Linux Red Hat with Plesk, I did the following: |
99 | | #!/bin/bash |
100 | | project="${SCRIPT_NAME#/projects/}" |
101 | | export TRAC_ENV="/home/httpd/vhosts/DOMAIN/private/tracs/${project}" |
102 | | export SCRIPT_NAME="/projects/${project}" |
103 | | export PATH_INFO="${PATH_INFO#/${SCRIPT_NAME}}" |
104 | | exec ./trac.cgi |
| 99 | |
| 100 | #!/bin/bash |
| 101 | DOMAIN="trac.edgewall.com" |
| 102 | project="${SCRIPT_NAME#/projects/}" |
| 103 | export TRAC_ENV="/home/httpd/vhosts/${DOMAIN}/private/tracs/${project}" |
| 104 | export SCRIPT_NAME="/projects/${project}" |
| 105 | export PATH_INFO="${PATH_INFO#/${SCRIPT_NAME}}" |
| 106 | exec ./trac.cgi |