ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> httpd-users
httpd-users
Re(2): [users@httpd] apache & php
by Long other posts by this author
Dec 14 2006 3:02AM messages near this date
Re: [users@httpd] Apache Server Problem | [users@httpd] Problem using apache as a reverse proxy for https
Tried your suggestion with no luck... any other thoughts?

Andrew Long
(Apologies for quoting from bottom-up, I'm using a web interface that won't
allow me to change it)

---------- Original Message ----------------------------------
From: "Yvo van Doorn" <yvo.vandoorn@[...].com> 
Reply-To: users@[...].org
Date:  Wed, 13 Dec 2006 23:38:23 -0800

> Andrew,
> 
> Either remove
>    <Files *.php>
>     SetOutputFilter PHP
>     SetInputFilter PHP
>     LimitRequestBody 524288
>     </Files>
> 
> or
> 
>   AddType application/x-httpd-php .php      # for PHP 4
> 
> 
> You can't have both. (My personal recommendation is to get rid of the Files
> directive)
> 
> On 12/13/06, Andrew Long <along@[...].com> wrote:
> >
> > Problem on one server with php... php test file in doc root works well
> > and returns variables, status, etc... But when trying to open a php
> > under a subdir, the client browser will attempt to download the file.
> >
> > I post here since php(4) is working, so I think it's an Apache config
> > issue.
> >
> > There are are no directory options defined for the dir. (It is is for
> > phpMyAdmin, and requires no settings in http.conf)
> >
> > In php.conf under conf.d:
> >
> >    LoadModule php4_module modules/libphp4.so
> >    AddType application/x-httpd-php .php      # for PHP 4
> >
> >    <Files *.php>
> >     SetOutputFilter PHP
> >     SetInputFilter PHP
> >     LimitRequestBody 524288
> >     </Files>
> >
> >     DirectoryIndex index.php
> >
> > Thanks in advance-
> > Andrew Long
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@[...].org
> >    "   from the digest: users-digest-unsubscribe@[...].org
> > For additional commands, e-mail: users-help@[...].org
> >
> >
> 
> 
 
               

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html>  for more info.
To unsubscribe, e-mail: users-unsubscribe@[...].org
   "   from the digest: users-digest-unsubscribe@[...].org
For additional commands, e-mail: users-help@httpd.apache.org

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved