[eluser]Buso[/eluser]
[quote author="jedd" date="1257917222"]ObDisclaimer - I know nothing about matchbox.
Permissions and diff. What tools are you using to replicate your site? If you are running an SVC of some sort it's easy and convenient to use that to distribute new copies up to the production environment. I suspect you are not, though. (?)
I use [url="http://www.cis.upenn.edu/~bcpierce/unison/"]unison[/url] to synchronise data between machines - cross platform, nice front end. You could use rsync if you like, but more complex to set up. Unison highlights permission differences on each end, which can be handy for identifying potential problems.
You didn't mention what platforms you're working between. I'm
guessing a GNU/Linux distro on one end, and a Microsoft Windows Something platform on the other.
Longer term I can recommend you develop on the same platform you're deploying to. Yes, you shouldn't have to - but it's just so much easier, and isn't a huge amount of effort to set up a local environment (virtualisation is $-free these days).
diff is a command line utility that will output the differences between two files.
Very handy indeed. kdiff3 is a GUI tool that does much the same, for KDE users. I suspect you're not a CLI kinda person, or that you're using KDE. It'd be handy here because it'd make it very easy and fast to see the changes between your dev and prod config files.
diff is also very useful when you go back to work out what files you changed from the default CI core files - mostly because it gives the clearest insight into what files you (may) have to change when you shift platforms, such as the shift to production. A versioning system would also allow this level of examination, too. This is the point that I plug [url="http://git-scm.com/"]git[/url]. Similarly just making a note in every config file that you change is a good start - I use an ISO8601 date, my name, and a precis of the change (for non-obvious ones). A grep for 'jedd' in my config directory makes this stuff stand out like the proverbial.
.htaccess files are often a problem, because even when they're the same at both ends, they behave differently. I've seen some nasty (to solve) problems where I've moved from /var/www (default doc root for my apache instance) to ~/public_html/ - using a generic .htaccess file.
You may want to experiment with changing this line:
Code:
RewriteRule .* index.php/$0 [PT,L]
... to either of these:
Code:
RewriteRule ^(.*)$ index.php/$1 [L]
RewriteRule ^(.*)$ ./index.php/$1 [L]
You mentioned routes - have you modified your config/routes.php file?[/quote]
ill have to bookmark this an read it again tomorrow >_>
routes.. no, I couldnt make my short urls work, so I discarded them (for now). I mentioned them because im using matchbox, and that could be a problem (but i think it isn't)
thanks for your help, i will try that changes in the htaccess and go to sleep..
but dont miss me, ill be spamming here again tomorrow =P