It is currently Tue Mar 19, 2024 8:42 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: 500 Internal Server Error after second directory
PostPosted: Tue Dec 04, 2012 9:59 pm 
Noobie
Noobie

Joined: Thu Aug 02, 2007 7:57 pm
Posts: 35
Location: Finland
I noticed that directory and file access is blocked (500 error) when folders are inside folders at the root directory. For example /domain/folder is ok, but /domain/folder/folder returns a 500 error (along with anything inside th folder).
The permissions are 755 for folders and 644 for files. Any idea what the problem could be?

Thanks.


Top
 Profile  
 
 Post subject: Re: 500 Internal Server Error after second directory
PostPosted: Wed Dec 05, 2012 4:09 am 
Site Admin
Site Admin

Joined: Sat May 31, 2008 2:02 am
Posts: 46
Hello,

There is no server side reason that could cause such a matter.
In general 500 Internal Server Error appeats when you have some misonfiguration in PHP, Perl, Python scripts or you have custom .htaccess file with directives not allowed on our end servers. Most common directives not allowed are all Options... or php_value, php_flag.
Please revise your files and try again. Otherwise open a trouble ticket from your account with us via Help > Opne New Ticket menu and provide us with the exact URL, where you have noticed the error message.
If there is anything else we can help with, feel free to write.

_________________
Best Regards,
Miles
ModeratorsTeam
100WebSpace.com


Top
 Profile  
 
 Post subject: Re: 500 Internal Server Error after second directory
PostPosted: Sun Jan 27, 2013 4:34 pm 
Noobie
Noobie

Joined: Sun Jan 27, 2013 4:22 pm
Posts: 3
Location: Northern American States
Okay I'm not trying to lash-out. :evil:
please tell me that efraschilla.com/cgi-bin/hahah.cgi
won't work even as simple as it is... :doubt:
I'm thinking something is wrong with my account.
do I have to upgrade to use perl/cgi?
and yes before you go a 500 error


Top
 Profile  
 
 Post subject: Re: 500 Internal Server Error after second directory
PostPosted: Sun Jan 27, 2013 6:12 pm 
Noobie
Noobie

Joined: Sun Jan 27, 2013 4:22 pm
Posts: 3
Location: Northern American States
I switched from a cgi back to pl and got a 403 Forbidden
so I changed the file permissions to 755 and once again recieved 500 error.
I also was looking at
/etc/perl
the server just hung for a while and then you know what error I got
500

===============this is what throws the error==========

#!/usr/bin/perl
print "it worked hahahaha";

=================end========================


Top
 Profile  
 
 Post subject: Re: 500 Internal Server Error after second directory
PostPosted: Sun Jan 27, 2013 8:57 pm 
Noobie
Noobie

Joined: Thu Aug 02, 2007 7:57 pm
Posts: 35
Location: Finland
I think cgi scripts need the content-type line like...

#!/usr/bin/perl

print "Content-type: text/html\n\n";

print "Hello, world!\n";


Top
 Profile  
 
 Post subject: Re: 500 Internal Server Error after second directory
PostPosted: Sun Jan 27, 2013 11:41 pm 
Noobie
Noobie

Joined: Sun Jan 27, 2013 4:22 pm
Posts: 3
Location: Northern American States
:D
Thank You r3bol,
I wasn't counting on the fact that the page had to state what file it was


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ]  Moderators: fhmagic, KJ, Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
100WebSpace © 2011