• Welcome to Sitemap Generator Forum.
 

Help SSH

Started by webmaster3, May 09, 2006, 09:09:05 PM

Previous topic - Next topic

webmaster3

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.

XML-Sitemaps Support

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 :) ).

webmaster3

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 [ External links are visible to forum administrators only ]
HTTP headers follow:

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

You have an idea ?

Thank you for your assistance.

M.

webmaster3

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.

XML-Sitemaps Support

Hello,
Quote from: webmaster3 on May 15, 2006, 02:26:05 PM
Hello,

I perhaps found the problem.

Script works very well with the navigator.
Great!
Quote from: webmaster3 on May 15, 2006, 02:26:05 PM
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.

webmaster3

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

XML-Sitemaps Support

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.

webmaster3

#7
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

XML-Sitemaps Support

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:
    'xs_portconnection' => 80,