Computer Science Canada Apache Help |
Author: | Amailer [ Sat Oct 02, 2004 5:59 pm ] | ||||||
Post subject: | Apache Help | ||||||
EDIT: Actually, that code doesn't work at all ![]()
that works ![]() Hello, Well I know I have posted some topics on this before, but this is a slightly new problem ![]() I have in a .htaccess file (in the htdocs directory) this code
It works fine! It actually works ![]() Except the problem is, if I go to.. suppose there are the folders Microsoft, apple, linux in the directory hosting. And i go to http://www.Microsoft.gfx-pro.ath.cx it doesn't work!, it searchs for www (as seen in the error below)
But it works fine if i just go to http://microsoft.gfx-pro.ath.cx Any ideas on how to solve this? I know or at least I think it is because, since my domain is already a subdomain, it doesn't work well with a 4 level domain. (or sub-subdomain i.e level4.level3.level2.level1) Any ideas would be great Thanks (in advance). |
Author: | wtd [ Sat Oct 02, 2004 6:04 pm ] |
Post subject: | |
Last I recalled, rewrites only work on the path, not the server name. |
Author: | Amailer [ Sat Oct 02, 2004 6:09 pm ] | ||||
Post subject: | |||||
Well, No clue lol got it off a site. ![]() Anyway, but I wrote the code that i posted a minute ago (edited the post). and thats what works, not that rewrite code. Any clues on how to make that work with www. also? I tried,
(got this from http://httpd.apache.org/docs-2.0/misc/rewriteguide.html) but it doens't work, the error log shows.
|