We are on a Network Solutions VPS, four domains all one IP.
In vhost.config file for a single domain, the following will work:
Redirect 301 /1234 http://example.com/
But the following 3 rewrites will not work:
RewriteEngine On
RewriteRule ^1234$ / [R=301,L]
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^1234$ / [R=301,L]
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^1234$ http://example.com [R=301,L]
These are just tests to get something more serious done with mod rewrite in vhost.config. I feel like I must just be missing something simple. If anyone can help me out, it would be greatly appreciated.
RewriteRule ^/1234$? – Andrew M. Apr 1 '11 at 12:14