The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RESOLVED: sitemap.xml 404s because default .htaccess file denies access to xml files
#1
Ok, so I just moved my GetSimple website over to a new server and now the sitemap.xml file 404s even though it physically exists on the server. My sysadmin says it's because xml files are blocked in the .htaccess file (which appears to be the case). How do I remedy the .htaccess file to allow sitemap.xml but still deny all other xml files for security reasons?

Running GS 3.2.1 would upgrading to 3.3.1 remedy that?

NEVER MIND - I FIGURED IT OUT BUT THE FORUM WON'T ALLOW ME TO DELETE MY POST. ADDED THE FOLLOWING CODE TO MY .HTACCESS FILE:
<Files sitemap.xml>
Order allow,deny
Allow from all
Satisfy All
</Files>
Reply


Messages In This Thread
RESOLVED: sitemap.xml 404s because default .htaccess file denies access to xml files - by grassfrog - 2014-05-16, 14:24:44



Users browsing this thread: 1 Guest(s)