Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Installation  >  Linux  >  Thread
   
 
basic question about apache and tracks
 
wizard9999
Posted: 16 February 2007 03:56 AM   [ Ignore ]  
Newbie
Rank
Total Posts:  1
Joined  2007-02-16

I just got done installing tracks and have been very impressed with it so far.

Here is my question:

Lets say, I have a a website such as http://www.abcdefg.com

I want to be able to access the tracks app from outside by typing http://www.abcdefg.com/tracks

What do I need to do to apache2.conf to make it work?  Sorry, if its a basic question plus I am new to apache, ubuntu and tracks (all together). 

here is what the apache2.conf looks like right now (abcdefg.com is just an example):

<———- cut here———>

<VirtualHost *:80>
   
ServerName www.abcdefg.com
   ServerAlias abcdefg
.com
   DocumentRoot 
/var/www/abcdefg
   ErrorLog 
/var/log/apache2/abcdefg.com
</VirtualHost>

<
VirtualHost *:80>
  
ServerName rails
  DocumentRoot 
/var/www/tracks/public/
  
ErrorLog /var/www/tracks/log/server.log

  
<Directory /var/www/tracks/public>
    
Options ExecCGI FollowSymLinks
    AllowOverride all
    Allow from all
    Order allow
,deny
  
</Directory>
</
VirtualHost> 

<———- cut here———>

Thanks

-R

Profile
 
Reinier Balt
Posted: 16 February 2007 10:27 PM   [ Ignore ]   [ # 1 ]  
Sr. Member
RankRankRankRank
Total Posts:  580
Joined  2006-10-05

Virtualhost is use to filter on a subdomain, e.g. http://rails.abcdefg.com and not on paths like /tracks/

Try using Alias to point http://www.abcdefg/tracks to /var/www/tracks

Look at http://httpd.apache.org/ for examples.

(On fedora, the awstats package is installed using Alias. Perhaps you can look there for example config)

Good luck

Profile
 
   
 
 
‹‹ HOWTO: Install Tracks on Ubuntu or Debian      My one-line script for fast task entry ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.2 (20091002)
Script Executed in 0.0954 seconds

Atom Feed
RSS 2.0