Ubuntu server 12.04/apache2

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m
m
Line 3: Line 3:
 
apt-get install apache2 libapache2-mod-php5
 
apt-get install apache2 libapache2-mod-php5
 
</source>
 
</source>
 +
 +
Configuration is in <code>/etc/apache2</code>
 +
 +
===Setup sites===
 +
Add a site file in <code>/etc/apache2/sites-avaliable</code>.
 +
Enable the site by symlinking it into <code>/etc/apache2/sites-enabled</code>.

Revision as of 20:16, 2 May 2012

Configuring an Apache server

apt-get install apache2 libapache2-mod-php5

Configuration is in /etc/apache2

Setup sites

Add a site file in /etc/apache2/sites-avaliable. Enable the site by symlinking it into /etc/apache2/sites-enabled.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox