W
WD10
I am trying to set up a site so that the
http://my_site.com version of the domain redirects to the
http://www.my_site.com version. Normally, the following two lines in
the .htaccess file work for me, but they aren't working in this case. I'm
not sure what all those lines in the file below mean but I see word
"FrontPage"... After I fix this I have 22 pages of FrontPage HTML to fix
Any ideas why the first two lines aren't working?
Thanks
# Sends all requests to www version of domain name
RewriteCond %{HTTP_HOST} ^my_site.com
RewriteRule (.*) http://www.my_site.com/$1 [R=301,L]
# Everything below this line is the original htaccess file
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.my_site.com
AuthUserFile /home/my_folder/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/my_folder/public_html/_vti_pvt/service.grp
http://my_site.com version of the domain redirects to the
http://www.my_site.com version. Normally, the following two lines in
the .htaccess file work for me, but they aren't working in this case. I'm
not sure what all those lines in the file below mean but I see word
"FrontPage"... After I fix this I have 22 pages of FrontPage HTML to fix
Any ideas why the first two lines aren't working?
Thanks
# Sends all requests to www version of domain name
RewriteCond %{HTTP_HOST} ^my_site.com
RewriteRule (.*) http://www.my_site.com/$1 [R=301,L]
# Everything below this line is the original htaccess file
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.my_site.com
AuthUserFile /home/my_folder/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/my_folder/public_html/_vti_pvt/service.grp