Results 1 to 9 of 9
Thread: Htaccess misconfiguration
Jan 29, 2012, 03:32 #1
- Join Date
- Aug 2011
- 0 Post(s)
- 0 Thread(s)
I've already talked to my webhost, but they don't seem to know the least about htaccess files and I am fairly inexperienced. Anyway, my host says there's a misconfiguration in my htaccess file, so it doesn't work. Could anyone have a look at my code and point out what I'm doing wrong?
I've always used htaccess to send http://www.domainname.com/ to http://domainname.com and on every host this works perfectly, but on this host it doesn't work at all. My hosts reply was to set this up via the Plesk control panel, their solution was to add a domain alias. So my site works fine now but I dislike their solution, so I hope I'm doing something wrong..
Also one more question, could be related to this problem. I have a www.host.com/index.php page and on that page is the following mysql code: mysql_query("UPDATE sys SET y = y + 1 WHERE x = 'total'"); , to check my visitor rate. When someone visits the page I get not oldvalue + 1 but oldvalue + 2. It would seem like the page gets loaded twice?
Thank you very much in advance
Last edited by ScallioXTX; Jan 29, 2012 at 07:53. Reason: de-linkified example URLs