The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Re: X10 and xAP




mark_harrison_uk2 wrote:
> Things to check:
>
> 1: Where is the send/send.exe executable. It may be that it needs to
> be right in the cgi-bin directory.
>
> 2: Is CGI enable in Apache config. You'll need lines there like:
>
>>LoadModule cgi_module modules/mod_cgi.so
>>ScriptAlias /cgi-bin/ "C:/Program Files/Apache
Group/Apache2/cgi-bin/"
>
> Then a section like:
>
> <Directory "C:/Program Files/Apache
Group/Apache2/cgi-bin">
>     Options ExecCGI
>     Order allow,deny
>     Allow from all
> </Directory>
>
> 3: Finally, the ever popular "try to run notepad.exe on the
server"
> debugging tool. Does some CGI like the following work:
>
>>#!I:/perl/bin/perl.exe
>>print "\n";
>>$xapcall="notepad";
>>system $xapcall > null ;
>
> If it works, then you've got a xAP/path problem.
> If it fails, then you've still got a problem running CGI at all.
>
> 4: If you're a PGP person, is it sensible to do this in PERL. I wrote
> my CGI code before I'd ever used PHP. If I were starting now, then I'd
> seriously consder just using the PHP "system" command rather
than
> messing around shelling out to PERL.
>
> Keep us posted - it put a smile on my face reading the initial
"Yes!
> It works!" :-)

Looks like it is a CGI problem :(
Notepad doesn't run either. Just printing something to the screen (hello
world!) does work though.
--
Andrew Jones
http://andy29uk.blogspot.com




xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.