I have a site in php under test in a directory above the root of the official website. To set up friendly URLs ( remove .php ) is by web.config . I made a rule that does not work for subdirectory files. Ex: products / something and product / something , only works on root company.php files. When accessing the product and product pages you get the message "No input file specified."
link = OK
link = No input file specified.
With the php extension it works normalmnte: link