I want to have drupal do news sections and pages within our main directory. Currently, the site is on coldfusion, and has an index.cfm which is set in apache as the main page. I can get drupal installed, but whenever I go to any page it defaults back to just showing our current main page.

Is there a way to have drupal and have the site as is but still run drupal and have it create new pages WITHOUT having to have index.php be the main page? I would want index.cfm to come up, but if someone goes to www.domain.com/a-page-by-drupal.php, the drupal page would come up.

Anyway around it? I can get it to work in a second directory, but I want it to be in the main directory so it can flow seamlessly with the site.

thanks!
decon

Comments

jsloan’s picture

If you want to use something other than index.php try this:

1. rename index.php to test.php

2. edit the url() function in common.inc.
Find this line:

$script = (strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') === false) ? 'index.php' : '';

...and change to this:

$script = 'test.php';