NYCPHP Meetup

NYPHP.org

[nycphp-talk] Apache 2.2, PHP 5.2 and .htaccess

Daniel Convissor danielc at analysisandsolutions.com
Tue Oct 18 21:13:25 EDT 2011


Hi:

On Tue, Oct 18, 2011 at 08:56:16PM -0400, Rob Marscher wrote:
> > On Oct 18, 2011, at 8:14 PM, Peter Sawczynec wrote:
> >
> > AddType application/x-httpd-php .htm .html
> > AddHandler x-httpd-php  .htm .html

You probably don't need the AddHandler line.  I don't in my Apache 2.2
config.


> Does anything work in your .htaccess file?  Maybe AllowOverride is
> turned off so the .htaccess files aren't being processed.

I was thinking the same thing.  Peter needs to look at Apache's
error.log.  Also, is the .htaccess file, and all of the files for that
matter, readable by the web server's "user?"

Good luck,

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409



More information about the talk mailing list