logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> How-to's & Documentation & Tips View previous topic :: View next topic
Reply to topic   Topic: How-TO: AddType application
Author
shaggy



Joined: 15 Nov 2005
Posts: 82
Location: Dundee, Michigan

PostPosted: Wed 08 Mar '06 0:40    Post subject: How-TO: AddType application Reply with quote

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: 7373
Location: Germany, Next to Hamburg

PostPosted: Wed 08 Mar '06 10:59    Post subject: Reply with quote

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

PostPosted: Wed 08 Mar '06 17:11    Post subject: Reply with quote

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


Reply to topic   Topic: How-TO: AddType application View previous topic :: View next topic
Post new topic   Forum Index -> How-to's & Documentation & Tips