I am new to codeigniter and I am trying to build a registration page using it. When I am calling a function in the controller the server returns "The requested URL /Users/actionRegister was not found on this server" error.
I changed the .htaccess file and rewrite_mode on apache modules was started.
<?php echo form_open('Users/actionRegister'); ?>
<div class="form-group">
<input type="text" name="name" class="form-control" id="name" placeholder="Name">
</div>
<div class="form-group">
<input type="text" name="username" class="form-control" id="username" placeholder="User Name">
</div>
<div class="form-group">
<input type="text" name="email" class="form-control" id="email" placeholder="Email">
</div>
<div class="form-group">
<input type="password" name="password" class="form-control" id="password" placeholder="Password">
</div>
<div class="form-group">
<input type="password" name="confirm_password" class="form-control" id="confirm-password" placeholder="Confirm Password">
</div>
<div class="form-group pull-right">
<button type="submit" id="register" class="btn btn-primary">Register</button>
</div>
</div>
<?php echo form_close(); ?>
Could you please help me to fix this error?