htaccess allow folder access

Having trouble installing serendipity?
Post Reply
Xanthouos
Regular
Posts: 115
Joined: Wed Mar 02, 2005 6:59 pm
Contact:

htaccess allow folder access

Post by Xanthouos »

I have s9y installed on the root, and need to install another cms in a folder, but the s9y doesn't allow access to that folder.
I was suggested to in the folder, create an htacess with:
<Directory>
Allow From All
Satisfy Any
</Directory>

that gave me a 500 and 404

How can I modify the root htacces to allow /newfolder to act independently and fully.

thanks.
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: htaccess allow folder access

Post by Don Chambers »

Well, if you are using URL rewriting in the root folder (highly recommended if available), then you could use this in your sub folder's htaccess:

Code: Select all

RewriteEngine Off
DirectoryIndex index.php
you can replace index.php with whatever your actual index file name is.
=Don=
Post Reply