<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>var/log &#187; configurating</title>
	<atom:link href="http://www.varslashlog.com/tag/configurating/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.varslashlog.com</link>
	<description>Yet another weblog</description>
	<lastBuildDate>Sat, 12 Sep 2009 13:34:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Trac setup with subdomain in a plesk environment</title>
		<link>http://www.varslashlog.com/2008/10/28/trac-setup-with-subdomain-in-a-plesk-environment/</link>
		<comments>http://www.varslashlog.com/2008/10/28/trac-setup-with-subdomain-in-a-plesk-environment/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 11:19:39 +0000</pubDate>
		<dc:creator>Aleks</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[configurating]]></category>
		<category><![CDATA[nix]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[subdomain]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://www.varslashlog.com/?p=31</guid>
		<description><![CDATA[One thing I&#8217;ve noticed about tutorials regarding the config of apache towards trac in a plesk environment are rather lacking. I&#8217;ll use this short guide to show an easy method of adding the plesk interface as a python module of apache.
The installation of trac is an easy if you got the correct access. Anyhow will [...]]]></description>
			<content:encoded><![CDATA[<p>One thing I&#8217;ve noticed about tutorials regarding the config of apache towards trac in a plesk environment are rather lacking. I&#8217;ll use this short guide to show an easy method of adding the plesk interface as a python module of apache.<span id="more-31"></span></p>
<p>The installation of trac is an easy if you got the correct access. Anyhow will I not go through the install process in this guide, but you can find a tutorial on doing that at the trac home page.</p>
<p>When you got plesk installed you should have  you subdomains as virtual hosts. This should be installed automatic from your plesk admin panel.</p>
<p>Lets say your site is named example.tld and your subdomain named trac.</p>
<blockquote><p>Site name: example.tld<br />
Sub domain: trac</p></blockquote>
<p>Now log into a SSH client and navigate to the trac subdomain folder</p>
<p># cd /var/www/vhosts/example.tld/subdomains/trac/</p>
<p>As we just can&#8217;t put the project files from trac into the htdocs folder just make a project in this folder so you got a sub folder &#8220;project&#8221; in the trac directory (or another place).</p>
<p>When you&#8217;ve got your project folder in place you are ready to setup the trac for your subdomain. In the subdomain folder locate the folder &#8220;conf&#8221;. This folder will locate a file that extend the apache configuration, vhost.conf &#8211; If not, vi will create it</p>
<blockquote><p>#vi vhost.conf</p></blockquote>
<p>Not much configuration necessary here. Add this information (replace the example.tld and path with your environment. And myproject with your project folder for the www-path)</p>
<blockquote><p>&lt;Location /myproject&gt;<br />
SetHandler mod_python<br />
PythonInterpreter main_interpreter<br />
PythonHandler trac.web.modpython_frontend<br />
PythonOption TracEnv /var/www/vhosts/example.tld/subdomains/trac/project/<br />
PythonOption TracUriRoot /myproject<br />
SetEnv PYTHON_EGG_CACHE /tmp/cache<br />
&lt;/Location&gt;</p></blockquote>
<p>Now restart the apache web server and you are good to go</p>
<blockquote><p>#service httpd restart<br />
or<br />
#/etc/rc.d/httpd (or apache) restart</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.varslashlog.com/2008/10/28/trac-setup-with-subdomain-in-a-plesk-environment/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
