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: ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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! |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| 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 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
| |||
| |||
| 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
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 500 Internal Server Error on install | medivak | osCMax v2 Installation issues | 11 | 10-06-2006 01:46 AM |
| 500 Internal Server Error (with no apparent reason!) | Willum | osCMax v2 Installation issues | 5 | 08-19-2005 02:19 AM |
| 500 Internal Server Error... Any suggestions | vitoox | osCMax v1.7 Installation | 3 | 05-28-2005 11:57 AM |
| Internal Server Error when trying to add new products | KristyMichelle | osCommerce 2.2 Installation Help | 0 | 09-01-2004 08:31 AM |
| Internal Server Error | dknylalala | osCommerce 2.2 Installation Help | 1 | 04-07-2004 08:57 AM |