Welcome Guest, Not a member yet? Register   Sign In
problem with publishing a project
#1

[eluser]joe_h[/eluser]
Greetings, I have to publish a project with a dns name ... proyecto.domain.com, when I set the base_path I put that address, I get the home page fine, but when I try to start, I get a 500 error because the direction is trying to verify this: http://proyecto.domain.com/login/autenticar when in fact this project is in my www (I use wamp) in a folder called project.

I remove the index.php with htaccess file is as follows:
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /proyecto
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /proyecto/index.php
</IfModule>


I wonder if there is something special about using the project in a different way to keep in the base_path localhost.

I have enabled the rewrite module also

No it might be.

Thanks in advance
#2

[eluser]jairoh_[/eluser]
try to replace ur .htaccess w/ this
Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]

and empty your $config[ 'index_page' ] in the config
#3

[eluser]joe_h[/eluser]
I test your solution but i canĀ“t solve .




Theme © iAndrew 2016 - Forum software by © MyBB