Object Not found - Apache Rewrite issue

Posted by Chris J. Lee on Server Fault See other posts from Server Fault or by Chris J. Lee
Published on 2011-06-27T16:12:19Z Indexed on 2011/06/27 16:24 UTC
Read the original article Hit count: 420

Filed under:
|

I'm pretty new to setting up apache locally with xampp. I'm trying to develop locally with xampp (Ubuntu 11.04) linux 1.7.4 for a Drupal Site.

I've actually git pulled an exact copy of this drupal site from another testing server hosted at MediaTemple.

Issue

I'll visit my local development environment virtualhost (http://bbk.loc) and the front page renders correctly with no errors from drupal or apache. The issue is the subsequent pages don't return an "Object not found" Error from apache. What is more bizarre is when I add various query strings and the pages are found (like http://bbk.loc?p=user).

VHost file

NameVirtualHost bbk.loc:*

<Directory "/home/chris/workspace/bbk/html">
        Options Indexes Includes execCGI
        AllowOverride None
        Order Allow,Deny
        Allow From All
</Directory>
<VirtualHost bbk.loc>
    DocumentRoot /home/chris/workspace/bbk/html
    ServerName bbk.loc
    ErrorLog logs/bbk.error
</VirtualHost>

BBK.error Error Log File:

[Mon Jun 27 10:08:58 2011] [error] [client 127.0.0.1] File does not exist: /home/chris/workspace/bbk/html/node, referer: http://bbk.loc/
[Mon Jun 27 10:21:48 2011] [error] [client 127.0.0.1] File does not exist: /home/chris/workspace/bbk/html/sites/all/themes/bbk/logo.png, referer: http://bbk.$
[Mon Jun 27 10:21:51 2011] [error] [client 127.0.0.1] File does not exist: /home/chris/workspace/bbk/html/node, referer: http://bbk.loc/

Actions I've taken:

Any ideas why mod_rewrite might not be working?

© Server Fault or respective owner

Related posts about apache

Related posts about mod-rewrite