Page 1 of 1

htaccess issue?

Posted: Mon Feb 11, 2008 3:01 am
by TopDawg
Hello! I'm starting a new site for local musicians to get in contact with each other where I want to have a s9y blog in the root directory followed by a phpBB forum in a /forums/ subdirectory.

When I attempted to install s9y yesterday, the .htaccess file made it so that any reference to the forums/ directory itself returned a 403 forbiden error. As would be expected, you could still access the forums by going to /forums/index.php.

I have uninstalled s9y (and the .htaccess code) from my root directory and returned to having my root index redirect to the forums for now, but how do I edit my .htaccess file so that I can reference domain.com/forums/ without having to include "index.php" without:

a. 403 errors
b. s9y returning the root index instead of the forum index

Thanks ahead of time! :)

Re: htaccess issue?

Posted: Mon Feb 11, 2008 4:16 pm
by garvinhicking
Hi!

Inside the .htaccess file you need to use "DirectoryIndex index.php" for example.

Regards,
Garvin

Posted: Mon Feb 11, 2008 4:19 pm
by TopDawg
Out of curiosity, what causes this? I have the DirectoryIndex specified in my httpd.conf file...does s9y's .htaccess override that?

Posted: Mon Feb 11, 2008 4:24 pm
by garvinhicking
Hi!

Yes, s9y sets that to its index file so that you can use URL rewriting.

Regards,
Garvin

Posted: Mon Feb 11, 2008 4:29 pm
by TopDawg
cool...thanks again for your help! :)