.htaccess

jedirockmaster

Joined: 2005-07-24
Posts: 1
Posted: Sun, 2005-07-24 10:28

Hi there,

Im having trouble with the .htaccess file. I have corectly saves the blank (ie. havent left it with a .txt extension), but because of the dot, it seems to be treating it as an unknown file extension. WS_FTP says "prohibited file name: .htaccess" and the file manager on the web site says something like "invalid file extension" and wont let me do it that way. I have also tried uploading it with different extension, then changing it to .htaccess, but it wont let me.

If anyone could help, it would be greatly appreciated.

Cheers

PS. the site is http://free.hostultra.com/~jedirockmaster/

 
Jordan_01002

Joined: 2005-02-14
Posts: 1535
Posted: Sun, 2005-07-24 12:22

Not knowing what OS your server runs (thanks for filling out the required information), it's hard to give a suggestion. If it's *nix and you have shell access, I'd suggest logging on and just using touch .htaccess to create it. If it's something else or you don't have shell access... well, I don't feel like typing out all the different possibilities of ways to do it. If you're too lazy to fill out the information we ask for to help you, I guess I can be too lazy to do the extra work you force me to do as a result. You might want to look at FAQ Gallery:c.19 and note the information linked there about wsftp, though.