CodeIgniter Forums
problem with publishing a project - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: problem with publishing a project (/showthread.php?tid=58365)



problem with publishing a project - El Forum - 06-06-2013

[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



problem with publishing a project - El Forum - 06-06-2013

[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


problem with publishing a project - El Forum - 06-20-2013

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