Where is the .htaccess

Discussion in 'Mac OS X Lion (10.7)' started by agentgore99, Apr 24, 2012.

  1. agentgore99 macrumors newbie

    Joined:
    Sep 5, 2011
    Location:
    Clarksville, TN, USA
    #1
    I'm currently developing a website locally and i want to edit the error 404 file not found page but i need to know where the .htaccess is does anyone know?
     
  2. bradl macrumors 68040

    bradl

    Joined:
    Jun 16, 2008
    #2
    If it isn't being done globally in the httpd.conf file, a simple

    Code:
     find / -name .htaccess -print 
    should find all of the .htaccess files you need. This is run at the Unix shell, so you know (you'll need to run Terminal at the least).

    BL.
     
  3. agentgore99 thread starter macrumors newbie

    Joined:
    Sep 5, 2011
    Location:
    Clarksville, TN, USA
    #4


    i got this:

    find: /.DocumentRevisions-V100: Permission denied
    find: /.MobileBackups: Permission denied
    find: /.Spotlight-V100: Permission denied
    find: /.Trashes: Permission denied
     
  4. Bear macrumors G3

    Joined:
    Jul 23, 2002
    Location:
    Sol III - Terra
    #5
    The file .htaccess won't exist unless you have created it. For more information about .htaccess see Comprehensive guide to .htaccess and .htaccess (Wikipedia).
     

Share This Page