Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,721

    Default

    Your welcome! I am glad the tutorial helped you out. While moving from WH 3.0 to WH 4.0 is not really terribly hard there are a couple things that can catch you up. I thought a few details might help folks. I need to remember to go add this bit of info over at my FAQ. I am glad you mentioned the tutorial.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  2. #12
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,721

    Default

    Ok I've written up the tutorial on this subject. I actually figured out that you can run both php5 and php4 on the same account with the use of Apache handlers. Kind of cool. I give details in the tutorial linked above.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  3. #13

    Default

    I'm on the WH 3.0 environment and I'm having this problem too. I'm in the process of updating my site to include a CSS pull-down menu on every page using PHP Includes. My site has a decent search engine ranking, so I was hoping not to have to rename every file to .php. I read on-line that I could solve this by creating a file called .htaccess in my site's root directory with the following lines:


    AddType application/x-httpd-php .html
    AddType application/x-httpd-php .htm

    But when I do this, I encounter the same problem as the poster of this message, browsers keep trying to download the webpage files, rather than display them.

    I'm not sure if you guys are still around, but if you are or if anyone else here is familiar with how to do this on the WH 3.0 environment, I was wondering if anyone has found a solution to this.

    Thanks in advance.

  4. #14

    Default

    Also, I just want to point out that I did try the advice on Wildjoker's page http://wildjokerdesign.net/faq/how-c...-processed-php but that was designed for WH 4.0 apparently, and does not work for my site. I tried changing it to application/x-httpd-php4 and application/x-httpd-php5 as he does there, and even application/x-httpd-php5.3.0, which is the version I have installed in my account. But none of these works.

  5. #15
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,721

    Default

    In Westhost 3.0 what you have done should work. If you look at the httpd.conf file you'll see that it uses AddType application/x-httpd-php for a variety of php alternative extensions. You could try adding it to the /etc/httpd/conf/httpd.conf file and then restarting your account to see if that would do it for you. In fact if you scroll down to around lines 790 - 798 you should see the existing entries for php and you could just tack .htm and .html onto the list. Actually you only need to add the extension you use. Surely you are not mixing your site files between .htm and .html.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •