Help SSH
« on: May 09, 2006, 09:09:05 PM »
Hello,

How to use your program with ssh ?

For example with :

/home/www/sitemap/sitemap.php

the server gives me the message  : Permission denied

It is because of a limitation of the server?

Thank you for your assistance.

M.
Re: Help SSH
« Reply #1 on: May 09, 2006, 09:54:24 PM »
Hello,

with php scripts, you should prepend the php interpreter path to the command line like this:

/usr/bin/php /home/www/sitemap/sitemap.php
OR
/usr/local/bin/php /home/www/sitemap/sitemap.php

(depends on server config, so you can try both :) ).
Re: Help SSH
« Reply #2 on: May 15, 2006, 01:18:57 PM »
Hello,

Thank you for your answer.

But, I have an error message.

------------
An error occured: There was an error while the URL specified: [ External links are visible to forum administrators only ]
Error message: Error opening socket to site.mysite.com
HTTP headers follow:

HTTP output:
------------

You have an idea ?

Thank you for your assistance.

M.
Re: Help SSH
« Reply #3 on: May 15, 2006, 02:26:05 PM »
Hello,

I perhaps found the problem.

Script works very well with the navigator.

But my server does not authorize connection on port 80 via SSH.

There is another solution ?

Thank you for your assistance.

M.
Re: Help SSH
« Reply #4 on: May 16, 2006, 09:56:11 AM »
Hello,
Hello,

I perhaps found the problem.

Script works very well with the navigator.
Great!
But my server does not authorize connection on port 80 via SSH.

There is another solution ?

Thank you for your assistance.

M.
Unfortunately, in case if your SSH php configuration disallows network connection, it is only possible to get working with config changes.
Re: Help SSH
« Reply #5 on: June 11, 2006, 02:10:03 PM »
Hello,

Quote
Unfortunately, in case if your SSH php configuration disallows network connection, it is only possible to get working with config changes.
Quote

If the change are to be made on script, you can do a work on command ?

Your price ?

Thank you for your answer.

Mick
Re: Help SSH
« Reply #6 on: June 12, 2006, 12:41:59 PM »
Hello Mick,

I meant that you should change your server configuration to allow network connections via port 80 for the scripts. No changes in the script are required for this.
Re: Help SSH
« Reply #7 on: August 31, 2006, 04:48:03 PM »
Hello,

"you can specify custom port for http connections now using xs_portconnection option in config.inc.php file"

The new command can solve my problem ?

You can give samples of use ?

Thank you for your answer.

Mick
« Last Edit: August 31, 2006, 04:59:01 PM by webmaster3 »
Re: Help SSH
« Reply #8 on: September 01, 2006, 12:56:28 AM »
Hello Mick,

I'm not sure if that will help in your case, but you should manually modify config.inc.php file to change xs_portconnection setting, like this:
Code: [Select]
    'xs_portconnection' => 80,