htaccess issue?

Having trouble installing serendipity?
Post Reply
TopDawg
Regular
Posts: 46
Joined: Thu Sep 14, 2006 5:15 pm
Location: Euclid, Ohio
Contact:

htaccess issue?

Post 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! :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: htaccess issue?

Post by garvinhicking »

Hi!

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

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
TopDawg
Regular
Posts: 46
Joined: Thu Sep 14, 2006 5:15 pm
Location: Euclid, Ohio
Contact:

Post by TopDawg »

Out of curiosity, what causes this? I have the DirectoryIndex specified in my httpd.conf file...does s9y's .htaccess override that?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

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

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
TopDawg
Regular
Posts: 46
Joined: Thu Sep 14, 2006 5:15 pm
Location: Euclid, Ohio
Contact:

Post by TopDawg »

cool...thanks again for your help! :)
Post Reply