Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
sudo mv www.earth.com_server.key /etc/ssl/private/

You may delete the csr request,

...

Code Block
languagexml
linenumberstrue
<VirtualHost *:80>
        ServerAdmin webmaster@localhost

        ServerName www.myrapham.com
        ServerAlias myrapham.com

        # Enforce www in front of url.
        RewriteEngine On
        RewriteCond %{HTTP_HOST} !^www\.myrapham\.com$ [NC]
        RewriteRule (.*) http://www.myrapham.com$1 [R,L]

        DocumentRoot /home/www.myrapham.com/www
        <Directory />
                # This prevents use of .htaccess
                AllowOverride None
        </Directory>

        ErrorLog /var/log/apache2/www.myrapham.com.error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/www.myrapham.com.access.log combined

        # Mount application on Tomcat
        JkMount /wiki/* tomcat_confluence_a_worker
        JkMount /wiki tomcat_confluence_a_worker

        <Location /wiki/>
                FilterDeclare filter_string_replace
                FilterProvider filter_string_replace SUBSTITUTE resp=Content-Type $text/html
                Substitute "s/www.breakitdownbonsaiframework.cacom/www.myrapham.com/ni"
                Substitute "s/Break It Downwww.bonsaiframework.com/www.myrapham.com/n"
                FilterChain filter_string_replace
                Redirect permanent /wiki/dashboard.action http://www.myrapham.com/wiki/display/myra/Home
                Redirect permanent /wiki/display/myrahouse/Home http://www.myrapham.com/wiki/display/myra/Home
        </Location>

</VirtualHost>

...