mod_rewriting and 404

Having trouble installing serendipity?
Post Reply
ollerich
Posts: 3
Joined: Tue Mar 22, 2005 10:44 am

mod_rewriting and 404

Post by ollerich »

Hello everybody, hello garvin ;-),

I'm testing s9y with the actual beta on a debian sarge system.
When I switch in the configuration menu the URL rewriting from no rewriting to Apache mod_rewrite, and I select any internal link in s9y the following error occurs:

Code: Select all

The requested URL /serendipity/archives/XXX.html was not found on this server.
where XXX is the filename. When I switch back to disable url-rewriting, everything works fine again.

Any hint?

Thanks in advance,

Oliver

PS:
the httpd.conf for s9y looks like this:

Code: Select all


Alias /serendipity /var/www/serendipity
<Location /serendipity>
 Order deny,allow
 Allow from all
 AllowOverride All
</Location>


<VirtualHost 192.168.2.101:80>
  DocumentRoot /var/www/serendipity
  ServerName xxx.XXX.XX
</VirtualHost>
[/code]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: mod_rewriting and 404

Post by garvinhicking »

If you enable mod_rewrite rewriting, you need to make sure your Apache supports mod_rewrite. As it seems, it doesn't. :-)

Try the "Apache Errorhandling", that should work in your case.

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/
Post Reply