-
i got some errors after redirect
Posted on May 26th, 2009 No commentsbefore using this redirect rule i was able to edit my site with front page
and also i got error syntax error prototype.js after using redirect
this is my new .htaccess file in the public_html directoryRewriteEngine on
# -FrontPage-
AuthUserFile /home6/attejara/public_html/_vti_pvt/service.pwd
AuthGroupFile /home6/attejara/public_html/_vti_pvt/service.grporder deny,allow
deny from all
allow from allorder deny,allow
deny from all# Use PHP5 as default
AddHandler application/x-httpd-php5 .phpAuthName attejara.com
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*RewriteCond %{HTTP_HOST} ^attejara.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.attejara.com$
RewriteRule ^.*$ “http\:\/\/www\.attejara\.com\/ms\/index\.php” [R=301,L]Your rewrite rule says “if the host is attejara.com or the host is www.attejara.com, redirect EVERY REQUEST to http://www.attejara.com/ms/index.php”. If you are storing javascript files on the attejara.com domain, then yes, those get redirected, too.
try adding this line
RewriteRule ^([^.]*)/?$ index.php [L]




Recent Comments