On 06/22/2010 12:54 AM, Matthias Leopold wrote:
hi,

i'm using mod_fcgid to serve .php pages in a setup similar to the one
layed out on http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html (+
suexec). now i realized that i can't use php in .html documents like i
could when i was using mod_php. is there a setup that makes it possible
to have php interpreted in .html documents when using php as cgi? i
didn't do much research and i hope my question is ok for this group

thx
matthias

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


AddHandler php-fcgi .php .html
Action php-fcgi /cgi-bin/php.fcgi

<FilesMatch "\.(php|html)$">
Options +ExecCGI
</FilesMatch>

--
Regards,
Nilesh Govindarajan
Facebook: http://www.facebook.com/nilesh.gr
Twitter: http://twitter.com/nileshgr
Website: http://www.itech7.com
Cheap and Reliable VPS Hosting: http://j.mp/arHk5e

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to