Hey all,
I am following instructions on how to deploy rails application on server.
I did the following:
sudo gem install passenger
passenger-install-apache2-module
Everything is successful so far. But next on instruction he uses:
nano /etc/apache2/sites-enabled/000-default
Problem is there is no apache2 directory in etc. Therefore, I have no clue where the file I need to stick this information is:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName www.mywebsite.com
DocumentRoot /var/www/mywebsite/public
<Directory /var/www/mywebsite/public>
Options Indexes FollowSymLinks -MultiViews
AllowOverride all
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
</VirtualHost>
Thanks for any response.