[nycphp-talk] Apache 2.2, PHP 5.2 and .htaccess
Peter Sawczynec
ps at blu-studio.com
Tue Oct 18 23:26:14 EDT 2011
Okay. Using a different tactic, what mod rewrite would for this given
subdirectory cause
all requests to:
anyfile.html or anyfile.htm to always map to anyfile.php
...not issuing 301 or 302 and without the browser or search engine spiders
and bots knowing.
If that is possible?
(Then I would gladly rename all my site file extensions to .php).
Warmest regards,
Peter Sawczynec
Technology Dir.
blūstudio
941.893.0396
ps at blu-studio.com
www.blu-studio.com
> -----Original Message-----
> From: talk-bounces at lists.nyphp.org [mailto:talk-
> bounces at lists.nyphp.org] On Behalf Of Peter Sawczynec
> Sent: Tuesday, October 18, 2011 10:27 PM
> To: 'NYPHP Talk'
> Subject: Re: [nycphp-talk] Apache 2.2, PHP 5.2 and .htaccess
>
> Okay I will fess up in full here.
> This is all happening in a virtual hosting environment in which I run
> my
> personal websites for business and hobby earning a few monthly dollars.
> All using the godaddy deluxe linux hosting package running now on their
> new
> grid hosting called Linux / 4GH web hosting
>
> I am allowed to have .htacces files at the root and in subdirectories,
> config allows overrides
>
> It is poosible I can see my apache error logs thru the godaddy admin
> interface. I've gotta look now.
>
> Meanwhile, I have mis-remembered my SSH login creds and so can’t do
> that for
> the moment.
>
> And the godaddy support team remains resolute in providing no help on
> .htaccess directives and
> cannot/will not clairfy why the directives that used to work in my
> legacy
> server environemtnt don't work now.
>
> The new server environemnt is literally a whole lot faster than the
> legacy
> and I do not want to roll back.
>
> I'll be here reseraching this all till I get it. Thanks, in the
> meantime,
> for all the input.
>
>
> Warmest regards,
>
> Peter Sawczynec
> Technology Dir.
> blūstudio
> 941.893.0396
> ps at blu-studio.com
> www.blu-studio.com
>
>
> > -----Original Message-----
> > From: talk-bounces at lists.nyphp.org [mailto:talk-
> > bounces at lists.nyphp.org] On Behalf Of Daniel Convissor
> > Sent: Tuesday, October 18, 2011 9:43 PM
> > To: NYPHP Talk
> > Subject: Re: [nycphp-talk] Apache 2.2, PHP 5.2 and .htaccess
> >
> > Hi Peter:
> >
> > On Tue, Oct 18, 2011 at 09:09:16PM -0400, Peter Sawczynec wrote:
> > > The index.html page comes up, but I see in the source that several
> > > php snippets such as this <?php include(some.php) ?> are actually
> > printing
> > > out
> >
> > Ouch. Have you asked your hosting company what settings are needed
> > and/or looked at their help/manual?
> >
> > I'd run "grep -r php /etc/apache2" (assuming you're on a *nix/BSD
> box)
> > and
> > see if that provides any clues.
> >
> > --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
> > _______________________________________________
> > New York PHP Users Group Community Talk Mailing List
> > http://lists.nyphp.org/mailman/listinfo/talk
> >
> > http://www.nyphp.org/Show-Participation
>
>
> _______________________________________________
> New York PHP Users Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/Show-Participation
More information about the talk
mailing list