SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Guru
    Join Date
    Oct 2001
    Location
    USA
    Posts
    764
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question How can I make .htaccess files show up in ftp?

    For some reason I can't see my .htaccess files when I login via ftp. Is there a way to make these files visable? I know there is actually cause I use to be able to see them. How can I get it back like that? Also is there a place where I can view all my .htaccess fiels and their locations through webmin? Thanks in advance.

  2. #2
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, if you're sure you're looking in the right places, I suppose your FTP client may have them blocked. What client are you using? -- and try the options et cetera to see if it is purposely hiding any files from you.

    -Colin
    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.

  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2000
    Location
    Northern California
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you are using WS-ftp-le
    you can type
    -la
    in the white box;
    then refresh;
    then you should be able to view on the server side your htaccess file/s

    hth

    humanz
    "...Planet lurches to the right as ideologies engage/suddenly it's
    repression, moratorium on rights/what did they think the politics of
    panic would invite/the person on the street shrugs "security comes
    first"/but the trouble with normal is it always gets worse!" -- Bruce Cockburn

  4. #4
    SitePoint Guru
    Join Date
    Oct 2001
    Location
    USA
    Posts
    764
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm using cute ftp pro.

  5. #5
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use CuteFTP Pro 2.0 as well -- and I can see my .htaccess files fine. I've checked through all of the settings and cannot seem to find anything that would cause CuteFTP Pro to hide the files. Not to sound condescending, but you are positive that the .htaccess files are there?

    -Colin
    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.

  6. #6
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you want them to show up simply so you can delete them, there's an easier way. Just create a blank htaccess file, upload that and overwrite the old one.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  7. #7
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    talk to your sysadmin

    As stated on this page

    http://www.uk2raq.com/raqfaq/raqfaqall.php#26

    26. How do I get '.' (ie ".htaccess") files to show during an FTP session? [Top]


    Easy, Login to your Raq via SSH/Telnet:

    su
    <ENTER YOUR ROOT PASSWORD WHEN PROMPTED>
    cp /etc/proftpd.conf /etc/proftpd.conf.bak # backup the original one
    pico -w /etc/proftpd.conf
    Now locate the <Global> </Global> TAGS
    If they dont already exist, Insert them towards the end of the file
    Assuming no tags were found, if they were, dont add them again, just insert the LsDefaultOptions "-a" line!

    <Global>
    LsDefaultOptions "-a"
    </Global>
    Then save the file, and exit SSH/Telnet
    No restart of anything is required!
    The next time anyone FTP's in, all the '.' (hidden) files will be shown ie ".htaccess"

  8. #8
    SitePoint Guru
    Join Date
    Oct 2001
    Location
    USA
    Posts
    764
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Aes
    I use CuteFTP Pro 2.0 as well -- and I can see my .htaccess files fine. I've checked through all of the settings and cannot seem to find anything that would cause CuteFTP Pro to hide the files. Not to sound condescending, but you are positive that the .htaccess files are there?

    -Colin
    Yes there are a ton of them. I knew it had nothing to do with cuteftp.

  9. #9
    SitePoint Guru
    Join Date
    Oct 2001
    Location
    USA
    Posts
    764
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by creole
    If you want them to show up simply so you can delete them, there's an easier way. Just create a blank htaccess file, upload that and overwrite the old one.

    No I don't want to delete them....I knew about that trick.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •