XML Sitemaps Generator

Author Topic: Help SSH  (Read 29666 times)

webmaster3

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 13
Help SSH
« on: May 09, 2006, 08: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.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Help SSH
« Reply #1 on: May 09, 2006, 08: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 :) ).
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

webmaster3

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 13
Re: Help SSH
« Reply #2 on: May 15, 2006, 12: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 admins 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.

webmaster3

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 13
Re: Help SSH
« Reply #3 on: May 15, 2006, 01: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.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Help SSH
« Reply #4 on: May 16, 2006, 08: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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

webmaster3

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 13
Re: Help SSH
« Reply #5 on: June 11, 2006, 01: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

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Help SSH
« Reply #6 on: June 12, 2006, 11:41:59 AM »
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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

webmaster3

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 13
Re: Help SSH
« Reply #7 on: August 31, 2006, 03: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, 03:59:01 PM by webmaster3 »

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Help SSH
« Reply #8 on: August 31, 2006, 11:56:28 PM »
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,
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2