- I have apache2 on server, it read .htaccess well:
if i set incorrect option in .htaccess, i see 500 Error
I set in .htaccess:
Options +ExecCGI
AddHandler cgi-script .cgi .pl
Add test PERL script with .pl extension in same directory with .htaccess and when i try access it with Web i have got source code of this script. mod_cgi installed. What i do wrong ?
Also i execute .php files in this directory correctly, but i try to add:
AddType application/x-httpd-php .png
and that doesn't work. .png file also show source.
question from:
https://stackoverflow.com/questions/65857934/apache2-execcgi-in-htaccess 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…