Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
systems:linux_migration [2018/01/15 09:43] smayr [Patches to Apply After Installation] |
systems:linux_migration [2018/05/02 11:41] (current) smayr [Test Page] |
* ''joomlausr'' for ''auditiva_joomla15_es'' (Auditiva website, Spanish). | * ''joomlausr'' for ''auditiva_joomla15_es'' (Auditiva website, Spanish). |
* ''joomlausr'' for ''auditiva_joomla15_en'' (Auditiva website, English). | * ''joomlausr'' for ''auditiva_joomla15_en'' (Auditiva website, English). |
| |
| |
=== Setup Apache === | === Setup Apache === |
| |
* Test webpage with PHP support: | ==== Test Page ==== |
* Create ''test.php'' in directory ''/var/www''. It should have this content: <code php><?php phpinfo(); ?></code> | Test webpage with PHP support: |
* Point browser to ''http://localhost/test.php'' or ''http://192.168.0.x/test.php'' (where x is the IP address of the new server). | * Create ''test.php'' in directory ''/var/www''. It should have this content: <code php><?php phpinfo(); ?></code> |
* Setup virtual hosts for apache: | * Point browser to ''http://localhost/test.php'' or ''http://192.168.0.x/test.php'' (where x is the IP address of the new server). |
* Create virtual host for ''audina.net''. Create or edit file ''default'' in ''/etc/apache2/sites-available'': <code> | |
| ==== Virtual Hosts ==== |
| Setup virtual hosts for apache. |
| |
| Create virtual host for ''audina.net''. Create or edit file ''default'' in ''/etc/apache2/sites-available'': |
| <code apache> |
<VirtualHost *:80> | <VirtualHost *:80> |
ServerAdmin webmaster@localhost | ServerAdmin webmaster@localhost |
</code> | </code> |
| |
* Create virtual host for ''auditiva.us''. Create file ''auditiva'' in ''/etc/apache2/sites-available'': <code> | Create virtual host for ''auditiva.us''. Create file ''auditiva'' in ''/etc/apache2/sites-available'': |
| <code apache> |
<VirtualHost *:80> | <VirtualHost *:80> |
ServerAdmin webmaster@localhost | ServerAdmin webmaster@localhost |
</VirtualHost> | </VirtualHost> |
</code> | </code> |
* Verify that ''AllowOverride None'' is commented out (add a ''#'' in front) for websites to take advantage of ''.htaccess'' overrides. | |
* Check that overrides work on these URLs: | Verify that ''AllowOverride None'' is commented out (add a ''#'' in front) for websites to take advantage of ''.htaccess'' overrides. |
* http://www.audina.net/techman | * Check that overrides work on these URLs: |
* http://www.audina.net/downloads/audigence | * http://www.audina.net/techman |
* Create link to file ''/etc/apache2/sites-available/auditiva'': <code> | * http://www.audina.net/downloads/audigence |
% cd /etc/apache2/sites-enabled | |
% ln -s ../sites-available/auditiva 001-auditiva | Create link to file ''/etc/apache2/sites-available/auditiva'': |
| <code bash> |
| $ cd /etc/apache2/sites-enabled |
| $ ln -s ../sites-available/auditiva 001-auditiva |
</code> | </code> |
| |