Link to home
Start Free TrialLog in
Avatar of arndale65
arndale65

asked on

ScriptAlias having no effect on ability to execute .cgi files

I have enabled alias_module and cgi_module in my apache 2.2 installation. I have added a section:

    <IfModule alias_module>
       ScriptAlias /digin-cgi/ "/opt/openbdjam/webroot1/push20/digin-cgi/"
    </IfModule>

my scripts are 'x' executable permissioned and live in the file system directory **/opt/openbdjam/webroot1/push20/digin-cgi**. However, when i go to my webserver (something like the address below) in a browser i just get a 404 not found:

 - http://myserver.com/digin-cgi/test.cgi

In case it matters - my server root is set to:

    DocumentRoot "/opt/openbdjam/webroot1"

no amount of restarting helps!

any ideas?
Avatar of Jan Bacher
Jan Bacher
Flag of United States of America image

Do you have this in your conf file:

AddHandler cgi-script .cgi

and what do your error logs say exactly?
ASKER CERTIFIED SOLUTION
Avatar of arndale65
arndale65

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
Avatar of arndale65
arndale65

ASKER

my own config issue