Hello, I was previously on a shared server running a Article Dashboard site with PHP Version 4.4.4 and my .htaccess file looked this # -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> #php_flag session.use_trans_sid off RewriteEngine On RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R,L] RewriteRule ^profile\/([^\/]+)/([0-9]+) publicprofile.php?name=$1&id=$2 RewriteRule ^Category\/[^\/]+/([0-9]+) index.php?catid=$1&mode=category RewriteRule ^Article/[^\/]+/([0-9]+)/?(.*) article.php?id=$1&act=$2 RewriteRule ^rss/[^\/]+/([0-9]+) rssarticle.php?id=$1 RewriteRule ^myarticles/(.*)$ index.php?mode=myarticles RewriteRule ^(.*)topauthorslist/ topauthors.php?orderby=$1&ordertype=$2&namelike=$3&page=$4 RewriteRule ^(.*)popularlist/ populararticles.php?page=$2 RewriteRule ^(.*)searchresult/ indexser.php?page=$2 PHP: Everything worked fine. I am now in the process of setting up a vps running PHP Version 5.1.6 and everything that uses mod rewrite gets a 404 not found error. Mod rewrite is enabled on the server, other that that I am clueless what to do at this point. Any help would be greatly appreciated.
Did you check your .htaccess file is actually being read? Try adding: deny from all Code (markup): To the top of the .htaccess file and refresh your site. If it loads normally, your .htaccess file isn't being read by the server prior to the request (httpd.conf problem). If you get a "403 Forbidden", that's a good thing (sort of), it just means something is wrong with your .htaccess file. Don't forget to remove the "deny from all" line. Please post your results here. Jay
Right, as you've probably guessed, this means that the httpd.conf file is configured not to AllowOverrides therefore the .htaccess file is being ignored. The only solution is to contact your hosting provider about it. Hope this helps, Jay
IT WORKED!!!!! It's my vps - so I was able to go in and configure whatever I want - and it worked - thank you so much