1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

how to run php code in .html file ?

Discussion in 'Plesk for Linux - 8.x and Older' started by gumush, Aug 18, 2005.

  1. gumush

    gumush Guest

    i add vhost.conf file
    DocumentRoot /home/httpd/vhosts/example.com/httpdocs
    <Directory /home/httpd/vhosts/example.com/httpdocs>
    <IfModule sapi_apache2.c>
    AddType text/plain .php .php3 .phtml .html .htm
    php_admin_flag engine off

    after reload apache but i didn't work ?
  2. gumush

    gumush Guest

    i miss text/plain

    i add application/x-httpd-php and it works !
  3. MaRiOs

    MaRiOs Guest

    what does this excactly does?

    whats good for ?

    Im aksing cause i may note it down if i need it later :p
  4. gumush

    gumush Guest

    if you want to code in html file , you have to add these lines vhost.conf file, then php parse codes from html files.