.htaccess, don't understand why its not functioning
Posted: Mon May 12, 2008 7:14 pm
Hi there,
I have the following entries in a .htaccess in the root of my website:
It works when I enter this into the browser: mysite.com/portfolio
However, when I enter this: mysite.com/portfolio/2 , then I get an error message saying "No input file specified."
Any ideas?
Thanks
I have the following entries in a .htaccess in the root of my website:
Code: Select all
RewriteEngine on
RewriteRule ^portfolio/([0-9])$ /portfolio/$1/ [R]
RewriteRule ^portfolio/([0-9])/$ /portfolio.php?page=$1
However, when I enter this: mysite.com/portfolio/2 , then I get an error message saying "No input file specified."
Any ideas?
Thanks