|
Posted by Gary Hasler on 12/06/07 23:23
Gremnebulin wrote:
>
> On 5 Dec, 19:40, Gary Hasler <garyhas...@thelogconnection.com> wrote:
> > I want apache to parse all .html files for php code. Our 'real' web
> > server is rented from ICDsoft ( php 5 on Apache on Linux whatever), and
> > their instruction is to add the following to the .htaccess file:
> > AddHandler application/x-httpd-php .html
> > ...which works great.
> >
> > However, our local in-office server for testing and viewing our sites is
> > Apache 2.0.55 with PHP 4.4.4 on Windows XP Pro.
>
> At the risk of being annoying: a test system isn't much of a test if
> it doesn't duplicate
> the target system.
True; but I'm getting better--it used to be Microsoft IIS!
I guess I should set up Apache the way ICDsoft does, and then create
identical .htaccess files, maybe someday..
As far as the OS goes, the only quirks I've run into are:
- Windows won't let me create a file named .htaccess
- The case-sensitive filename issue
Right now I do a lot of work in Windows-only software, so it's just
easier to run the test site on windows. Some day I'll get a Linux
server and set it up JUST right!
[Back to original message]
|