Community

Cannot create first user (Administrator user)

Hi all,

I've finally install Drupal and all the needed system requirements.

Pointed my browser to the server I install Drupal on:

http://172.168.1.1/drupal/index.php

I click on the "Create new account" and it takes me to a Forbidden page (403) because of "-Indexes" option in my httpd.conf file.

The access_log file shows the following entry:

172.168.1.1 - - [23/Jun/2003:10:00:41 +1000] "GET /drupal/ q=user/register HTTP/1.0" 403 283

What am I doing wrong here ?

Thanks in advance.

Regards,

Comments

I 've located it the user.mod

I 've located it the user.module file

here we go:

$form .= form_submit(t("Log in"));

$output .= form($form, "post", url("user/login"));

$output .= "\n";

if (variable_get("user_register", 1)) {
$items[] = l(t("Create new account"), "user/register", array("title" => t("Create a new user account.")));
}

Is there anything wrong with this code or am I doing something wrong ?

Please help

Apache problem

I suspect this is a Apache (configuration) problem; what version of Apache are you using?

Apache 1.3.27 Nothing wron

Apache 1.3.27

Nothing wrong with httpd.conf

openbsd 3.3

I used drupal 4.1.0 and it worked fine. I'm not going to even bother with 4.2.1 as it wasted alot of my time.

Later

DirectoryIndex index.php

apparently, you don't have a "DirectoryIndex index.php" in your httpd.conf / drupal .htaccess. So "GET /drupal/?q=user/register" doesn't know that this request should be handled by index.php. does it work if you add that?

Very helpful

Thanks! I just started on drupal with big hopes and this got me bumped,
being redirected to my dir index.... was kinda annoying...
this has already helped me out i think :)

nobody click here