# |
Feb 14th 2013, 00:24 |
emocakes |
ten! |
# |
Feb 14th 2013, 00:20 |
ten1 |
http://snapshotmedia.co.uk/blog/why-you-shouldnt-use-ftp |
# |
Feb 14th 2013, 00:16 |
freebir |
i don't t hink so |
# |
Feb 14th 2013, 00:16 |
ten1 |
the other option, as mentioned, is to check what cake version you have, and then copy all of the htaccess files for that version from github |
# |
Feb 14th 2013, 00:15 |
ten1 |
there may be a gui to add it |
# |
Feb 14th 2013, 00:14 |
ten1 |
you need to have your public key in ~/.ssh/authorized_keys |
# |
Feb 14th 2013, 00:13 |
ten1 |
you have ssh access, yeah? |
# |
Feb 14th 2013, 00:13 |
freebir |
they are a simples server, nothing much |
# |
Feb 14th 2013, 00:13 |
freebir |
ten1, that's the problem, I've tryed ssh, but I get timeout |
# |
Feb 14th 2013, 00:12 |
freebir |
how can I access them ?? |
# |
Feb 14th 2013, 00:10 |
ten1 |
but the other outlined ways to access them will solve the problem |
# |
Feb 14th 2013, 00:09 |
ten1 |
really I'm not sure if that prevents ftp access to them |
# |
Feb 14th 2013, 00:09 |
ten1 |
well |
# |
Feb 14th 2013, 00:09 |
ten1 |
the web server won't serve those files |
# |
Feb 14th 2013, 00:09 |
freebir |
that's the only way out ? because it use to work ok, not sure why, stopped |
# |
Feb 14th 2013, 00:08 |
freebir |
ten1, I've used ssh before, |
# |
Feb 14th 2013, 00:08 |
ten1 |
it's unlikely that you can have a career as a web developer without having familiarity with ssh and git |
# |
Feb 14th 2013, 00:07 |
ten1 |
so you can [a] copy it from the matching version on github, or [b] join the 21st century with using sftp and/or git |
# |
Feb 14th 2013, 00:06 |
freebir |
the question is, how do I copy that file for me ? |
# |
Feb 14th 2013, 00:06 |
freebir |
and you're right I did not copy the .htaccess, I also think that's thep roblem |
# |
Feb 14th 2013, 00:06 |
ten1 |
yes, it will usually deny access to .htaccess |
# |
Feb 14th 2013, 00:06 |
ten1 |
as if the url is useful |
# |
Feb 14th 2013, 00:05 |
freebir |
ten1 |
# |
Feb 14th 2013, 00:05 |
freebir |
lokanterrier.com.br/novo/ this is the site |
# |
Feb 14th 2013, 00:05 |
freebir |
forbidden |
# |
Feb 14th 2013, 00:05 |
freebir |
ten1, but if I try to access the .htaccess I get a denied access |
# |
Feb 14th 2013, 00:04 |
ten1 |
freebir: so that won't copy dotfiles, obvs. There have been better methods than FTP for file transfers since about fifteen years ago |
# |
Feb 14th 2013, 00:04 |
vl4kn0 |
thanks |
# |
Feb 14th 2013, 00:04 |
vl4kn0 |
ten1: but configure::write works |
# |
Feb 14th 2013, 00:03 |
vl4kn0 |
ten1: yes, but I decide on which format I'm going to be using depending on the URL |
# |
Feb 14th 2013, 00:02 |
ten1 |
vl4kn0: from the config? so this info is already in Configure ? |
# |
Feb 14th 2013, 00:02 |
vl4kn0 |
ten1: I "figure out" from the config the datetime format user uses and want to use it in views |
# |
Feb 14th 2013, 00:02 |
freebir |
ten1, |
# |
Feb 14th 2013, 00:02 |
freebir |
using ftp, just a normal drag and drop |
# |
Feb 14th 2013, 00:01 |
ten1 |
freebir: yes |
# |
Feb 14th 2013, 00:01 |
ten1 |
it's usually best to explicitly pass information if you can help it |
# |
Feb 14th 2013, 00:01 |
freebir |
ten1, sorry man, what was the question ? I didn't see it, how I copyed the files ? is that it ? |
# |
Feb 14th 2013, 00:01 |
ten1 |
vl4kn0: what are you storing? |
# |
Feb 14th 2013, 00:01 |
ten1 |
vl4kn0: configure::write, or the session |
# |
Feb 14th 2013, 00:01 |
ten1 |
freebir: your apache logs should tell you something, but you could answer the question I asked |
# |
Feb 14th 2013, 00:00 |
vl4kn0 |
Hi, is there a place where I could store some data during the entire request? Something like registry that can I access from controller/model/view ? |