• Welcome to Sitemap Generator Forum.
 

Changing permissions on public_html

Started by jon, November 19, 2005, 08:06:12 PM

Previous topic - Next topic

jon

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

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

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


jon

Gothca.  The way the directions read I thought the entire path had to be CHMODed to 666.  Thanks!

dans

#5
Are there other methods of changing permissions to the sitemap.xml file other than the chmod command?

My host server says, "No."

XML-Sitemaps Support

Hi,


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

dans

Quote from: admin 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?


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

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.

dans

What is the typical FTP port?  21?  My host administrator may have unknowingly blocked me.


dans

Quote from: admin 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-)

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

XML-Sitemaps Support

dans,

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

dans

Quote from: admin 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.

There's hope?

I continue to get "Error Occured."  Sitemap file is not writable: http://my domain/sitemap.xml

Is there a work around?