hwg-techniques archives | Oct 2001 | new search | results | previous | next |
htaccess files revisited.by "Mike Taylor" <lonewolf(at)one.net> |
|
Can anyone tell me if AddType directives in an .htacess file override each other? For example, I have PHP pages that I want to have the ability to include SSI for CGI files, but also be identified to run PHP scripts as well. To do this, I did the following: AddType text/x-server-parsed-html .php AddType application/x-httpd-php .php Does the second line override the first line? Or do they both define the PHP extension? The reason I ask is because I can't get my server-side includes to work on PHP pages. They only work on my HTML pages, which I've also added an AddType directive for: AddType text/x-server-parsed-html .html Can anyone more adept at these settings enlighten me? Many thanks. Mike
HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA