Acces CGI with a .htaccess

lyes.2k

Verified User
Joined
May 26, 2006
Messages
61
Location
France
Hello,

I have Directadmin on my server (Custombuild 1.1 with apache2, php5 in fcgi and suphp) and i can execute a cgi-perl file only with a .htaccess with :
AddType application/x-httpd-cgi .cgi

even if I didn't authorize on DirectAdmin !

How to fix this problem ?

Sorry for my english !

Thank you
 
Don't allow .htaccess to override the main httpd.conf file. (See your httpd.conf file. Look for .htaccess.)
 
Hello floyd, thank you for your answer.

How to make this ? with Allowoverride ?

When i make : Allowoverride None, the url rewriting for example don't work.

How to disable only AddType and AddHandler ?

Thank's again
 
Back
Top