close Warning: Can't synchronize with repository "(default)" (/usr/svn/silverfile does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 72 and Version 73 of servers/setup-condensed


Ignore:
Timestamp:
Jun 25, 2010, 6:04:40 PM (12 years ago)
Author:
greg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • servers/setup-condensed

    v72 v73  
    294294
    295295'''Redirect port 80 traffic to secure port 443'''
     296
    296297Save the original default http file:
    297 {{{# cd /etc/apache2/site-available
     298{{{
     299# cd /etc/apache2/site-available
    298300# mv default default.orig
    299301}}}
    300302
    301303Creat a new default file:
    302 {{{#vim default}}}
     304{{{
     305#vim default
     306}}}
    303307
    304308Insert:
    305 {{{<VirtualHost *:80>
     309{{{
     310<VirtualHost *:80>
    306311        RewriteEngine   on
    307312        RewriteCond     %{SERVER_PORT} ^80$
     
    309314        RewriteLog      "/var/log/apache2/rewrite.log"
    310315        RewriteLogLevel 2
    311 </VirtualHost>}}}
    312 
    313 Save and exit. It's a good idea to double check the symbolic link to 000-default in /etc/apache2/sites-enabled
     316</VirtualHost>
     317}}}
     318
     319Save and exit. Restart apache. It's a good idea to double check the symbolic link to 000-default in /etc/apache2/sites-enabled
    314320
    315321== 3Ware RAID monitor ==