Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Oct 2002
    Posts
    299
    Thanks
    0
    Thanked 0 Times in 0 Posts

    htaccess or nsconfig, which one to use?

    Hi,

    On the server from my provider, i see 2 files htaccess and nsconfig?!?. To my idea it is htaccess for apache and nsconfig for , euhh well forgot it, but not apache servers.

    So which-one should I use? I tried already htaccess and the following works well:

    IndexIgnore *
    Options -Indexes
    ErrorDocument 400 /error.htm

    But when it comes to
    <Files *.gif>
    order allow,deny
    deny from all
    allow from .mysite.com
    </Files>

    In various forms, it denies all

    When I try to disable a directory I even get server 500 errors?

    RewriteEngine on? nothing!

    Password protection, works well!

    What should I do in order to take advantage of htaccess or nsconfig

    Thanks for Your idea,
    Jerome
    Last edited by Jerome; 10-21-2004 at 09:54 AM.

  • #2
    fci
    fci is offline
    Senior Coder
    Join Date
    Aug 2004
    Location
    Twin Cities
    Posts
    1,345
    Thanks
    0
    Thanked 0 Times in 0 Posts
    read the apache error log to find out what the server500 errors were..
    mod_rewrite may not be installed.. are you sure you're using the proper syntax for whatever version of Apache that's on the server for your directory protection?


  •  

    Posting Permissions

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