Hi

I got a single site install working on http://localhost/drupal no problems, including clean URLs. I'm using SUSE 10.0, apache 2.0.54, php 4.x

I would like to install a second site using the same codebase but different database on
http://localhost/drupal/test

(ie no virtual hosts, rewrite rules only - at least as far as possible)

+ Is this possible?
+ can I do it with just rewrite rules drupal's .htaccess?
+ do I have to modify apache's httpd.conf?

So far no luck myself :(

Cheers
Karl

Comments

KarlM’s picture

Oh, forgot to say:
Currently I get an 'Access Denied' web page and
in the apache error log:
Directory index forbidden by rule: /srv/www/htdocs/drupal/test/

thememex’s picture

I'm getting the exact same behavior with Drupal 6.2, Red Hat 5, Apache 2.2.3, MySQL 5.0.22, PHP 5.1.6.

This is a brand new install, and I have just the core modules (nothing added). And this is multi-site. I have two sites sharing the same code and database table. Both sites use different db_prefixes, and I've had the same results with completely separate spaces as well as sharing the 'users', 'roles', 'users-roles', 'authmap', and 'sessions' tables.

As an admin, I can login, created a page and promoted to front, create menus, etc. I set the permissions on 'Anonymous' to "access content". When I log out, the anonymous user get 'Access denied' on the homepage. The Anonymous user can see the menus, block changes, template, etc, just not any content.

I created an account called 'user' in the 'authenticated users' role. This user can view the homepage.
I created an account called 'anon' in the 'anonymous users' role. This user can view the homepage.

When I'm logged out, all content pages return 'Access denied.'

My

_node_access tables each have just one entry: 0, 0, all, 1, 0, 0 Please tell me that I've missed an incredibly easy step here.