• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

php and asp files parsed for SSI

W

wardjame

Guest
I'm trying to get .asp and .php files parsed for Server Side Includes. Bad practice I know but it is how a clients site was previously designed and I need to maintain it as is.

I added the following to the site vhost.conf file:

Code:
AddType text/html .htm .html .shtm .shtml .sht .asp .php
AddHandler server-parsed .htm .html .shtml .sht .shtm .asp .php

But my tests seem to show only the .shtml files being parsed for SSI. Any clues as to how one could accomplish this?

Thanks in advance.
 
did you put those in the server config, or the domains config? Did you restart apache afterwards?
 
I put this in the domain config vhost.conf.

I loaded it into the plesk webmanager and did a webmanager reload and restarted apache. I use the vhost.conf directives all the time to modify php and asp settings so I'm pretty sure I'm doing it correctly. I'm not sure if SSI settings can be overridden like this though. Can anyone confirm or deny?
 
Back
Top