Forum Moderators: phranque
I am trying to run a .exe file using cgi-bin. So far no success whatsoever.
Here is my config:
'Main' server configuration
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/"
<Directory "C:/Program Files/Apache Group/Apache2/cgi-bin">
AllowOverride none
Options -indexes +ExecCGI
Order allow,deny
Allow from all
</Directory>
AddHandler cgi-script .cgi
That's all.
I am trying to run a php script that calls a .exe via the passthru
Thks
However, I am getting unathorized access when I run it. Apparently I don't have the right credentials. This is all a bit beyond me since I started using apache 3 weeks ago.
the line of php I run is
passthru("htmldoc -t pdf --jpeg --webpage $options 'http://www.yahoo.com/index.html'");
In the error log, I get: ERR005: unable find 'http://www.yahoo.com/index.html'
help!