Setting Coldfusion in Ubuntu : Step 1

Setting up basic coldfusion environment in Ubuntu :: Step 1

saffrongeek@saffrongeek-laptop:~$ sudo gedit /etc/apache2/sites-available/cflocale

[ Note , I keep my webroot as Projects folder in the path. Please change the document root as yours accordingly.]
Paste the below and save..

<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName cflocale
ServerAlias *.cflocale
DocumentRoot /home/saffrongeek/Projects/cflocale

<Directory />
Options FollowSymLinks
AllowOverride None
<Directory /home/saffrongeek/Projects/cflocale/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory “/usr/lib/cgi-bin”>
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined

Alias /doc/ “/usr/share/doc/”
<Directory “/usr/share/doc/”>
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from ::1/128


saffrongeek@saffrongeek-laptop:~$ sudo a2ensite cflocale
Enabling site cflocale.
Run ‘/etc/init.d/apache2 reload’ to activate new configuration!
saffrongeek@saffrongeek-laptop:~$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2                                                                                                                              … waiting                                                                                                                                          [ OK ]


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: