[pLog-svn] r6039 - plog/trunk

Mark Wu markplace at gmail.com
Thu Nov 15 10:06:17 EST 2007


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



More information about the pLog-svn mailing list