Web Hosting Talk







View Full Version : .htaccess?


cisites
12-10-2000, 10:15 PM
Question about the .htaccess file on a RaQ3. I created it an put in my my main directory for a redirection reason. And that's working fine. However, it's no longer in my main directory. Anyone know where it went?

MarkH
12-11-2000, 12:14 AM
Are you trying to view it through a web-browser? Apache is, by default, configured to hide any files begining .ht from being seen through http.

If you fancy hacking your httpd.conf file you can change this, although it's better not to.

If you're not looking through a browser, then I have no idea :-)

webfors
12-11-2000, 12:51 AM
ls -ails

That shows all hidden files and their attributes. Not sure where it could have gone. I doubt very much it just got up and walked to another directory. :)

Chicken
12-11-2000, 01:19 AM
I hear it happens every now and then :)

You can't see it when you FTP in, right? Of course. In your FTP client, find the option for 'Remote File Mask' and put this there:

-a

(Presto, there it is! It was just hiding -shhhhhhh)

cisites
12-11-2000, 08:07 PM
I'm using CuteFTP and found that spot, but it dodn't bring back my .htaccess. In fact I even lost my html files for a minute. Any ideas?

Greg
12-11-2000, 08:32 PM
My WSFTP Pro does that sometimes too, just log off and try again. Try typing -al into that area as well as -a. If it makes everything disappear....it's all still there, you just can't see it, so try again.