|
|
#1 (permalink) |
|
Registered User
Comfy Contributor
Joined in Dec 2004
Lives in United Kingdom
137 posts
Gave thanks: 1
Thanked 1 Time in 1 Post
|
.HTACCESS DefaultType application/x-httpd-php?
How can i add a area like say
DefaultType application/x-httpd-php not the php.ini file as .htaccess no longer allows it?
__________________
ResidentFantasy.info |
|
|
|
|
|
#2 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
924 posts
Gave thanks: 2
Thanked 91 times
|
This is an Apache command and it remains in .htaccess files as do all other apache configuration statements.
Only PHP configuration statements are affected by phpSUexec activation.
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|
|
|
#4 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
924 posts
Gave thanks: 2
Thanked 91 times
|
I don't think "DefaultType" is a valid command. Are you wanting to add another extention to a handler?
Like: AddHandler application/x-httpd-php .php5 .phtml would add extentions php5 and phtml to be handled by php. Or, what is the problem without the .htaccess file?
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Comfy Contributor
Joined in Dec 2004
Lives in United Kingdom
137 posts
Gave thanks: 1
Thanked 1 Time in 1 Post
|
No what it was right that code made it so files without any extension loaded like PHP. So i could do things like domain.com/page/name/john the easy way. Now i know it works because before i went to the AEON plan it was working. It does not really matter as i've just done the files like domain.com/name.php?john anyway.
__________________
ResidentFantasy.info Last edited by Daniel_Hatcher; May 26th, 2006 at 8:38 PM. |
|
|
|
|
|
#7 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
924 posts
Gave thanks: 2
Thanked 91 times
|
ForceType application/x-httpd-php
will force all files in a folder without extensions to the handler type, php in the example above.
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|
|
|
#9 (permalink) | |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
924 posts
Gave thanks: 2
Thanked 91 times
|
Quote:
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|
|