07-13-2007, 10:19 AM
[eluser]giorg[/eluser]
Hi all,
first timer here ;-)
On my local machine I have my CI app working fine.
When I put my files in production (dreamhost) start the problems: at the beginning there was the "non input specified" alternate with the 404 error; reading a bit on the net I set my .htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php?/$1 [QSA,L]
</IfModule>
and in the config I have now
$config['uri_protocol'] = "AUTO";
(before was PATH_INFO). Now I can see my login page at http://myhost/login/index as expected, but after logged in at http://myhost/oggetti/index?item=concorso I get
The URI you submitted has disallowed characters: index&item=concorso
I've read if I enable query_string then the uri helper could not work as expected, and that would mean rewrite my whole application (undesiderable).
Any suggestion?
Thx a lot
Andrea
Hi all,
first timer here ;-)
On my local machine I have my CI app working fine.
When I put my files in production (dreamhost) start the problems: at the beginning there was the "non input specified" alternate with the 404 error; reading a bit on the net I set my .htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php?/$1 [QSA,L]
</IfModule>
and in the config I have now
$config['uri_protocol'] = "AUTO";
(before was PATH_INFO). Now I can see my login page at http://myhost/login/index as expected, but after logged in at http://myhost/oggetti/index?item=concorso I get
The URI you submitted has disallowed characters: index&item=concorso
I've read if I enable query_string then the uri helper could not work as expected, and that would mean rewrite my whole application (undesiderable).
Any suggestion?
Thx a lot
Andrea