All pastes #420411 Raw Edit

Untitled

public text v1 · immutable
·published 2007-04-02 03:22 UTC
rendered paste body
<VirtualHost *:80>
	DocumentRoot /s/apache2/htdocs/elliottcable_com
	ServerName elliottcable.com
        ServerAlias www.elliottcable.com
	# Rewriterules below
        RewriteEngine On
        RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
        RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
</VirtualHost>