jon

*
  • *
  • 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?
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-)

jon

*
  • *
  • 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.  ???
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.

jon

*
  • *
  • 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!
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 »
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?
Re: Changing permissions on public_html
« Reply #7 on: December 11, 2005, 05:12:51 PM »
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?
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.
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.
Re: Changing permissions on public_html
« Reply #11 on: December 16, 2005, 01:18:51 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-)

Why doesn't the individual who own this site put in BIG BOLD LETTERS...DOES NOT WORK WITH WINDOWS SERVERS!
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.
Re: Changing permissions on public_html
« Reply #13 on: December 16, 2005, 01:36:18 PM »
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 forum administrators only ] domain/sitemap.xml

Is there a work around?