Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 5 of 5

This is a discussion on How to make PHP understand VNSS file in the Shared & Semi-Dedicated forum
Hi all, Please help me how to setup PHP on hosting for run file type: .hss or .vnss. After I uploaded .vnss or .hss file, ...

  1. #1
    JPC Member
    Join Date
    Nov 2007
    Posts
    33

    Question How to make PHP understand VNSS file

    Hi all,

    Please help me how to setup PHP on hosting for run file type: .hss or .vnss.
    After I uploaded .vnss or .hss file, server doesn't understand their php code.

    Thanks

  2. #2
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    Are you saying that you want to run files ending with .vnss or .hss as PHP scripts? If so, try adding the following to your .htaccess file:

    Code:
    AddHandler application/x-httpd-php .vnss .hss
    If you are on an older server that has both PHP 4 and PHP 5, that example will run the scripts using PHP 4 (I assume on newer servers with PHP 5 olny it will work fine as is). If you want to make it run with PHP 5 on an older server, use application/x-httpd-php5.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  3. #3
    JPC Member
    Join Date
    Nov 2007
    Posts
    33
    Thanks for your answer, Jason
    A more question is I have file index.vnss, so how do I make it home page, same as index.php or index.html, then I can access domain, without access filename.

    Thanks

  4. #4
    Techinical Support Rep.
    Join Date
    Oct 2008
    Location
    Canada
    Posts
    526
    Add the following line to your .htaccess
    DirectoryIndex index.vnss
    I do work for JaguarPC. If you do need help please provide your ticket number (this isn't sensitive information).

    If I'm not active on the forum please open a ticket instead of PMing me. If you think the issue requires access to your server please open a ticket.

  5. #5
    JPC Member
    Join Date
    Nov 2007
    Posts
    33
    Thanks alot, Good support.

Bookmarks

Posting Permissions

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