XML Sitemaps Generator

Author Topic: Changing permissions on public_html  (Read 59054 times)

jon

  • Registered Customer
  • Approved member
  • *
  • Posts: 8
Changing permissions on public_html
« on: November 19, 2005, 08:06:12 PM »
I've uploaded the files to my server and changed the permissions on config.inc.php and the Data folder.  However I couldn't change the permissions on public_html which is the start of the path where I've got the files.  It's currently at 750 and when I contacted my host they said that it's a potential security risk to change it to 666.  What should I do if I can't (or shouldn't) change permissions on public_html?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Changing permissions on public_html
« Reply #1 on: November 19, 2005, 08:49:10 PM »
Hello Jon,

you should NOT change permissions for your public_html folder.
As it is stated in Sitemap Generator manual:
Make sure to set the following files permissions:

    * config.inc.php - 0666 (rw-rw-rw-)
    * data/ folder - 0777 (rwxrwxrwx)
    * /path/to/your/sitemap.xml - 0666 (rw-rw-rw-)
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.

jon

  • Registered Customer
  • Approved member
  • *
  • Posts: 8
Re: Changing permissions on public_html
« Reply #2 on: November 19, 2005, 09:18:46 PM »
Here is the path I've being given to the sitemap.xml file:

/home/learnout/public_html/sitemap.xml

Since it goes through public_html I guess I'm confused.  ???

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Changing permissions on public_html
« Reply #3 on: November 20, 2005, 01:18:39 AM »
You should create a /home/learnout/public_html/sitemap.xml file and CHMOD it to 0666.
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.

jon

  • Registered Customer
  • Approved member
  • *
  • Posts: 8
Re: Changing permissions on public_html
« Reply #4 on: November 20, 2005, 02:28:56 AM »
Gothca.  The way the directions read I thought the entire path had to be CHMODed to 666.  Thanks!

dans

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
Re: Changing permissions on public_html
« Reply #5 on: December 04, 2005, 10:31:43 PM »
Are there other methods of changing permissions to the sitemap.xml file other than the chmod command?

My host server says, "No."
« Last Edit: December 04, 2005, 10:33:24 PM by dans »

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Changing permissions on public_html
« Reply #6 on: December 06, 2005, 03:06:13 PM »
Hi,


did you tried to set a corresponding permissions using FTP client software? If yes, what is the error message you get?
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.

dans

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
Re: Changing permissions on public_html
« Reply #7 on: December 11, 2005, 05:12:51 PM »
[external links are visible to admins only]
Hi,


did you tried to set a corresponding permissions using FTP client software? If yes, what is the error message you get?


It seems I  can't FTP back in...some problem.  I'm contacting the hosting company for them to check it out.

My site's control panel only allows for permission settings at the directory level.  Can I stick the sitemap.xml file in its own folder and have PHP XML Sitemap generator AND Google find it there?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Changing permissions on public_html
« Reply #8 on: December 11, 2005, 05:46:22 PM »
dans,

Google allows inclusion of URLs that reside in the same folder as sitemap file or below only.

For the "site wide" sitemap it means that it HAS TO be in the root of site.
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.

dans

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
Re: Changing permissions on public_html
« Reply #9 on: December 11, 2005, 06:26:46 PM »
What is the typical FTP port?  21?  My host administrator may have unknowingly blocked me.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Changing permissions on public_html
« Reply #10 on: December 12, 2005, 11:43:04 PM »
Yes, standard FTP port number is 21.
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.

dans

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
Re: Changing permissions on public_html
« Reply #11 on: December 16, 2005, 01:18:51 PM »
[external links are visible to admins only]
Hello Jon,

you should NOT change permissions for your public_html folder.
As it is stated in Sitemap Generator manual:
Make sure to set the following files permissions:

    * config.inc.php - 0666 (rw-rw-rw-)
    * data/ folder - 0777 (rwxrwxrwx)
    * /path/to/your/sitemap.xml - 0666 (rw-rw-rw-)

Why doesn't the individual who own this site put in BIG BOLD LETTERS...DOES NOT WORK WITH WINDOWS SERVERS!

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Changing permissions on public_html
« Reply #12 on: December 16, 2005, 01:32:25 PM »
dans,

the Standalone Generator will work with most of windows-based servers without setting the file/directories permissions.
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.

dans

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
Re: Changing permissions on public_html
« Reply #13 on: December 16, 2005, 01:36:18 PM »
[external links are visible to admins only]
dans,

the Standalone Generator will work with most of windows-based servers without setting the file/directories permissions.

There's hope?

I continue to get "Error Occured."  Sitemap file is not writable: [external links are visible to admins only] domain/sitemap.xml

Is there a work around?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Changing permissions on public_html
« Reply #14 on: December 16, 2005, 03:02:24 PM »
Private message sent to get more details.
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