I installed yesterday Plesk 8.2 on my Debian 4.0 box... no problem ...
I am trying to install Subversion and Trac to manage developments for one of my customers. Using Plesk, I created :
domain: www.customer1.com and subdomain : trac.customer1.com
tested http://trac.customer1.com light on the traditionnal Plesk empty site panel.
Trac & Subversion installations have been done at root level (/var/svn/project1 and var/trac/project1)
Trac is running, tested with tracd --port 8000 /var/trac/project1 in console and http://mydevbox.org:8000/project1
BUT
then, if I try :
http://trac.customer1.com
I dont' see the Trac index page, but still the Plesk empty site panel.
SO, it seems to be an APACHE vhost issue
QUESTION :
where should I write the virtual host definitions for a sub-domain ? presently I wrote it in :
/var/www/vhosts/customer1.com/subdomains/trac/conf/vhost.conf
<VirtualHost *>
ServerAdmin [email protected]
ServerName trac.customer1.com
DocumentRoot /var/trac/project1
<Location />
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /var/trac/project1
PythonOption TracUriRoot /
PythonPath "sys.path + ['/var/trac/project1']"
</Location>
ErrorLog /var/log/apache2/error.trac.customer1.com.log
CustomLog /var/log/apache2/access.trac.customer1.com combined
..
</VirtualHost>
I also tried to write it in :
/etc/apache2/sites-available/trac.customer1.com
then enabled the site trac.customer1.com
but it doesn't change anything at all...
I cannot reach the Trac....
any help or URL link to a solution will be appreciated...
kad
I am trying to install Subversion and Trac to manage developments for one of my customers. Using Plesk, I created :
domain: www.customer1.com and subdomain : trac.customer1.com
tested http://trac.customer1.com light on the traditionnal Plesk empty site panel.
Trac & Subversion installations have been done at root level (/var/svn/project1 and var/trac/project1)
Trac is running, tested with tracd --port 8000 /var/trac/project1 in console and http://mydevbox.org:8000/project1
BUT
then, if I try :
http://trac.customer1.com
I dont' see the Trac index page, but still the Plesk empty site panel.
SO, it seems to be an APACHE vhost issue
QUESTION :
where should I write the virtual host definitions for a sub-domain ? presently I wrote it in :
/var/www/vhosts/customer1.com/subdomains/trac/conf/vhost.conf
<VirtualHost *>
ServerAdmin [email protected]
ServerName trac.customer1.com
DocumentRoot /var/trac/project1
<Location />
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /var/trac/project1
PythonOption TracUriRoot /
PythonPath "sys.path + ['/var/trac/project1']"
</Location>
ErrorLog /var/log/apache2/error.trac.customer1.com.log
CustomLog /var/log/apache2/access.trac.customer1.com combined
..
</VirtualHost>
I also tried to write it in :
/etc/apache2/sites-available/trac.customer1.com
then enabled the site trac.customer1.com
but it doesn't change anything at all...
I cannot reach the Trac....
any help or URL link to a solution will be appreciated...
kad