I really do not get how to run a Perl file. I have uploaded my .pl to the cgi-bin then chmod to 755. Then when i go to run the file i just get a 500 internal server error.
**/cgi-bin/helloworld.pl**
#!/usr/bin/perl
print 'hello world';
Any ideas as to what I am doing wrong?
...
My python script executes fine in Jail shell, putting out html which I can pipe to an html file. When I look at the file, it's exactly what I want. However when I try to run the file from a browser I get a 500 error. According to the instructions at http://imgseekweb.sourceforge.net/install.html the cgi-bin should be in suEXEC mode. M...
Hi there,
I'm having an issue with the visualization of my site on Google Chrome and Safari (both using Webkit rendering engine), the site is built upon Symfony framework, version 1.1 (unmaintained version).
When navigating to the site, this shows an error 500 when loading a page, I read somewhere that it might be related to Symfony cac...
I have this class:
class View(object):
def main_page(self, extra_placeholders = None):
file = '/media/Shared/sites/www/subdomains/pypular/static/layout.tmpl'
placeholders = { 'site_name' : 'pypular' }
# If we passed placeholders vars, append them
if extra_placeholders != None:
for k, v in extra_placehol...
if I use Firefox and access http://svcs.ebay.com/services/search/FindingService/v1 I get some sort of XML in respose, when I do that through PHP I get Internal Server Error 500
$ php -r 'print_r(simplexml_load_file("http://svcs.ebay.com/services/search/FindingService/v1"));'
PHP Warning: simplexml_load_file(http://svcs.ebay.com/servic...
Hello,
This is a little complex question and a little hard to explain.
We have build a script to auto login and collect the information from one asp.net based website, the script is in PHP using curl.
We have been testing the script and it works 20-30% of the time which means the script is complete and works.
But rest of the time it fa...
So, my plan is to make small thumbnails of URL's with PHP and IECapt.
IECapt works well, a nice command line tool, gets the full sized image of specified URL in 1 to 4 seconds.
But my problem is to execute it trough PHP. This is the code I've trying to get working:
exec('IECapt.exe ' . escapeshellarg($URL) . ' ' . escapeshellarg($Filen...
We're seeing an odd pattern in our QA Lab. We have two ASP.NET applications, each deployed on the same Windows 2008 SP2+ box. We have our App Pool running in a Domain Account, and set to never re-cycle. The same 1 App Pool is used by both applications.
After several hours of running fine, new users surfing to a page in our applicati...
PHP fatals come back as 200, how can i make it return a 500
...
I wanted to know if it is possible for ISA to detect if a web server is giving out a 500 error and can stop requests to the server.
I found an option for it to check for port 80 and if it doesn't reply, it would stop but no scenario for when an error happens.
Also, in my case I redirect to a specific page to display the error. Can I ...
I'm trying to access an aspx webpage using curl but it returns 500 internal server error. It doesn't require any credentials or POST variables I know of, but I think I'm missing something, because when I try to access it from my browser, it does work. The page is just a form with two fields to be filled and POSTed.
curl -L https://my.we...
I use a RewriteRule to replace all spaces (aka %20) in my URLs by underscores:
RewriteRule (.*)[\ ](.*) $1_$2 [N]
The [N] flag starts the rewrite process again, until no space is left (hopefully). Now, all is well, when there is a file waiting at the other side, i.e. request:
/This is an example.html
and file:
This_is_an_example.h...
The code provided in the link has problems.
When trying to go to the real webpage, it gives me a 500 internal server error.
What is wrong with the code? Anybody knows?
http://www.gdscei.com/myphp.txt
I am using iWebKit.
(I know you cannot read the text, it's Dutch. But I am not seeing any problem with pure text.)
...
I've recently added this little bit of code to my .htaccess
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.php [L,QSA]
Ok, I understand what's happening here, I think. This little bit of code to remove php file extensions causes a loop if the document is not found. This loop causes a 500 ...
I have installed a PHP application onto a shared hosting web server. I am getting a 500 Internal Server Error. I don't seem to have access to any log files so I would like the error page to temporarily give details of the error.
I know how to do this in ASP.Net but I am not that familiar with PHP.
...
I have read pretty much EVERY blog post, article and help document published regarding this problem and they have not helped. The most common suggestions are:
Internet Explorer -> Tools Menu -> Internet Options -> Advanced -> Show Friendly Error Messages (make sure this is NOT ticked)
IIS -> Home Directory tab -> Configuration... -> De...
I'm trying to improve the information provided in response to an error handled within an app.
This is the code:
Try
httpRequestObj = HttpWebRequest.Create(strRequest)
httpRequestObj.Method = "GET"
httpRequestObj.UseDefaultCredentials = True
* httpResponse = httpRequestObj.GetResponse
Using reader A...
I have a WCF Server running on IIS 7 using default application pool, with SSL activate, the services is installed in a SBS Server 2008.
I implement client application services with wcf and SQL 2005 for setting the access control in my application. The application run under windows vista and is make with WPF.
In my developer machine the ...
I'm setting up a website that (ideally) would allow users to access other users' homepages with a url in the format "www.mysite.com/Page/ThisLanham" where 'ThisLanham' is the username. The username begins with a letter and can consists of any alphanumeric character along with an underscore, hyphen, or period.
So far, the redirection has...
I've recently moved from [Windows 2003-32 bit, IIS 6 .NET 2.0] to [Windows 2008-64 bit, IIS 7 .NET 2.0].
Everything seems to be working fine except from the HTTP 500 error I am getting periodically and I also get timeouts in my database MSSQL 2005-randomly and on any on random stored procedures (DB is optimized and working fine-all stor...