Results 1 to 4 of 4

internal server error

This is a discussion on internal server error within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Ok- newbie here! Well, I finally got this installed after reading the posts to guide me. My problem is this: ...

      
  1. #1
    Lurker
    Join Date
    Mar 2004
    Posts
    2
    Rep Power
    0


    Default internal server error

    Ok- newbie here! Well, I finally got this installed after reading the posts to guide me. My problem is this: I was trying to password protect your /catalog/admin dir using .htaccess as I saw in the OSCdox guide. So I inserted:
    AuthType Basic
    AuthName "Locked Area"
    AuthUserFile /home/youraccount/.htpasswds/admin/passwd
    require valid-user

    But now when I go yoursite/catalog/admin is says this:
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request. Contact the admin at blah, blah, blah!

    I went back to my file manager (through my c-panel) and deleted what I insterted and I still get this error! Please help!

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    Did you modify the following line to match your server:

    AuthUserFile /home/youraccount/.htpasswds/admin/passwd

    And did you create a .htpasswds file?

    There is several online sites that have a step by step on how to setup .htaccess to password protect a directory. Your CPanel may ALREADY have the ability to password protect directories (most do anyway) in your web site that may be much easier than manually creating the nessary files/entries.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    Lurker
    Join Date
    Mar 2004
    Posts
    2
    Rep Power
    0


    Default

    well, i tried too... at least I thought I did. so I tried to delete the files and start all over again. I used an FTP program and i couldn't delete all my files (like cataloge or admin), but I renamed them and tried to upload the catalog file. Now i get this error:

    Warning: main(includes/functions/database.php): failed to open stream: No such file or directory in /var/www/html/catalog/admin/includes/application_top.php on line 58

    Fatal error: main(): Failed opening required 'includes/functions/database.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/catalog/admin/includes/application_top.php on line 58

    I'm not a programmer and I thought I knew my way around html and design... but this whole thing has me pulling my hair out! I thought this thing was supposted to easy for us non-programmers!

  4. #4
    Member
    Join Date
    Jan 2004
    Location
    edmonton, Alberta, Canada
    Posts
    62
    Rep Power
    0


    Default

    i dunno if this is going to help but this is my .htaccess file for my admin
    # -FrontPage-

    Options None

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    require group administrators
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthType Basic
    AuthName www.oldcarclocks.com
    AuthUserFile /home/virtual/site18/fst/var/www/html/_vti_pvt/service.pwd
    AuthGroupFile /home/virtual/site18/fst/var/www/html/_vti_pvt/service.grp

    Also note the server im on we have frontpage extensions enabled

Similar Threads

  1. 500 Internal Server Error on install
    By medivak in forum osCmax v2 Installation issues
    Replies: 11
    Last Post: 10-06-2006, 02:46 AM
  2. 500 Internal Server Error (with no apparent reason!)
    By Willum in forum osCmax v2 Installation issues
    Replies: 5
    Last Post: 08-19-2005, 03:19 AM
  3. 500 Internal Server Error... Any suggestions
    By vitoox in forum osCMax v1.7 Installation
    Replies: 3
    Last Post: 05-28-2005, 12:57 PM
  4. Internal Server Error when trying to add new products
    By KristyMichelle in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 09-01-2004, 09:31 AM
  5. Internal Server Error
    By dknylalala in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 04-07-2004, 09:57 AM

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
  •