I'm a newbie at this server stuff so please be patient. What I want to do is very simple. I have the following subdomain that points to my server http://register.example.com (this is a dummy, not a real link). However this points to my server and I'd like it to redirect to http://register.example.com/registration. In order to do this I'm modifying the virtual host configuration for my server with the following lines:
RewriteEngine On
# This will enable the Rewrite capabilities
RewriteCond %{HTTP_HOST} ^register.example.com$
RewriteRule /(.*) http://register.example.com/registration [R,L]
When doing this I get the following error fromo both Firefox and chrome:
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
Can anyone tell me what I'm doing wrong and how to fix it?
EDIT:
I saw my infinite mistake loop. But my problem is still not solved. I still need to send http://register.conference.com/ to http://register.conference.com/registration and I have not I idea how to do it as everything that I have tried has either failed or simply done nothing.
Here is my lastest attempt (which does nothing)
RewriteRule ^http://register.conference.com$ http://register.conference.com/lascas [R,L]
I've read the supposed post with the duplicate answers but I still don't see a way to do what I need.