simonlebon Posted January 11, 2003 Share Posted January 11, 2003 I have a hosted Apache website. I do not have a dedicated server, so I (obviously) do not have access to the root directory. Currently I have a website up and running with the default file (index.html) at www.mydomain.com I need to create a CNAME or alias called support.mydomain.com and have it actually point/redirect to www.mydomain.com/support The problem I am running into is that I CAN create the CNAME support.mydomain.com just fine, however I cannot use a slash in the address I want it to point/redirect to. One of the technicians suggested that I add a .htaccess file that would make use of the redirect command. So far, I have found that the redirect command will no accept a full path in the \"from\" address, even though it is required in the \"to\" address. SO this will not work. Is there another command I can use? Any help here would be appreciated. I am an Apache neophyte, but trying to learn (slowly). Quote Link to comment https://forums.phpfreaks.com/topic/37-question-re-htaccess-file-and-redirect/ Share on other sites More sharing options...
phpfreak Posted January 11, 2003 Share Posted January 11, 2003 What version of Apache are you running? There was this \"forward slash bug\" awhile back that was giving these kinds of problems. It sounds like a simple misconfiguration in your apache config files if you are running an up to date version of Apache. Quote Link to comment https://forums.phpfreaks.com/topic/37-question-re-htaccess-file-and-redirect/#findComment-90 Share on other sites More sharing options...
simonlebon Posted January 13, 2003 Author Share Posted January 13, 2003 I am running Apache 1.3.26 Quote Link to comment https://forums.phpfreaks.com/topic/37-question-re-htaccess-file-and-redirect/#findComment-104 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.