macromedia.dreamweaver.appdev
[Top] [All Lists]

Re: .htaccess question

Subject: Re: .htaccess question
From: "Murray *ACE*"
Date: Sat, 10 Nov 2007 20:17:07 -0500
Newsgroups: macromedia.dreamweaver.appdev


This is an apache server, though....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Baxter" <baxter(RemoveThe :-)@gtlakes.com> wrote in message news:fh5j64$pul$1@xxxxxxxxxxxxxxxxxxxxxxxx
Hi! Murray
If you want all .html files parsed as PHP, just add the following line to an .htaccess file in the same directory or any directory above the one in which
you want this behavior:
AddHandler cgi-script .html

Dave
"Murray *ACE*" <forums@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:fh5cur$iq3$1@xxxxxxxxxxxxxxxxxxxxxxxx
I'm led to believe that adding these lines to an .htaccess file will
enable
server parsing for all .html files -

Options +Includes
AddType text/html .html
AddHandler server-parsed .html

I have created a plain text file, added those lines, saved, and uploaded
it.
But, nothing is happening.  Any clue what is going wrong?

I am wanting a page with an *.html extension to be parsed for PHP
directives.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================






<Prev in Thread] Current Thread [Next in Thread>