Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    26

    Lightbulb Need to add to myvirtualhost.conf some lines.

    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. #2
    Member
    Join Date
    May 2003
    Posts
    7

    Default

    Put it in a .htaccess file ??

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    Sep 2003
    Posts
    26

    Default

    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. #4
    cPanel Partner NOC cPanel Partner NOC Badge myusername's Avatar
    Join Date
    Mar 2003
    Location
    chown -R us.us *yourbase*
    Posts
    712
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Also looking for more information on this subject....
    GlowHost.com | Professional Managed Web Hosting Since 2002.
    >> Fully Managed Dedicated, Cloud VDS, Reseller & Semi-Dedicated
    >> Cloud Servers for Enterprise

Similar Threads & Tags
Similar threads

  1. Add command lines for all virtualhosts in httpd.conf
    By mehrdad abed in forum New User Questions
    Replies: 0
    Last Post: 07-06-2009, 02:57 PM
  2. how can I add something in httpd.conf with ea3
    By zfrank in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 09-15-2007, 10:25 PM
  3. Add Rule to Mod_security useragents.conf ?
    By Fernis in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-02-2007, 12:27 PM
  4. httpd.conf error when trying to add new account
    By dgromer in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-21-2006, 02:26 PM
  5. whm does not add new account to httpd.conf
    By SickFinga in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-22-2005, 03:59 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube