Go Back   cPanel Forums > cPanel® and WHM® (for Linux® and FreeBSD® Servers) > cPanel and WHM Discussions

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-14-2005, 10:49 PM
Registered User
 
Join Date: Mar 2004
Location: CN
Posts: 200
Jedia
Exclamation CGI problam, user can add 'AddHandler cgi-script .cgi .pl' running CGI?

hello every, i have 3 CGI accounts and 30more NO CGI account on my server.
today i found one of the NO CGI account running the CGI program. i have not gave this account CGI access, but i found in the user homedir the .htaccess has this line:
Code:
AddHandler cgi-script .cgi .pl
this user can running CGI program now, but how to deny this account running CGI program please?
i set the httpd.conf
Quote:
#AddHandler cgi-script .cgi .pl
and , CGI access accounts was like this:
Quote:
<VirtualHost xxx>
......
Options -ExecCGI -Includes
ScriptAlias /cgi-bin /home/username/public_html/cgi-bin
.....
</VirtualHost>
and the NO CGI access accounts was likt this:
Quote:
<VirtualHost xxx>
......
ScriptAlias /cgi-bin /home/username/public_html/cgi-bin
.....
</VirtualHost>
please, how to fix this problam? i need some account can running CGI program but some NOT.
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 07:44 AM.


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