PDA

View Full Version : Page misdirect problem.


CruelAngel
03-17-2006, 11:14 PM
I just setup vbDrupal and VB, both a fresh install and it all went in without a hitch, but whenever I try to submit settings on the drupal page it sends me to my "Index of /cgi-system" page. Also if someone tries to use the search feature I get the same them. If you backup it reloads your last page and the changes have taken effect.

Any idea what's causing this?

silurius
06-29-2006, 11:33 AM
Was this issue resolved? I am having the same problem whenever I save changes under administration. I assume there are other aspects to the problem as well.

silurius
06-29-2006, 05:47 PM
Just to clarify, making any setting change, be it switching themes or changing a role, I get taken to http://www.MYSITE.COM/cgi-system/?q=admin/themes. My Drupal directory is actually located in a folder under my main site. Not sure why it points to cg-system folder.

silurius
06-30-2006, 10:02 AM
Fixed. I read this (http://drupal.org/node/64276) and this (http://drupal.org/node/60139) Drupal thread, and replaced:

$base_url = 'http' . (isset($_SERVER['HTTPS']) ? $_SERVER['HTTPS'] == 'on' ? 's' : '' : '');
$base_url .= '://' .$_SERVER['HTTP_HOST'];
if ($dir = trim(dirname($_SERVER['SCRIPT_NAME']), '\,/')) {
$base_url .= "/$dir";
}

with this:

$base_url = 'http://www.MYSITE.com/mydrupalpath';

Problem seems to have to do with my vBDrupal being in a subdirectory of my site. Strange that this didn't affect my other Drupal sites.

sifuhall
06-30-2006, 11:06 AM
I'm glad you found that. I had been search at drupal but was not able to find anything yet.