[Phpwm] PHP with Cron

pete graham petegraham1 at gmail.com
Thu May 18 16:38:10 BST 2006

Hi David,

Yes I should have mentioned I had to provide a http proxy so lynx could get
the start file from the lynx website.

Do you know how I can change lynx so it resolves the provided IP locally?


On 18/05/06, David Goodwin <david at codepoets.co.uk> wrote:
> pete graham wrote:
> > I am setting up some PHP scripts that will be called by cron. Since I
> > have PHP installed as an apache module I was planning to use lynx to
> > load the PHP file.
> >
> Do you have a $http_proxy set?
> > I am testing this on my dev server first, however I have found that Lynx
> > seems to ignore the Virtual Hosts that I have specified in /etc/hosts
> > file, and therefore cannot connect to any of the sites on my Dev server.
> It's always respected ip/hostname mapping from /etc/hosts before for me.
> > Does anyone know how this can be fixed or an alternative method that I
> > can use?
> I think you're probably using a http proxy somewhere, which is doing the
>   dns lookup, instead of your local machine.
> >
> > In case anyone is interested I am checking that the client IP is the
> > same as the server IP in the files for security reasons, so only the
> > server itself can call the cron pages.
> You could just use a .htaccess (or similar) in Apache to restrict access
> to a cron.php file based on IP address etc.
> David.
> --
> David Goodwin
> [ david at codepoets dot co dot uk ]
> [ http://www.codepoets.co.uk       ]
> _______________________________________________
> Phpwm mailing list
> Phpwm at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/phpwm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/phpwm/attachments/20060518/6b2f6329/attachment.html

More information about the Phpwm mailing list