Link to home
Start Free TrialLog in
Avatar of blago
blago

asked on

Non-cgi files in "AllowCGI" directory

My Apache 2.0 on RedHat 8.0 is trying to execute all my image files residing in a subdirectory of /eng which is ScriptAlias-ed. I tried adding

 <Directory /var/www/html/eng/html>
Options -ExecCGI
</Directory>

to no avail. I get "premature end of script headers" in my logs. It is essentual to keep the curent file structure, since it's going to be a lot of work to edit all the scripts to reflect such a change. How can I tell Apache not to execute files in surton subdirectories. If you need me to, I can give you more ditails about the current configuration and even post the httpd.conf file here.

Thanks in advance
Blago
ASKER CERTIFIED SOLUTION
Avatar of pjedmond
pjedmond
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial