Forum Moderators: phranque
I have developed PHP pages on Apache2 server with .asp extensions (this is inherited from ex Windows server for SEO purpose).
I have few RSS feeds on my site as well with .asp extensions
Feeds are validated, but give html/text type to RSS reader or validator.
If I add .asp extension to AddType application/xml on Apache, does it will hurt my normal .asp pages?
Thank you all
You must provide the information that Apache needs to determine a 'normal' .asp page from a feed page -- That is, the context information needed to tell them apart.
You could enclose the AddType in a <Directory> or <Location> container in httpd.conf, or place it only the .htaccess file where the feeds are actually located. Otherwise, Apache will handle all .asp requests identically.
Jim