the default .htaccess needs a valid RewriteBase

Bug #911881 reported by Leo Unglaub
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chive
Confirmed
Low
Rene

Bug Description

Hi,
in some cases chive don't work as expected if there is no valid RewriteBase defined in the .htaccess file. Maybe you can add a default RewriteBase / for all cases.

In my special case i added chive to all vhosts on a server with a vhost include. So every vhost has /chive available. But if you do that with Alias /chive /var/www/chive you can't call the site without the index.php. You HAVE to add it every time. So you need a RewriteBase /chive or all rules are matching those ones:

# otherwise forward it to index.php
RewriteRule . index.php?__chive_rewrite_on=1&%{QUERY_STRING}
RewriteRule ^$ index.php?__chive_rewrite_on=1&%{QUERY_STRING}

I hope that helps people who had the same problem.

Greetings
Leo

Revision history for this message
David Roth (davrot) wrote :

Thanks for your report.

Changed in chive:
importance: Undecided → Low
status: New → Confirmed
David Roth (davrot)
Changed in chive:
assignee: nobody → Rene (rponudic)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.