PDA

View Full Version : where is .htaccess?


josh929
3-19-02, 08:52 PM
about .htaccess...

where do i find this file? if it's not there, and i want to modify something (example: subdomains), do i create a .htaccess file?

Ajarn
3-19-02, 09:54 PM
Just make a blank file in notepad or whatever. Call it .htaccess, then upload it in ascii mode.

Coco
3-19-02, 11:50 PM
Just so you know. A windows OS will not allow you to actually create a .htaccess file. Instead what you do to make one is create a file called htaccess.txt then upload it in ascii mode. Once it is on the server rename the file from htaccess.txt to .htaccess.

Once the file is renamed to .htaccess it is possible to download it and have it on your comp but if you rename it while on a windows OS you will not be able to rename it to .htaccess without reuploading first.

Ajarn
3-20-02, 01:43 AM
Yes, thanks, I forgot that step.
You can make a .htaccess, but it will show as .htaccess.txt

You don't need to upload first before renaming though. You can rename it (drop the '.txt') before you upload, at least in ws_ftp

Rick_E
3-20-02, 02:19 AM
My .htaccess file does not show up when FTPing with Procomm and is seems it isn't there. But when I use Windows Explorer "My Network Places" it appears. I can edit it with the old DOS edit program. Start... Run... Edit...