GetSimple Support Forum
Corrupt .htaccess file? - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Installation & Setup (http://get-simple.info/forums/forumdisplay.php?fid=5)
+--- Thread: Corrupt .htaccess file? (/showthread.php?tid=1489)



Corrupt .htaccess file? - chefbyte - 2011-03-29

Hi,

Just gave 3 a spin and installed ok as per instructions, tried to sign in and got an internal server error.
I changed the RewriteBase to reflect my sub folder
All folders and files CHMOD as per instructions

Quote:.htaccess Existance
/data/ Good 'Deny' file - OK
/data/uploads/ Good 'Allow' file - OK
/data/thumbs/ Good 'Allow' file - OK
/data/pages/ Missing file - Warning
/plugins/ Good 'Deny' file - OK
/data/other/ Missing file - Warning
/data/other/logs/ Missing file - Warning
/theme/ No file - OK

if I rename .htaccess in the root folder, I can log into the site and view all and the health check is all ok?


Corrupt .htaccess file? - yojoe - 2011-03-29

Paste here your .htaccess content and /data/other/website.xml.


Corrupt .htaccess file? - chefbyte - 2011-03-30

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>