Closed Thread
Results 1 to 10 of 10

Thread: default .htaccess

  1. #1
    Fedlerner's Avatar
    Fedlerner is offline Retired Fedlerner is an unknown quantity at this point
    Join Date
    Aug 2006
    Location
    Buenos Aires, Argentina
    Posts
    12,923

    Exclamation default .htaccess

    When x10hosting gives you the host, it cames with a .htaccess

    Code:
    # -FrontPage-
    
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName www.easymoney.x10hosting.com
    AuthUserFile /home/fedlerne/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/fedlerne/public_html/_vti_pvt/service.grp
    That's what my .htaccess has...

    I want to install a script that needs an .htaccess....
    The script has this code in the .htaccess

    Code:
    Options All -Indexes
    DirectoryIndex index.php index.htm index.html
    
    # -------------------------------------------
    # Start of NukeSentinel(tm) admin.php Auth
    # -------------------------------------------
    <Files .ftaccess>
      deny from all
    </Files>
    
    <Files .staccess>
      deny from all
    </Files>
    
    <Files admin.php>
       <Limit GET POST PUT>
          require valid-user
       </Limit>
       AuthName "Restricted"
       AuthType Basic
       AuthUserFile /path/to/your/.staccess
    </Files>
    
    # -------------------------------------------
    # Start of NukeSentinel(tm) DENY FROM area
    # -------------------------------------------
    Is the .htaccess given by x10hosting necessary? If it is, can i put both codes in the .htaccess and it won't mess up ? Should i put the one of the NukeSentilen first?

    Thanks,
    fedlerner
    Last edited by Fedlerner; 09-22-2006 at 11:57 AM.
    Federico Lerner
    Former x10Hosting Administrator - Staff Manager

  2. #2
    Torch's Avatar
    Torch is offline x10 Lieutenant Torch is an unknown quantity at this point
    Join Date
    Apr 2006
    Location
    Belgrade, Serbia
    Posts
    317

    Re: default .htaccess

    That default .htaccess is actually used to protect directories which are used by Front Page extensions. So, if you're not using them it's safe to remove it.
    Last edited by Torch; 09-22-2006 at 12:45 PM.

  3. #3
    Fedlerner's Avatar
    Fedlerner is offline Retired Fedlerner is an unknown quantity at this point
    Join Date
    Aug 2006
    Location
    Buenos Aires, Argentina
    Posts
    12,923

    Re: default .htaccess

    hmmmmmmm..
    I don't know what do you mean by frontpage extensions :P
    I just use HTML, PHP & MySQL :P
    Federico Lerner
    Former x10Hosting Administrator - Staff Manager

  4. #4
    Torch's Avatar
    Torch is offline x10 Lieutenant Torch is an unknown quantity at this point
    Join Date
    Apr 2006
    Location
    Belgrade, Serbia
    Posts
    317

    Re: default .htaccess

    Simply put, if you're not using Front Page to make and publish your website, you don't need that 'default' .htaccess ;)

  5. #5
    Fedlerner's Avatar
    Fedlerner is offline Retired Fedlerner is an unknown quantity at this point
    Join Date
    Aug 2006
    Location
    Buenos Aires, Argentina
    Posts
    12,923

    Re: default .htaccess

    Ok!
    Thanks for your help Torch!
    Federico Lerner
    Former x10Hosting Administrator - Staff Manager

  6. #6
    raptus is offline x10Hosting Member raptus is an unknown quantity at this point
    Join Date
    Jul 2006
    Posts
    6

    Re: default .htaccess

    You can add the 'new' info to the current .htaccess file as well. It doesn't matter the order. As long as you don't have 2 identical commands in there your fine.

  7. #7
    zolteran's Avatar
    zolteran is offline x10Hosting Member zolteran is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    2

    Re: default .htaccess

    Quote Originally Posted by fedlerner View Post
    Ok!
    Thanks for your help Torch!
    Hi did you get sentinal to work i keep trying but its as if it will not read the .staccess file every time i enter username and password if just brings the login box back again


    thanks mike

  8. #8
    daman371 is offline x10 Sophmore daman371 is an unknown quantity at this point
    Join Date
    Nov 2006
    Location
    Louisiana
    Posts
    130

    Re: default .htaccess

    the frontpage directories start with an underscore.

  9. #9
    The_Magistrate's Avatar
    The_Magistrate is offline x10 Elder The_Magistrate is an unknown quantity at this point
    Join Date
    May 2005
    Location
    PA
    Posts
    559

    Re: default .htaccess

    What with everyone resurrecting old threads these days? Geez! Over a year old, please close.
    Getting Started | Terms of Service | Paid Hosting | Forum Rules | Free Server Status | Banned Countries

    If I have helped you through one of my posts, please click the
    blue checkbox on the right below my avatar to add to my reputation.

  10. #10
    Brandon's Avatar
    Brandon is offline Former Senior Account Rep Brandon is on a distinguished road
    Join Date
    Jun 2006
    Location
    Tewksbury, MA
    Posts
    9,589

    Re: default .htaccess

    Closed.
    Thanks,
    Brandon Long

Closed Thread

Similar Threads

  1. need help with cashmod for phpbb
    By IamShipon1988 in forum Free Hosting
    Replies: 5
    Last Post: 10-05-2005, 03:46 PM
  2. help with mysql
    By brentcatoe in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 09-26-2005, 12:50 AM
  3. Whats the best PC?
    By randomtr in forum Off Topic
    Replies: 18
    Last Post: 09-19-2005, 10:44 AM
  4. [IPB]Setting IPDynamic Lite as default front page
    By nicholas in forum Tutorials
    Replies: 12
    Last Post: 04-15-2005, 08:37 PM
  5. Mod Help
    By Ericsson in forum Free Hosting
    Replies: 4
    Last Post: 03-04-2005, 03:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers