am25 / googlesitemapgenerator

Automatically exported from code.google.com/p/googlesitemapgenerator
Apache License 2.0
0 stars 0 forks source link

Specify site root manually #143

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Don't specify DocumentRoot in the VirtualHost
2. Use something like <Location />, or WSGIScriptAlias / something.wsgi
3. The Google Tool can't find the DocumentRoot

What is the expected output? What do you see instead?
The one that is generated.

What version of the product are you using? On what operating system?
Ubuntu Server i386.

Please provide any additional information below.
In order to fix this, an option to manually specify the DocumentRoot in the 
sitemap site configuration would be appreciated. I'd use this tool if only I 
could do that. I have these entries without a DocumentRoot because a 
DocumentRoot would allow things like downloading my websites source code.. Not 
good! If there was a manual way to specify the document root, then it would be 
able to know where to store the sitemap. Better yet, include the manual 
DocumentRoot option, and also allow us to specify where to save the sitemap 
file with filepaths. The current implementation for that only allows 
"sitemap.gz", but specifying "static/sitemap.gz" would be much better.

Original issue reported on code.google.com by roejame...@gmail.com on 25 Oct 2010 at 12:56