#1 (permalink)  
Old 10-12-2003, 03:54 AM
Registered User
 
Join Date: Sep 2003
Posts: 26
lvalics
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:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-12-2003, 06:50 AM
Registered User
 
Join Date: May 2003
Posts: 7
SWINX
Put it in a .htaccess file ??

cPanel.net Support Ticket Number:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-12-2003, 07:00 AM
Registered User
 
Join Date: Sep 2003
Posts: 26
lvalics
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:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-11-2005, 05:17 AM
myusername's Avatar
Registered User
 
Join Date: Mar 2003
Location: Smokin!
Posts: 648
myusername is on a distinguished road
Also looking for more information on this subject....
__________________
chown -R us.us *yourbase*
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:54 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc