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.
- Timestamp:
-
Jun 25, 2010, 6:04:40 PM (13 years ago)
- Author:
-
greg
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v72
|
v73
|
|
294 | 294 | |
295 | 295 | '''Redirect port 80 traffic to secure port 443''' |
| 296 | |
296 | 297 | Save the original default http file: |
297 | | {{{# cd /etc/apache2/site-available |
| 298 | {{{ |
| 299 | # cd /etc/apache2/site-available |
298 | 300 | # mv default default.orig |
299 | 301 | }}} |
300 | 302 | |
301 | 303 | Creat a new default file: |
302 | | {{{#vim default}}} |
| 304 | {{{ |
| 305 | #vim default |
| 306 | }}} |
303 | 307 | |
304 | 308 | Insert: |
305 | | {{{<VirtualHost *:80> |
| 309 | {{{ |
| 310 | <VirtualHost *:80> |
306 | 311 | RewriteEngine on |
307 | 312 | RewriteCond %{SERVER_PORT} ^80$ |
… |
… |
|
309 | 314 | RewriteLog "/var/log/apache2/rewrite.log" |
310 | 315 | 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 | |
| 319 | Save and exit. Restart apache. It's a good idea to double check the symbolic link to 000-default in /etc/apache2/sites-enabled |
314 | 320 | |
315 | 321 | == 3Ware RAID monitor == |