Go Back   HostGator Peer Support Forums > HostGator Announcements > Network Status

Notices

Reply
 
Thread Tools
  #1  
Old 12-05-2007, 11:05 PM
RedHat39 RedHat39 is offline
Hatchling Croc
 
Join Date: Dec 2007
Posts: 2
Default Problems with htaccess and Downline Secrets

I keep getting an 500 Internal Server Error from the last step of the install of the Downline Secrets setup. I am pretty sure its due to a problem with the htaccess file as I put all of the files for the program on a personal Linux machine at home and the install and access to the program's webpages worked flawlessly.

Here is what the htaccess contains:
Code:
<Files r>
ForceType application/x-httpd-php
</Files>

<FilesMatch "r"> 
SetHandler application/x-httpd-php 
</FilesMatch>

<Files admin>
ForceType application/x-httpd-php
</Files>

<Files update>
ForceType application/x-httpd-php
</Files>
Here is the error in the errorlogs:

Code:
error: file has no execute permission: (/home/guidesto/public_html/supertips/admin
I have tried all combinations of permissions and still get the 500 internal server error. On my home Linux machine the permissions of 644 work just fine but not here on Hostgator.

Just for reference here is the contents of the admin file:
Code:
<?
$CFG_REPNAME = "admin";
list ( ,$item ) = explode("/admin/",$_SERVER[REQUEST_URI]);
if(substr($item,0,7)!="__login"&&(substr($item,0,11)!="__adminArea"&&substr($item,0,8)!="__update")){
  include "init.inc.php";
  header("Location: ".$CFG_ROOTURL."admin/__adminArea");
  exit;
}
include "rotator.php";
?>
I'd appreciate it any of you could tell me what to change in the htaccess to make this work like it should.

Thanks!
Reply With Quote
  #2  
Old 12-05-2007, 11:35 PM
slapshotw's Avatar
slapshotw slapshotw is offline
Veteran Croc
 
Join Date: Jun 2006
Posts: 5,164
Default Re: Problems with htaccess and Downline Secrets

What are the permissions on those files? Are any files 777? Anything that is 777, or says it needs to be 777, may need to be 755 on the server you're on because of PHPSuExec.
__________________
Follow me on Twitter! http://twitter.com/mrw
Reply With Quote
  #3  
Old 12-06-2007, 11:47 AM
RedHat39 RedHat39 is offline
Hatchling Croc
 
Join Date: Dec 2007
Posts: 2
Default Re: Problems with htaccess and Downline Secrets

The file admin I have tried all sorts of executable permissions (700, 755, 777) still same error. On my home machine the permissions are 644 and everything works fine. 644 on Hostgator generates the "file has no execute permission" error and no matter what I change the permissions to I get the same error, except if I try 777 I get the "file is world writable" error.
Reply With Quote
  #4  
Old 12-06-2007, 01:10 PM
YukonMaster YukonMaster is offline
Swamp Croc
 
Join Date: May 2007
Location: Vancouver
Posts: 372
Default Re: Problems with htaccess and Downline Secrets

Have you tried ticketing support?
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 12:57 AM.