Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Shared Hosting Support

Notices

Reply
 
Thread Tools
  #1  
Old 05-05-2006, 12:42 PM
jcarlson's Avatar
jcarlson jcarlson is offline
Hatchling Croc
 
Join Date: Nov 2005
Location: Waterford, CT
Posts: 21
Exclamation Has the directory structure changed?

I have a PERL script running which has the following variable set:

$private_dir = "/home/<user name>/files/";

I'm now getting an "Internal Server Error" on that script when just yesterday (and for months prior) it was working perfectly...

Has HG made any changes to the way user directories are structured (i.e. the path to your root directory is no longer "home" followed by "user name")?

Thanks for your help,
- Jamie
Reply With Quote
  #2  
Old 05-05-2006, 01:57 PM
quietFinn's Avatar
quietFinn quietFinn is offline
Veteran Croc
 
Join Date: Feb 2005
Posts: 3,557
Default Re: Has the directory structure changed?

You can see the path in cPanel.
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
  #3  
Old 05-05-2006, 03:29 PM
jcarlson's Avatar
jcarlson jcarlson is offline
Hatchling Croc
 
Join Date: Nov 2005
Location: Waterford, CT
Posts: 21
Default Re: Has the directory structure changed?

Hi quietFinn,

In which section? I don't see it on the primary page of cpanel?

All I see are the paths to perl and sendmail:

Path to PERL: /usr/bin/perl
Path to sendmail: /usr/sbin/sendmail
Reply With Quote
  #4  
Old 05-05-2006, 04:21 PM
quietFinn's Avatar
quietFinn quietFinn is offline
Veteran Croc
 
Join Date: Feb 2005
Posts: 3,557
Default Re: Has the directory structure changed?

Quote:
Originally Posted by jcarlson
Hi quietFinn,

In which section? I don't see it on the primary page of cpanel?

All I see are the paths to perl and sendmail:

Path to PERL: /usr/bin/perl
Path to sendmail: /usr/sbin/sendmail
Well you see it if you use RVskin

well ok... make a file like this:
Code:
<?php
echo $DOCUMENT_ROOT;
?>
save it, like path.php, and upload it, and when you execute it:
http://www.yoursite.com/path.php

you see the path
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
  #5  
Old 05-08-2006, 09:55 AM
jcarlson's Avatar
jcarlson jcarlson is offline
Hatchling Croc
 
Join Date: Nov 2005
Location: Waterford, CT
Posts: 21
Default Re: Has the directory structure changed?

Thanks, quietFinn...

Surpringly enough I had actually exceeded my disk quota without even knowing it (no emails were sent out, unless the corporate SPAM blocker trapped them on me)...

So I just started cleaning up some stuff, and got well under my quota, and now everything runs perfectly agan...

It's stange though, because, all of the basic HTML and images load fine even when you've exceeded your quota... I guess that's a good thing, though (it's nice of them not to shut the sites down entirely when you've exceeded quota).


Thanks for your help!
- Jamie
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 On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 03:17 AM.