Hi, i have some problems to execute a htaccess file :(, i tried every possiblity , and nothing , so here’s the problem :
for the first time mod rewrite wasn’t installed so i sent a mail to the host to install it , and a second mail to put some directives when the htaccess didn’t work for the second time and checked on the net and i found the cause , so i told them to change the Allowoverride to All and put Options FollowSymLinks , so i tested on mydomaine.com and the .htaccess worked but only for mydomaine.com and didn’t work for www.mydomaine.com , i looked for the problem , and i found that the host made a redirection because mydomaine.com didn’t work , and after that we can access from both url but there no htaccess file , i created a new one , the problem still the same , i looked on the web , tried different guesses and nothing , the htaccess file work only for non-www and i get an 500 Internal Server Error with the www, i’m really blocked , thanks :).
Test code of htaccess
RewriteEngine on
RewriteBase /
RewriteRule ^test$ testpage.php