Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Corrupt .htaccess file?
#3
yojoe Wrote:Paste here your .htaccess content and /data/other/website.xml.

htaccess

Code:
AddDefaultCharset UTF-8
Options -Indexes

# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
    Order allow,deny
    Deny from all
    Satisfy All
</Files>
<Files sitemap.xml>
        Order allow,deny
    Allow from all
    Satisfy All
</Files>

RewriteEngine on

# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase **/newsite1/**

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]

website.xml
Code:
<?xml version="1.0"?>
<item><SITENAME><![CDATA[55002 KOYLI]]></SITENAME><SITEURL><![CDATA[http://www.55002koyli.com/newsite1/]]></SITEURL><TEMPLATE><![CDATA[Innovation]]></TEMPLATE><PRETTYURLS></PRETTYURLS><PERMALINK></PERMALINK></item>
Pete

Chefbyte Services
Reply


Messages In This Thread
Corrupt .htaccess file? - by chefbyte - 2011-03-29, 20:51:14
Corrupt .htaccess file? - by yojoe - 2011-03-29, 21:52:44
Corrupt .htaccess file? - by chefbyte - 2011-03-30, 01:08:33



Users browsing this thread: 1 Guest(s)