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 71 and Version 72 of servers/setup-condensed


Ignore:
Timestamp:
Jun 25, 2010, 5:34:22 PM (12 years ago)
Author:
greg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • servers/setup-condensed

    v71 v72  
    293293}}}
    294294
     295'''Redirect port 80 traffic to secure port 443'''
     296Save the original default http file:
     297{{{# cd /etc/apache2/site-available
     298# mv default default.orig
     299}}}
     300
     301Creat a new default file:
     302{{{#vim default}}}
     303
     304Insert:
     305{{{<VirtualHost *:80>
     306        RewriteEngine   on
     307        RewriteCond     %{SERVER_PORT} ^80$
     308        RewriteRule     ^(.*)$ https://%{SERVER_NAME}$1 [L,R]
     309        RewriteLog      "/var/log/apache2/rewrite.log"
     310        RewriteLogLevel 2
     311</VirtualHost>}}}
     312
     313Save and exit. It's a good idea to double check the symbolic link to 000-default in /etc/apache2/sites-enabled
    295314
    296315== 3Ware RAID monitor ==