Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: How-TO: AddType application |
|
Author |
|
shaggy
Joined: 15 Nov 2005 Posts: 82 Location: Dundee, Michigan
|
Posted: Wed 08 Mar '06 0:40 Post subject: How-TO: AddType application |
|
|
How about your AddType's in your httpd.conf file to share.........
All I have is just the basic's:
Code: | AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .php3
AddType application/x-httpd-perl .pl .p
AddType application/x-httpd-php .php4 |
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7360 Location: Germany, Next to Hamburg
|
Posted: Wed 08 Mar '06 10:59 Post subject: |
|
|
AddType won't work with pl, php, phps, phtml, etc if the modules or cgi is not specificated in http.conf |
|
Back to top |
|
pnllan
Joined: 05 Dec 2005 Posts: 221
|
Posted: Wed 08 Mar '06 17:11 Post subject: |
|
|
Also, at least in the case of PHP, why add the TYPES:
.php3
.php4
.phps
.phtml
UNLESS they are being used (even then why not change the extension - it runs the same). All four of those TYPES are considered deprecated at this point in time.
My point is: Why add TYPES that are not in use or are going to be used? It seems to me to be sloppy management.
. |
|
Back to top |
|
|
|
|
|
|