Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







Changing Register_globals From .htaccess Will Cause 500 Error When Php Run As CGI


Today I have a customer want to swich the register_globals on on his account ,,, i'm running PHPSuExec and running php as cgi not as Apache module , and as you know using php as cgi will cause internal error 500 if some one add php_flag register_globals on
to .htaccess file.

what is the soluation to switch register_globals on for his account only without using the .htaccess file.

put in mind the php files that need the register_globals to be on is encrypted with zend , so we does not have access to it for modification.

have any one have the solution?


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Php Handler Cgi And Register_globals
On my server (cpanel/whm php version 5) I need phpsuxec enabled so Configure Suexec and PHP I have suxec as on and php handler as cgi.

The problem is that enabling of register_globals through .htaccess file of cpanel accounts is not working. I have tried all kinds of commands as:

php_flag register_globals on

and even tried creating a php.ini » register_globals=on

and that still does not enable register_globals on an account. I do not want to enable register_globals centrally as I am aware that is a security threat.

But if I change to dso php handler that .htaccess code enables register_globals but then phpsuexec is not working.

Is there anyway to combine these two options?

View Replies!   View Related
500 Internal Error DUE To Htaccess/htpsswd
am protecting my entire site with .htaccess/.htpsswd
i get promoted to enter username and address
ok that's fine
however after that the page doesn't load and instead i get:
++++++++++++++++++++++++++++++++++++++++++++++++++
500 Internal Error
The requested page produced an internal error. If you are the webmaster of this website please check: That script has been uploaded as ASCII (if CGI/Perl)
If the file and folder permissions are correct, e.g. 755
Your .htaccess file (if any).
Servage.net Clustered Webhosting running enhanced Apache Webserver why is that guys??
++++++++++++++++++++++++++++++++++++++++++++++++++

View Replies!   View Related
How To Run PHP 4 And 5 In Ubuntu Without CGI
When we chose Symfony to implement [url], PHP 5 was needed but we only had PHP 4 installed in our Ubuntu hosting servers. We couldn¡¯t just migrate everyone to PHP 5 since some of client¡¯s applications were incompatible with PHP 5. Some tutorials were found online explaining how to run PHP 4 and PHP 5 simultaneously such as [url] and [url]but they all used CGI. As you probably know, CGI is not scalable and we needed to scale in PHP4 and PHP5 since we needed to server millions of hits in both configurations. The following are additional the requirements we had:

1. Run Apache

2. Use mod_php for both PHP versions.

3. Run eAccelerator with both PHP versions.

4. Use as many Ubuntu packages as possible to ease maintenance issues and easily deploy on multiple servers.

5. Use Ubuntu 6.06.1 LTS

The solution we came up with was to run Apache 2 with PHP 5 and run Apache 1 with PHP 4 on separate IPs. Ubuntu comes already with these packages. The only package we had to compile was eAccelerator. The following lists the steps taken to get this setup:

Apache 2 with PHP 5

* apt-get install apache2 libapache2-mod-php5 php5 php5-cli php5-curl php5-gd php5-mysql php5-dev make php5-mcrypt php5-imap
* vi /etc/php5/cli/php.ini and uncomment extension=mysql.so
* vi /etc/apache2/ports.conf and put Listen Your.IP.Goes.Here:80
* a2enmod expires
* vi /etc/apache2/conf.d/hosting
<VirtualHost *>
DocumentRoot /home/httpd/mainpage
ServerName mainpage.com
ServerAlias www.mainpage.com
Options Includes FollowSymlinks
AddType application/x-httpd-php .php
DirectoryIndex index.php index.html index.htm
</VirtualHost># Cache images and javascripts
ExpiresActive on
ExpiresByType image/gif ¡°access plus 1 week¡±
ExpiresByType image/jpeg ¡°access plus 1 week¡±
ExpiresByType image/png ¡°access plus 1 week¡±
ExpiresByType image/x-icon ¡°access plus 4 week¡±
ExpiresByType application/x-javascript ¡°access plus 4 week¡±
ExpiresByType application/x-shockwave-flash ¡°access plus 4 week¡±
* cd /usr/local/src
* wget http://bart.eaccelerator.net/source/...-0.9.5.tar.bz2
* tar xjvf eaccelerator-0.9.5.tar.bz2
* cd eaccelerator-0.9.5/
* phpize5
* ./configure
* make
* make install
* mkdir /var/tmp/{eaccelerator4,eaccelerator5}
* chown www-data /var/tmp/eaccelerator*
* chmod 700 /var/tmp/eaccelerator*
* vi /etc/php5/apache2/php.ini and add the following:
zend_extension=¡±/usr/lib/php5/20051025/eaccelerator.so¡±
eaccelerator.shm_size=¡±0¡å
eaccelerator.cache_dir=¡±/var/tmp/eaccelerator5¡å
eaccelerator.enable=¡±1¡å
eaccelerator.optimizer=¡±1¡å
eaccelerator.check_mtime=¡±1¡å
eaccelerator.debug=¡±0¡å
eaccelerator.filter=¡±"
eaccelerator.shm_max=¡±0¡å
eaccelerator.shm_ttl=¡±0¡å
eaccelerator.shm_prune_period=¡±0¡å
eaccelerator.shm_only=¡±0¡å
eaccelerator.compress=¡±1¡å
eaccelerator.compress_level=¡±9¡å

Apache 1 with PHP 4

* apt-get install libapache-mod-php4 php4-mysql php4-gd apache-ssl apache-common libzzip-0-12 php4-common php4-dev apache
* dpkg-reconfigure apache and uncheck mod_userdir and check mod_php4 and cancel on hostname
* vi /etc/apache/httpd.conf and make sure to add this
Listen Your.SECONDIP.Goes.Here:80
NameVirtualHost *# Cache images and javascripts
ExpiresActive on
ExpiresByType image/gif ¡°access plus 1 week¡±
ExpiresByType image/jpeg ¡°access plus 1 week¡±
ExpiresByType image/png ¡°access plus 1 week¡±
ExpiresByType image/x-icon ¡°access plus 4 week¡±
ExpiresByType application/x-javascript ¡°access plus 4 week¡±
ExpiresByType application/x-shockwave-flash ¡°access plus 4 week¡±Remove the following
<IfModule mod_alias.c>
Alias /icons/ /usr/share/apache/icons/

<Directory /usr/share/apache/icons>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Alias /images/ /usr/share/images/

<Directory /usr/share/images>
Options MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_alias.c>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory /usr/lib/cgi-bin/>
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
</IfModule>

Change
<Directory />
Options SymLinksIfOwnerMatch
AllowOverride All
</Directory>
ServerSignature Off
ServerTokens Prod
* cd /usr/local/src
* rm -rf eaccelerator-0.9.5
* tar xjvf eaccelerator-0.9.5.tar.bz2
* cd eaccelerator-0.9.5/
* phpize4
* ./configure ¨Cwith-php-config=/usr/bin/php-config4
* make
* make install
* vi /etc/php4/apache/php.ini and add the following:
zend_extension=¡±/usr/lib/php4/20050606/eaccelerator.so¡±
eaccelerator.shm_size=¡±0¡å
eaccelerator.cache_dir=¡±/var/tmp/eaccelerator4¡å
eaccelerator.enable=¡±1¡å
eaccelerator.optimizer=¡±1¡å
eaccelerator.check_mtime=¡±1¡å
eaccelerator.debug=¡±0¡å
eaccelerator.filter=¡±"
eaccelerator.shm_max=¡±0¡å
eaccelerator.shm_ttl=¡±0¡å
eaccelerator.shm_prune_period=¡±0¡å
eaccelerator.shm_only=¡±0¡å
eaccelerator.compress=¡±1¡å
eaccelerator.compress_level=¡±9¡å

View Replies!   View Related
Upgrade PHP4: FATAL ERROR: Register_globals Is Disabled In Php.ini, Enable It
The problem appeared from register globals, in the shop oscommerce after the actualization PHP to the version 4.4.5 information appears me: FATAL ERROR: register_globals is disabled in php.ini, please enable it! and if I add: php_flag register_globals On to the file .htaccess this: one can not display page.

View Replies!   View Related
Error When Trying To Run A CGI Script On The Sgci-bin Folder
i got an error when trying to run a CGI script on the sgci-bin folder. How can i set the nobodyuser?

scgiwrap: Caller must be the nobody user

View Replies!   View Related
Fast CGI PHP And Normal CGI PHP In Windows 2003
I have these two options when installing PHP 5.2.6 in Windows 2003, is there any problem or advantages/disadvantages if I use fast CGI PHP rather than CGI PHP?

View Replies!   View Related
PHP Register_globals Setting Is `ON` Instead Of `OFF`
I get the following security warnining in my Joomla installation:

PHP register_globals setting is `ON` instead of `OFF`

From what I have read this is a big security risk and it is something that the host can easily turn off. Why wouldn't my host have this turned off?

I was told by live chat that I could overide with my own php.ini file, but I know nothing about php or php.ini files. I read in a forum that I would have to place this file in EACH directory of my Joomla installation where a php file exists. I don't even want to think about what a pain that is. Also, everytime I add an extension I have to repeat the process? I've also read that this may interefere with several extensions.

Isn't there an easier way to do this?

I read that the host can configure their servers so that you would only have to place the file in one directory or that you would only have to edit the .htaccess file

I just switched to Hostgator and I didn't have this problem with my old host. Should I try to find a new host that has better security?

I really don't know what I'm doing or where to begin with this. I'm probably just misunderstanding something. Can you please help me understand this?

View Replies!   View Related
Changing .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule !^index.php$ index.php [L]
</IfModule>

Hi,

This is my current .htaccess

As you see, it redirect all pages to index.php except index.php itsel

How do I modify it so that the exception is not just index.php but also channel.php or index3.php?

View Replies!   View Related
301 Redirects In .htaccess Cause Internal Server Errror 500
We're on Apache and when I insert a handful of 301 redirect statements, the 500 internal server error comes up.

Example:

Redirect 301 /products/tech.html /products/technology.html

It doesn't matter if I used the absolute URL or not for the new destination.

View Replies!   View Related
How Do I Run A Cgi Script As Shell
I'm trying to install the following portwatch script on my server to count the # of connections coming from various IPs:

[url]

I've saved it as a text file called "portwatch", and uploaded to my server. But no matter how I chmod it in FTP and call it in shell, I get a permission denied error. Can someone shed some light on how I'm supposed to run this script in shell?

View Replies!   View Related
Changing Code To Lighthttpd Htaccess From Apache
trouble with users mis-using hot-linking feature, so he wants some restrictions to b set via htaccess

He has given me a code which is used for htaccess in apache, but he wants this to work in lighthttpd, I am not sure if this would work in lighthttpd htaccess,

this was the code given to me to b worked on:

Code:
RewriteEngine on

RewriteCond %{HTTP_REFERER} !^$

#allow hotlinking for thumbnails
RewriteCond %{REQUEST_URI} !_thumb

#allowed website to hotlink (don't forget to add your own site !!)
RewriteCond %{HTTP_REFERER} !^[url]

#display no-hotlink.jpg instead of the requested image
RewriteRule .(jpg|jpeg|gif|png|bmp|ico)$ [url]

can any one help me for getting this code re-written for lighthttpd version htaccess file and where to enter this code -- using hypervm/kloxo on his vps

View Replies!   View Related
How To Set Lighttpd Proxy To Let Apache Run Cgi/perl Scripts?
I'm running both Apache (on port 81) and Lighttpd (port 80) on my VPS. I would like to have Apache run CGI/Perl scripts only for virtual hosts in the Lighttpd.conf. My Lighttpd.conf already has fastCGI enabled though.

View Replies!   View Related
Does .htaccess Run In Win2003
does .htaccess run in windows 2003?

View Replies!   View Related
CGI Scripts(Perl/Python) Are Not Able To Run On Plesk Windows Server 2003
I have a Windows 2003 dedicated Server with Plesk Control panel

I am not able to execute CGI scripts(Perl/Python/CGI) on it

when I try to execute on it

I get these errors:

Access denied to invalid credentials 401 Error

Error is 401.3 ACL restrictions....

what I tried is

I have tried to change IIS settings for IUSR_name

and also I tried editing in httpdconf file for CGI settings and restarted the server...

but all of no use

I am executing these scripts in CGI-BIN folder and outside of it..

View Replies!   View Related
Allow Perl To Run Inside .htaccess
What would I have to add inside .htaccess to allow perl scripts to run?

View Replies!   View Related
500 Error
Getting 500 internal error only on /forums directory (main domain.com works fine otherwise).

Code:
drwxr-xr-x 16 user user 4.0K Nov 10 00:47 forums/

Code:
drwxr-xr-x 16 user user 4.0K Nov 10 00:47 ./
drwxr-x--- 24 user nobody 4.0K Nov 10 00:51 ../
drwxr-xr-x 4 user user 4.0K Nov 10 00:45 admin/
-rw-r--r-- 1 user user 17K Dec 27 2005 album_cat.php
-rw-r--r-- 1 user user 7.7K Dec 27 2005 album_comment_delete.php
-rw-r--r-- 1 user user 9.1K Dec 27 2005 album_comment_edit.php
-rw-r--r-- 1 user user 17K Dec 27 2005 album_comment.php
-rw-r--r-- 1 user user 6.9K Dec 27 2005 album_delete.php
-rw-r--r-- 1 user user 6.7K Dec 27 2005 album_edit.php
drwxr-xr-x 3 user user 4.0K Nov 10 00:47 album_mod/
-rw-r--r-- 1 user user 30K Dec 27 2005 album_modcp.php
-rw-r--r-- 1 user user 7.7K Dec 27 2005 album_page.php
-rw-r--r-- 1 user user 6.2K Dec 27 2005 album_personal_index.php
-rw-r--r-- 1 user user 13K Dec 27 2005 album_personal.php
-rw-r--r-- 1 user user 12K Dec 27 2005 album.php
-rw-r--r-- 1 user user 5.4K Dec 27 2005 album_pic.php
-rw-r--r-- 1 user user 9.0K Dec 27 2005 album_rate.php
-rw-r--r-- 1 user user 8.0K Dec 27 2005 album_thumbnail.php
-rw-r--r-- 1 user user 18K Dec 27 2005 album_upload.php
drwxr-xr-x 9 user user 4.0K Nov 10 00:12 avatars/
-rw-r--r-- 1 user user 1.4K Dec 27 2005 birthday_popup.php
drwxr-xr-x 2 user user 4.0K Nov 10 00:45 cache/
-rw-r--r-- 1 user user 1.9K Dec 27 2005 chatbox_front.php
drwxr-xr-x 2 user user 4.0K Nov 10 00:44 chatbox_mod/
-rw-r--r-- 1 user user 6.6K Oct 6 2006 common.php
-rw-r--r-- 1 user user 284 Dec 27 2005 config.php
drwxr-xr-x 3 user user 4.0K Nov 10 00:45 db/
-rw-r--r-- 1 user user 13K Dec 27 2005 delete_users.php
drwxr-xr-x 2 user user 4.0K Nov 10 00:47 docs/
-rw-r--r-- 1 user user 2.0G Dec 15 00:44 error_log
-rw-r--r-- 1 user user 810 Dec 27 2005 extension.inc
-rw-r--r-- 1 user user 3.6K Oct 3 2006 faq.php
-rw-r--r-- 1 user user 45K Dec 26 2006 groupcp.php
drwxr-xr-x 6 user user 4.0K Nov 10 00:44 images/
drwxr-xr-x 3 user user 4.0K Nov 10 00:45 includes/
-rw-r--r-- 1 user user 20K Oct 6 2006 index.php
-rw-r--r-- 1 user user 23 Dec 27 2005 info.php
drwxr-xr-x 3 user user 4.0K Nov 10 00:45 language/
drwxr-xr-x 3 user user 4.0K Nov 10 00:45 linux/
-rw-r--r-- 1 user user 9.4K Dec 26 2006 login.php
-rw-r--r-- 1 user user 13K Dec 26 2006 memberlist.php
-rw-r--r-- 1 user user 39K Dec 26 2006 modcp.php
-rw-r--r-- 1 user user 2.3K Dec 27 2005 mod_uninstall.php
-rw-r--r-- 1 user user 9.7K Dec 27 2005 pointscp.php
-rw-r--r-- 1 user user 35K Dec 26 2006 posting.php
-rw-r--r-- 1 user user 73K Dec 26 2006 privmsg.php
-rw-r--r-- 1 user user 3.4K Oct 6 2006 profile.php
-rw-r--r-- 1 user user 5.6K Dec 27 2005 quick_reply.php
-rw-r--r-- 1 user user 43K Dec 26 2006 search.php
drwxr-xr-x 3 user user 4.0K Nov 10 00:45 shop/
-rw-r--r-- 1 user user 32K Dec 27 2005 shop_actions.php
-rw-r--r-- 1 user user 13K Dec 27 2005 shop_bs.php
-rw-r--r-- 1 user user 34K Dec 27 2005 shop_effects.php
-rw-r--r-- 1 user user 5.4K Dec 27 2005 shop_install.php
-rw-r--r-- 1 user user 11K Dec 27 2005 shop_inventory.php
-rw-r--r-- 1 user user 14K Dec 27 2005 shop.php
-rw-r--r-- 1 user user 24K Dec 27 2005 shops.htm
-rw-r--r-- 1 user user 3.4K Dec 27 2005 shop_upgrade.php
-rw-r--r-- 1 user user 198 Dec 27 2005 sn1.gif
-rw-r--r-- 1 user user 289 Dec 27 2005 sn2.gif
-rw-r--r-- 1 user user 329 Dec 27 2005 sn3.gif
-rw-r--r-- 1 user user 209 Dec 27 2005 sn4.gif
-rw-r--r-- 1 user user 315 Dec 27 2005 sn5.gif
-rw-r--r-- 1 user user 343 Dec 27 2005 sn6.gif
-rw-r--r-- 1 user user 2.8K Dec 27 2005 snowflake.js
drwxr-xr-x 4 user user 4.0K Nov 10 00:43 templates/
drwxr-xr-x 2 user user 4.0K Nov 10 00:43 tools/
-rw-r--r-- 1 user user 976 Dec 27 2005 topsmilies_install.php
-rw-r--r-- 1 user user 2.9K Dec 27 2005 update_user_points.php
-rw-r--r-- 1 user user 6.4K Dec 27 2005 verify.php
-rw-r--r-- 1 user user 23K Dec 26 2006 viewforum.php
-rw-r--r-- 1 user user 7.2K Oct 3 2006 viewonline.php
-rw-r--r-- 1 user user 52K Dec 26 2006 viewtopic.php
No htaccess file either.

Apache logs:

[Mon Dec 17 16:51:35 2007] [error] [client 74.6.28.11] Premature end of script headers: /home/user/public_html/forums/profile.php
[Mon Dec 17 16:51:35 2007] [error] [client 74.6.28.11] File does not exist: /home/user/public_html/500.shtml

View Replies!   View Related
HTTP 500 Error
I recently transferred my domain names from MyDomain.com to GoDaddy.com and now whenever you click on a link to my site from the search results it produces an HTTP 500 Error. I am using HostGator and they said that it is "not what they assist with". I know it could be a number of things but they told me to check with my redirects and there is nothing in the .htaccess file.

View Replies!   View Related
500 Internal Error
When trying to access my webpage (www.avillafan.com) i get this message:

Quote:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@avillafan.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

--------------------------------------------------------------------------------

Apache/1.3.37 Server at www.avillafan.com Port 80

So i contacted my host and he says its not a problem he can solve. Its a problem my end. However i cant see how as my site was working fine this morning.

So i accessed my cpanel and looked at the Error Log. And it says this message about 300 times!

Quote:

File does not exist: /home/villafan/public_html/500.shtml

(11)Resource temporarily unavailable: couldn't spawn child process: /home/villafan/public_html/index.php

View Replies!   View Related
500 Internal Server Error
I am getting 500 Internal server error.What may be the reason ?

The site was running fine till yesterday.

View Replies!   View Related
500 Internal Server Error
I run a proxy. First, I was on shared hosting. Worked for 2 months. then, bam! 500 internal server error.

I moved to a smaller VPS with 128 MB RAM. Worked for 30 min, then 500 internal server error again...

So now I moved to a larger VPS with 512 MB RAM, 1 GB burstable. Worked for 2 days, and now the 500's is back...

Rebooting the VPS usually fixes it, but I can not be sure I can continue rebooting it, as I expect it getting worse later.

It usually starts with lighttpd goes insane. One minute it's using 30 mb RAM, ok that's good. Then suddenly it uses 300 mb. then 500 mb. Then the 500 internal server error occur.

So any ideas of how I should configure this so it would work in a better way?

This is filled in the error log:

2009-06-02 13:21:16: (mod_indexfile.c.182) file not found ... or so: Too many open files / -> /home/admin/datashelf.net/

View Replies!   View Related
Perl File 500 Error
I'm getting a internal 500 on a test perl file that I placed inside cgi-bin

This is a cpanel box with suphp enabled ....

View Replies!   View Related
500-Internal Server Error
I just assume my files in the server of my website has some virus.

so i just delete all the files and upload it again.

But after i upload it website doesnt open.

Why?It shows the message 500 Internal server error.

View Replies!   View Related
Why 500 Server Error All Of A Sudden
I started getting 500 Server Error when trying to access my image gallery (Gallery 1.0) here:
[url]

It worked fine for months...now there's this error.

I also get the same error when trying to access an image file:
[url]

I emailed support, but they haven't replied. (dedicentral.com)

View Replies!   View Related
500 Internal Server Error
what is a 500 internal server error? i was uploading things to my site and all the sudden on one of the pages where i submit a form it gives me a 500 internal server error. i contacted support and they said they were working on it. i have tried to upload an old version of the file that worked before but it still gave me the same error. they said they would get back to me within 24 hours, its been three days and i still have the problem and no notes/email from them . does internal sever error mean its not a problem on my side or could it be some of my code causing the problem?

View Replies!   View Related
Error 500 While Loading Perl File
We have a perl script that is located under cgi-bin/yabb/

Everytime it's loaded is causing an error 500, suexec logs shows everything correct but error_log shows this: ...

View Replies!   View Related
Lighttpd 500 Internal Server Error
I have useing lighttpd for my website,my site Only picture.

but if access peak , There are often 500 Internal Server Error,

View Replies!   View Related
Mod_security Rules & 500 Error
I am having the Modsec 2.5.9 I am using the defaults rules by the cpanel when i try to update the rules along with default rules given by the cpanel i am getting internal server error (500 Error)

The rules i tried to implement are from

Quote:

[url]

View Replies!   View Related
Frequent 500 - Internal Server Error
my friend is getting frequently 500 - Internal Error on his sites when ever he starts to get good amount of traffic at a moment, and by the time it resets to normal more than half the traffic is lost, he is using wordpress blog, some other applications not of any traffic, an IPB forum, and some other image hosting script
in total he has 3 databases used, he's not running to outage of RAM, he is using max.

70% of RAM at the pt. when this occurs, checked once long way back..

he usually gets lots of traffic to blog and image host as he posts some real good stuff..

View Replies!   View Related
Roundcube With 500 Internal Server Error
Here is the log when I got 500 Internal Server Error

GET /webmail/ HTTP/1.1
Host: www.domain-name.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.7) Gecko/2009021906 Firefox/3.0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

--172dce78-F--
HTTP/1.0 500 Internal Server Error
X-Powered-By: PHP/5.2.9
Vary: Accept-Encoding,User-Agent
Content-Encoding: gzip
Content-Length: 20
Connection: close
Content-Type: text/html

--172dce78-H--
Apache-Handler: application/x-httpd-php
Stopwatch: 1237885301072213 12079 (504 908 11749)
Producer: ModSecurity for Apache/2.5.7 [url] ; core ruleset/1.6.0.
Server: Apache

--172dce78-K--

--172dce78-Z--

None of security rules is listed in that error log, so I am totally lost. It's working once when I restart apache, but after that, it's not working anymore.

View Replies!   View Related
SuPHP - 500 Internal Server Error
My web host provider uses suPHP and I'm having a lot of trouble installing a php script correctly. Even something as simple as <?php phpinfo(); ?> seems to give me an internal server error.

View Replies!   View Related
Lighttpd Crash With 500 Internal Error
lighttpd crash with 500 internal error.

connection is about 1000. the load average is only 0.78.

Is lighttpd good for dynamic site?

Maybe I need to switch back to apache.

Here is the log file.

Quote:

2008-03-06 10:45:00: (mod_fastcgi.c.2855) backend is overloaded; we'll disable it for 2 seconds and send the request to another backend instead: reconnects: 1 load: 545
2008-03-06 10:45:00: (mod_fastcgi.c.2855) backend is overloaded; we'll disable it for 2 seconds and send the request to another backend instead: reconnects: 0 load: 546
2008-03-06 10:45:00: (mod_fastcgi.c.2855) backend is overloaded; we'll disable it for 2 seconds and send the request to another backend instead: reconnects: 1 load: 546
2008-03-06 10:45:00: (mod_fastcgi.c.3496) all handlers for /view_video.php on .php are down.
2008-03-06 10:45:03: (mod_fastcgi.c.2633) fcgi-server re-enabled: 0 /var/run/lighttpd/php-fastcgi.socket
2008-03-06 10:45:03: (mod_fastcgi.c.2633) fcgi-server re-enabled: 0 /var/run/lighttpd/php-fastcgi.socket
2008-03-06 10:45:03: (mod_fastcgi.c.2633) fcgi-server re-enabled: 0 /var/run/lighttpd/php-fastcgi.socket
2008-03-06 10:45:03: (mod_fastcgi.c.2633) fcgi-server re-enabled: 0 /var/run/lighttpd/php-fastcgi.socket

Here is part of the conf file

Quote:

####################
server.max-keep-alive-requests = 0
server.max-keep-alive-idle = 4
server.max-read-idle = 60
server.max-write-idle = 1024
server.max-fds = 8192

## for PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/var/run/lighttpd/php-fastcgi.socket",
"bin-path" => "/usr/bin/php-cgi",
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "8",
"PHP_FCGI_MAX_REQUESTS" => "8000"
)
)
)
)

View Replies!   View Related
Suphp Creating 500 Internal Server Error
On my VPS SUPHP with PHP 5.2.9 and MySQL 5.0.77 is running absolutely fine.

Suddenly without making any change on the server today i got a 500 internal server error. I don't think there is any permission problem.

Now i change the PHP5 Handler to "cgi" so everything is normal but if i change that to suphp then showing "500 internal server error" anyone can tell the reason of the problem.... Apache suexec is "on" but off also doesn't make any change?

There is any cache/temp file folder for suphp which is filled or some other problem?

View Replies!   View Related
500 Internal Server Error On Wordpress And Some Other Script
My friend got a new vps as he had been experiencing ram issues with older host, now he has 1gb RAM, so there should be no trouble with the RAM

He is getting 500 Internal Server error, he is using wordpress and some other image hosting script, the traffic is pretty high and he is using lighthttpd, fastcgi probably turned on

I am not sure, if turning of lighthttpd and activating apache would solve any problem, as I am scared his scripts might get screwed up by doing this move and his main sites could totally go down

View Replies!   View Related
Lxadmin Showing 500 - Internal Server Error
Today when I try to access lxadmin, lxadmin give me the big 500 - Internal Server Error. The weird thing is my website stll works fine :p but of course I can't do anything like add domain and create database.

Also I try to update lxadmin via SSH and I get this:

Code:
-bash-3.1# /script/upcp
/script/upcp: line 3: lphp.exe: command not found
I need help with fixing lxadmin panel.

I already post this question in lxadmin forum but the chance they answering my question is somewhat low..

View Replies!   View Related
IIS Custom 500.100 Error Page
I have configured a custom 500.100 Error for one of my web sites in IIS 6.0. However, the custom error page appears nested within the HTML of the page throwing the error, at the point the error occurs.

This is problematic as live errors are being overlooked when they appear late in the script as the majority of the page outputs normally.

On my development server IIS 5.1 this does not happen. The Custom Error Page is shown as its own page. The errors cannot go unnoticed.

How can I change IIS 6.0's Customer Error to behave like my development server, and do it just for the one web site concerned?

View Replies!   View Related
IonCube - Zend Together -> 500 Internal Server Error
Zen optimizer is installed my server, when I try to intall ioncube, all php sites goes down and I get Internal server error, Ioncube and zend dont work together?

and if it s possible to intall ioncube for single site in shared host?

View Replies!   View Related
HTTP 500 - Internal Server Error In IIS V 5.1
I'm using IIS v5.1 on WinXP SP1 and I encountered this error (Page cannot be displayed.....HTTP 500 - internal server error) all of a sudden. now, i've been using my Web server with no hitches, but now I can't open any pages on the server that run server side scripts so i reinstalled it and still get the same "Page cannot be displayed" or I get part of the source code for the server side script. Pinging the server shows that its ok, it replies. and regular pages with no scripts still run with the http protocol in the address. Any ideas on how to get past this problem?

View Replies!   View Related
Http / Php 500 Errors
On a cpanel / centos box:

We are facing with a strange issue about URLs. At any web site in our reseller account in php pages when we add http:// or http%3A%2F%2F to the URL as a query string server returns Internal Server Error 500.

For example when I try to access such page /index.php?q=http%3A%2F%2F[url] or /index.php?q=[url]I get this error. Is there any misconfiguration about PHP or Apache at server or what can we do to solve this problem?

Server uses PHP 5.2.9 / apache 2.2

View Replies!   View Related
HTTP 500 Internal Server Error After Vbulletin Installation
i get this error after installation my vb in my site

View Replies!   View Related
How To Compile Php As Cgi
How to compile php as cgi? It doesn't have any control panel. Do I need to compile together?

View Replies!   View Related
500 Error For Compiled Lisp Program And No Trouble For The Equivalent C App
I'm trying to setup the Clozure Common Lisp implementation for CGI web programming. I've made a hello application and compiled it.

I can type ./index.cgi at the terminal and the properly formatted header and some text are displayed.

When I try to view the index page though the web browser I get an internal server error.

Quote:

Couldn't load lisp heap image from
[Sun May 10 09:31:25 2009] [error] [client 127.0.0.1] Premature end of script headers: index.cgi

I'm wondering if this is a Lisp problem or a problem with the web server/permissions.

I wrote a hello world CGI app in C and ran that through the browser without any problems.

I applied the same permissions from the C app to the Lisp app and still had the same problem.

I *think* this is a Lisp problem, but just felt that I should check with some people who are more familiar with server setups than myself.

View Replies!   View Related
Folder Persission Auto 755 To 775 And Get 500 Internal Error
i install suphp on centos and cpanel,

and the max permission is 755,

about a site's script,

im not sure why when user log into the script to change something,

and the folder persission auto 755 to 775,

by the way,it shows 500 internal error,

i check the /var/log/messages,

but can not find any error about it,

View Replies!   View Related
Error 404/500 Not Found Traffic - How To Redirect From Reseller Level
I have multiple Cpanel accs and wish to apply for all clients an Error 404/500 page redirect to a custom page.

View Replies!   View Related
Error 404/500 Not Found Traffic - How To Redirect From Reseller Level
Error 404/500 not found traffic - how to redirect from reseller level

I have multiple Cpanel accs and wish to apply for all clients an Error 404/500 page redirect to a custom page.

View Replies!   View Related
CGI Timeout Error [php_curl.dll Not Found]
PHP pages on my server are not responding. Following message appears in Logs:

Unknown(): Unable to load dynamic library 'c:program filesswsoftpleskadditionalphpextensionsphp_curl.dll' The specific module could not be found.

Plesk 7.5.6 Control Panel
PHP 4.3 is installed on server.

It was working perfect till last night. How can I fix this, any advice?

The php_curl.dll is available in above location and have correct permissions.

View Replies!   View Related
Php-cgi Isn't Work With Mod_rewrite
I have been using apache and php-cgi and it works well together but when I tried to use
mod_rewrite it stopped working and I got "Internal Server Error" result.

Apache error log showed "FastCGI: incomplete headers (0 bytes) received from server"

I think that mod_rewrite rules are ok because when I refer to some HTML file then it all works.

Apache 2.2.14 and php 5.2.11

View Replies!   View Related
Php Build As Cgi With Exec
I have build PHP as CGI but now the function exec says with every command like uptime this error: [Thu Apr 16 10:28:37 2009] [error] [client xxx.xxx.xxx.xxx] sh: uptime: command not found

This also happens when I do the command convert (yes Imagemagick is installed). Strange enough when I login with the permissions of the exame user I can do the commands through SSH without any problem.

I use DirectAdmin with custombuild. How can I resolve this? Am I required to build PHP to CLI to use the exec command?

View Replies!   View Related
Recompiled Php As Cgi Moudle But ....
I have recompiled php as cgi moudle but php -v command shows

[root@server ~]# php -v
PHP 4.4.8 (cli) (built: Jan 3 2008 18:17:12)

(cli) ?

View Replies!   View Related
PHP-cgi Breaks My Mod_rewrite
I had the sysadmin install SuPHP - so that my upload script would work properly, however now my mod_rewrite is broken.

You can view the problem here: [url]

It is supposed to show the item with id 29, as you can see. However it shows the gallery index (As if /gallery/ was typed in without the view-29)

The .htaccess file:

Code:
#.htaccess

RewriteEngine On
#This will force trailing slashes
RewriteCond %{SCRIPT_FILENAME} -f [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .* - [L]

#RewriteCond %{REQUEST_URI} !^*(css|png|jpe?g|gif)

RewriteRule ^(.+)/(.+)/?$ $1.php?args=$2 [QSA,L]
RewriteRule ^(.+)$ $1.php [QSA,L,NC]
My very framework relies on the .htaccess working this way... I can turn it off, however I would really rather not - so if you have any idea how I can fix this, please do tell.

And on a related note, is it possible to run PHP under a user and not use cgi_php?

View Replies!   View Related
Howto For Suexec, Php As Cgi
I've been attempting to develope a server running apache 2+, php 5, and I was running into issues installing php as cgi.... All my scripts require The shebang:
#!/usr/bin/php at the top to execute properly. Anyone know a good site/how to that explains how to do this?

has anyone else here run suexec with apache? If so, could you tell me what you compiled it with? Just curious, as I think i'm doing everything right, yet I still fail

View Replies!   View Related
PHP 5.2.4 Fast CGI Not Working
I run lighttpd as my webserver, and 5.2.1 worked perfectly. I upgraded to 5.2.4 but when I checked my version, it said "cli". I ran the exact same configure command that I did with 5.2.1, but for some reason it says "cli". I then just ran this config:

'./configure' '--enable-fastcgi' '--enable-discard-path' '--enable-force-cgi-redirect'

And got this error:

collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1

View Replies!   View Related
How To Install Extensions For Php-cgi
If you have the cgi version of php, how do you go about using/installing php extensions?

If it helps...
WindowsXP Pro
IIS 5.1
PHP 5.2.1

View Replies!   View Related
Changing Default CPanel Error Pages
to change the default cPanel account error pages. For example, default accounts have the following 404 error:

Quote:

Not Found

The requested URL * was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

So what I want to do is be able to change this page but I dont know where in the server it is located.

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved