On Friday 02 July 2004 19:01, Manuel Kasper wrote:
> On 02.07.2004 18:54 +0100, Peter Curran wrote:
> > I have a file called rc, in a directory /etc/inc/ext/openvpn. It
> > is mode 755, starts with #!/usr/local/bin/php. All directories in
> > the path are mode 755.
> >
> > So far as I can see the file is never called.
> >
> > What am I doing wrong!!!
>
> Maybe you've saved that file with DOS-style (CRLF) line breaks,
> rather than UNIX-style (LF)?
>
No - I only use windoze under extreme duress - this file was made using vi.
In the rc file I have....
#!/usr/local/bin/php
<?php
require('/etc/inc/ext/openvpn/openvpn.inc');
openvpn_configure();
exit;
?>
Thats it - any ideas?
Strangeley, if I run this using exec.php I just see the output of exec.php. I
am sure this is a clue, but I can't see why.
Peter
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean. |