[pLog-svn] r6039 - plog/trunk

Jon Daley plogworld at jon.limedaley.com
Thu Nov 15 10:23:08 EST 2007


 	Sorry - I meant to leave it commented.  x-httpd-php will only work 
if php5 is the default.  I don't know how many hosts will have switched to 
php5 as the default when we release this version.  I expect that some 
hosts will require the filename to be .php5 and some will require a 
forcetype like I put below.
 	I figure if we have it in there commented, people can uncomment it 
easily, rather than hunting for the code on the forums.

On Thu, 15 Nov 2007, Mark Wu wrote:
> Hi Jon:
>
> Why we need this?
>
> # ForceType settings for hosts that default to php4
> <Files *.php>
> ForceType application/x-httpd-php5
> </Files>
>
> I though it should be application/x-httpd-php in most virtual host?
>
> Mark
>
>> -----Original Message-----
>> From: plog-svn-bounces at devel.lifetype.net
>> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of
>> jondaley at devel.lifetype.net
>> Sent: Thursday, November 15, 2007 10:56 PM
>> To: plog-svn at devel.lifetype.net
>> Subject: [pLog-svn] r6039 - plog/trunk
>>
>> Author: jondaley
>> Date: 2007-11-15 09:56:12 -0500 (Thu, 15 Nov 2007) New Revision: 6039
>>
>> Modified:
>>    plog/trunk/.htaccess
>> Log:
>> added some commented setting for people to add php5 if they
>> need to.  changed defaults for symlinks and indexes - people
>> can turn that on if they need it.  Not all hosts support
>> changing the Options in the .htaccess
>>
>> Modified: plog/trunk/.htaccess
>> ===================================================================
>> --- plog/trunk/.htaccess	2007-11-15 14:52:50 UTC (rev 6038)
>> +++ plog/trunk/.htaccess	2007-11-15 14:56:12 UTC (rev 6039)
>> @@ -6,8 +6,8 @@
>>  deny from all
>>  </Files>
>>
>> -Options -Indexes
>> -Options +FollowSymLinks
>> +#Options -Indexes
>> +#Options +FollowSymLinks
>>
>>  # mod rewrite settings for LifeType mod_rewrite url mode
>>
>> @@ -70,6 +70,12 @@
>>
>>  </IfModule>
>>
>> +# ForceType settings for hosts that default to php4 <Files *.php>
>> +ForceType application/x-httpd-php5 </Files>
>> +
>> +
>>  # force type settings for LifeType pretty url mode
>>
>>  <Files post>
>> @@ -128,4 +134,4 @@
>>
>>  ErrorDocument 401 /error.php
>>  ErrorDocument 403 /error.php
>> -ErrorDocument 404 /error.php
>> \ No newline at end of file
>> +ErrorDocument 404 /error.php
>>
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://limedaley.com/mailman/listinfo/plog-svn
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>

-- 
Jon Daley
http://jon.limedaley.com/

People only see what they are prepared to see.
-- Ralph Waldo Emerson


More information about the pLog-svn mailing list