The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need to add to myvirtualhost.conf some lines.

Discussion in 'General Discussion' started by lvalics, Oct 12, 2003.

  1. lvalics

    lvalics Active Member

    Joined:
    Sep 30, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Hi all,

    I have a script and require to add the following lines into conf file.
    How can I add this lines from CP?? Is therea way?

    <FilesMatch "^category.php$">
    SetHandler application/x-httpd-php
    </FilesMatch>

    <FilesMatch "^product.php$">
    SetHandler application/x-httpd-php
    </FilesMatch>

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
     
  2. SWINX

    SWINX Member

    Joined:
    May 6, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Put it in a .htaccess file ??

    cPanel.net Support Ticket Number:
     
  3. lvalics

    lvalics Active Member

    Joined:
    Sep 30, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    I get an answer from ISP
    ==
    Yes, it will be very common used by PHP Developers, who are trying to sell products for many people.
    We know about Mod_Rewrite, we know about that trick what I sent and can be placed in .htaccess file or site conf, but normal user can't do htis setup.
    For this we use loopback feature. I saw that on other Cpanel is allowed, only in this server we find it deactivated.
    ==

    Then we added what I mentioned in .htaccess file.
    Another reply from ISP
    ==
    Yes, setHandler and addHandler still work, but ForceType and
    MimeType do not due to the use php+suexec.
    ==

    Any ideea how can I use it this in .htaccess and also if I cannot in .htaccess then in CP how can I add?

    cPanel.net Support Ticket Number:
     
  4. myusername

    myusername Well-Known Member
    PartnerNOC

    Joined:
    Mar 6, 2003
    Messages:
    691
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    chown -R us.*yourbase*
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Also looking for more information on this subject....
     
Loading...

Share This Page