htaccess noob q
- Started
- Last post
- 13 Responses
- vsc
good day all. when you upload a .ht files + other files via fpt client (FileZilla in my case) with transfer type set to "auto", does it aplly ascii to the .ht files or everything goes up as binary? thx!
- unfittoprint0
most FTP programs will have a preset list of files to be transferred in ascii and will upload / download everything else in binary.
chck to see if they're on the appropriate list:
/* LIST */
ASCII Files
.htm .html .shtml .php .pl .cgi .js .cnf .css
.forward .htaccess .map .pwd .txt .grp .ctlBinary Files
.jpg .gif .png .tif .exe .zip .sit .rar .ace
.class .mid .ra .avi .ocx .wav .mp3 .au
- vsc0
olá unfit!
in the file list there's no .htaccess. should i add it?
- unfittoprint0
sure.
is it 4 an Apache server?
I'm messing right now with mod_rewrite and .htaccess
to change this type of URLs
http://site.com/index.php?cid0=1…to 'human readable paths'
http://site.com/products/product…a real bitch....
- vsc0
yes. Apache. I think i will have troubles further on, because the host has only PHP/4.3.10 and i was thinking of running a 5.0 script.. just noticed it now :(
oh, btw what's the syntax for add ing the ht: ".htaccess" or "." or "htaccess"? sorry for the trouble.
btw2 your links are not working. i like it when the $%php?page=aaargh!%&-etc show up, but i guess clients don't :)
- unfittoprint0
'.htaccess' is the right way
I'm too scripting in php5 and bitiching the fact that my host[s] still dealing with 4 only... cabrões.
and about those URLs....
web2.0.
4tehladies.
- UndoUndo0
you need to add a list mask of '-al' or '-a' to see the .htaccess file, as the file doesnt have a name (nothing before the .) many ftp programs dont list it
look for 'file mask' in yr ftp programs settings
- vsc0
thx undo. but i'm able to see the .ht's. FileZilla 2.2 has a "show hidden files" option. "-a" is not there, though.
unfit, you too with amen.pt?
- vsc0
ahahah unfit. didn't catch your innovative urls! foda-se quero férias catano.
- unfittoprint0
não.
using [some] hosting services from http://dri.pt , since I know these guys for a long time...
still.. amen? any good?
- vsc0
lol. acampar com muca é qu'é d'homem, caralho!
amen ok so far. fast/no e-mail problems. the control panel is not that good imo, but it's not a maze either. i bought this one for the client:
http://www.amen.pt/static/index_…
- unfittoprint0
yeah. pt hosts suck big donkey dick regarding user-friendly control panels, bandwidth/month and various extras.
ah
LOL@:
Flash (.swf) !
Java scripts !
Windows media player (.asx) !
Real Player (.ram) !....
see what I mean?
- vsc0
ahahahahah. i bet the boss did that list himself.
O que mais me chateia é que o painel é todo em inglês (e termos técnicos) e as estatísticas estão noutro painel e o caraças. Se quiseres passar o controlo do site ao cliente, estás frito.