Welcome Guest, Not a member yet? Register   Sign In
404 Page Not Found The page you requested was not found.
#1

(This post was last modified: 07-20-2017, 05:11 PM by luisoswal29.)

Hi friends, I'm Luis
You could help me please
I encounter this error 404 I want to make an intranet with codeigniter 3 and when I upload it to my server I get this error 404

Currently I still have the codeigniter architecture, I do not edit the architecture in any moment

[Image: 1.PNG]
This is my configuration to connect to database
[Image: 2.PNG]

This is the configuration of my file config.php

[img] Https://www.cladea.org/codeigniter/3.PNG[/img]


Being on my website and inspecting the web I get an error, that error does not allow me to view my system on the internet

[Image: 4.PNG]

You can also see it in the following url: https://www.cladea.org/cladeaintranet/ 

my file .htacces is the following


Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|robots\.txt|sitemap\.xml|plantilla)
RewriteRule ^(.*)$ index.php/$1 [L]

The section template is where I call my files as images, css, js and fonts

Please wait for your help many thanks in advance
Reply
#2

I moved this post to the regional subforum, as the rest of the CI forum is English only.
Reply
#3

Na imagem com as configurações do Banco de Dados, você colocou "https://www.cladea.org" no hostname, isso não é necessário em conexões MySQL. Se o servidor MySQL está na mesma máquina, você pode simplesmente pôr "localhost" ou o hostname sem o protocolo HTTP na frente.

Quanto ao Erro 404; se você quer o CodeIgniter na URL "https://www.cladea.org/cladeaintranet/" então abra o arquivo "application/config/config.php" e defina a variável $config['base_url'] igual a URL citada, com a barra no final.

$config['base_url'] = 'https://www.cladea.org/cladeaintranet/';

E, se sua aplicação está dentro da pasta "cladeaintranet", coloque o .htaccess nessa mesma pasta.

Teste.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB