Changing Register_globals From .htaccess Will Cause 500 Error When Php Run As CGI
May 7, 2007
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 3 Replies
ADVERTISEMENT
Feb 24, 2007
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 1 Replies
View Related
Mar 29, 2007
<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 9 Replies
View Related
Jul 7, 2009
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 5 Replies
View Related
Nov 9, 2009
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 3 Replies
View Related
Jun 5, 2014
I have following problem when I try to cange the configuration file for Nginx in Plesk.
Details:
- Using Wordpress
- vServer
- PHP is handled through Nginx
- Memcached is enabled
To use the caching plugin "Cachify" in combination with memcached, the nginx configuration file must be edited. Following config should be used:
Code:
## GZIP
gzip_static on;
## CHARSET
charset utf-8;
## INDEX LOCATION
location / {
error_page 405 = @nocache;
[Code] ....
When I try to save the new config, following error appears:
Invalid nginx configuration: nginx: [emerg] duplicate location "/" in /var/www/vhosts/systemmydomain/conf/vhost_nginx.conf:8 nginx: configuration file /etc/nginx/nginx.conf test failed
How can I use the necessary configuration? I used google before, but some people said, that the server templated needs to be edited?
View 1 Replies
View Related
Jun 5, 2014
When changing the subscriber of migrated (or new subscriptions) from a normal customer to another normal customer or reseller customer I sometimes get the following message:
Code:
Reassigning Selected Subscriptions
ERROR: PleskFatalException
Picker not supported
When going back to the subscription overview I get the following error message:
Code:
Error: External exception. SQLSTATE[21000]: Cardinality violation: 1241 Operand should contain 1 column(s)
There are related forum entries:
Does not apply, vendor_id is never null: [URL] ....
Does not apply, it was a Plesk 11 > 11 migration: [URL] ....
View 4 Replies
View Related
Nov 19, 2014
I have a Plesk 12 server running that works great. But the problem is that whenever one of my shared hosting customers changes something out a domain or subdomain, all the other sites on the server give a 502 error.
The reason why is clear to me: apache is reloading its config while nginx is still active, but sees apache as being down and therefor throws a 502 error.
Is there any way to prevent this from happening? Because it's happening a lot and people are sending in 'site down' reports while there's actually nothing wrong with the server or their site.
View 2 Replies
View Related
Dec 6, 2014
I have installed Plesk 12.0.18 on my server and want to change the hosting-type from "Forwarding" to "Web hosting". I change the type via "Websites & Domains" view (see attachments).
After I insert username and password, I get following error message:
Some fields are empty or contain an improper value. ('home' = '')
Deleting the domain and creating it from scratch is a bad option. I would have to create all e-mail accounts and migrate the data.
View 7 Replies
View Related
Nov 30, 2007
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 5 Replies
View Related
Oct 21, 2009
I Have Kloxo Runing in my Server , and i use Apache for handling php , and htaccess .
From kloxo Panel under Extra , Error Handling .
I made editing to where visitor will be taken when come to page not found , banned , ..etc
The error 404 , 403,500
But won't work , it just take User to the Apache Test page instaed takes him to the Page i spicifed..
So i edited htaccess like ErrorDocument 403 forbid.php to try redierct the users to the error pages but got same reslut instaed takes them to the apache test page .
I tried install Plesk and Try . But seems the Same thing , when user comes to not found page , or forbidden page he will be directed to Apache test page.
View 1 Replies
View Related
Jun 19, 2014
I encountered htaccess error while login at my website. I never change my username and password. How to solve it?
View 1 Replies
View Related
Jul 17, 2015
When I change an email address on a user's account I get this error?
Code:
Internal error: mailmng-mailname failed: Unable to open dir /var/qmail/mailnames/mydomain.com/stevebrown/@attachments: No such file or directory System error 2: No such file or directory
Message mailmng-mailname failed: Unable to open dir /var/qmail/mailnames/bullochrec.com/stevebrown/@attachments: No such file or directory System error 2: No such file or directory
File Agent.php
Line 243
Type PleskUtilException
Using Cloudlinux 6.6 and Plesk 12
View 2 Replies
View Related
Jan 11, 2009
i got hosting with cPanel Control panel i have some problem with this hosting because its "register_globals" disabled , i need to enable the "register_globals" on my hosting ,
View 10 Replies
View Related
Jan 6, 2008
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 9 Replies
View Related
Mar 4, 2008
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 11 Replies
View Related
May 11, 2009
Ive just tried to block an IP address in cPanel, and I got this error:
Error: while opening /usr/local/apache/htdocs/.htaccess
Does this mean the .htacess file is not there?
View 6 Replies
View Related
Aug 1, 2007
=The last line in the .htaccess file is
ErrorDocument 404 [url]
If someone tries to view a page that does not exist in the web site, the Custom 404 Error Page is displayed, properly.
I am trying to get Google to verify that I am the owner of this site (so I can use their Webmaster tools), and I have placed a page with a name they specified, in the site. Their verification fails, because, 'We've detected that your 404 file (file not found) error page returns a status of 200 (Success) in the header.' They need a status of 404 in the header of 404 pages. Note: Google does a HEAD request (not a GET request).
Also, I have noticed in the Webalizer statistics, there are no 404 codes listed with the other response codes! I know the Custom 404 page is getting a lot of hits, but, they are not shown in the statistics, because the wrong code is being sent.
The web site is small and the Custom Error page is with the other pages. I'm using MS FrontPage 2000.
Question: What do I need to change that line to, to get this to work properly, for Google and for my Webalizer statistics? Apache/1.3.27 (Unix)
View 10 Replies
View Related
Mar 29, 2009
my server is centos and cpanel,
i setup it with suphp and suEXEC,
and i set the register_globals as off on server,
now,i had a website need register_globals on,
i search many articles and try to edit php.ini and .htaccess,
but all still show
FATAL ERROR: register_globals is disabled in php.ini, please enable it!
or
500 internal error
could anyone teach me how to solve the issue?
View 14 Replies
View Related
Oct 8, 2012
I was trying to set up archive-my-tweets [URL] .... and I seem to have gotten stuck with a 403 error. When I remove the .htaccess file the 403 goes away but so do the rewrite rules so that's a problem.
You'll see the contained .htaccess file that's included in the project.
Basically for now I'm just trying to run this on my mac. I have set up the files in a subdirectory of my personal web server. The personal web server is working fine--but when I go to the /tweets directory I get the 403.
View 8 Replies
View Related
Feb 15, 2007
Dreamhost accounts have PHP register_globals turned on by default. I tried to override that and have register_globals turned off by putting this line
register_globals = Off
in a php.ini file placed at the web root. But phpinfo() still shows register_global as on. How do I turn off register_globals in Dreamhost?
View 4 Replies
View Related
Dec 10, 2008
How can custom safe_mode / register_globals for an account?
Hi,
I have with CentOS 5.2 + cPanel/WHM. For security i edited suphp.conf and force all users use my main php.ini config:
[phprc_paths]
application/x-httpd-php=/usr/local/lib/
;application/x-httpd-php4=/usr/local/php4/lib/
application/x-httpd-php5=/usr/local/lib/
Now i wanna turn on register_globals and turn off safe mode for an account, how can i do that?
View 3 Replies
View Related
Aug 31, 2014
Plesk 12 - Domain with no hosting I'm getting error when changing hosting settings to Website Hosting
Error: Some fields are empty or contain an improper value. ('home' = '')
View 3 Replies
View Related
Jun 29, 2013
After upgrade to Plesk 11.5.30 trying to set up FTP-Backup Repository:
Repository error: Transport error: unable to list directory: Curl error: Access denied to remote resourceClick to expand...
View 7 Replies
View Related
Sep 25, 2007
Everytime I deleted an Ip set up by WHM, this one nameserver always comes back and deletes one that I already set up.
69.50.221.151 NS19.NSHOSTER.NET
No matter what I change it to, that NS19.NSHOSTER.net keeps overwriting an NS that i set. What's wrong? When i try to delete with WHM
Quote:
Removing Nameserver Ip 69.50.221.151
Sorry, the nameserver ip 69.50.221.151 cannot be removing since it is still registered with an ICANN register.
I can only go through ssh.
View 1 Replies
View Related
May 26, 2007
My Linux box has a set IP address that never changes. However, I am switching my server from one collocation to another so in the process my IP address will be different.
The last time I switched my box, I had my ISP admin change the IP address within my linux box, but now that might not be an option.
So in linux, CentOS 4.1, how do I change the IP address on the box?
As much as I can remember, I had to change it in:
/etc/netstart
But I also remember there is another file that needs to be edited within the server to change the IP.
View 1 Replies
View Related
Jul 23, 2008
I have been with this hosting company for almost five years now and until today the service has been excellent. I am having massive ftp issues. I have 41 different domains that I run for a variety of projects. Needless to say I keep each website in a different folder. I just tried to switch one of my blogs from blogger to wordpress. Blogger won't let me have my domain back and keeps blocking it with a 404 error. But that is a separate issue. I tried using one of my extra domains and pointing it at my new blog folder. But it keeps bouncing back to my root directory. I contacted 1and1 and they reset the server, but now they are blaming me for the issue. I can access the blog through it's subdirectory but I can't post the blog there.
Anyways, I am not ready to move over all of my websites, but I do want to move my blog to a new host. I am mainly hoping that I can escape 1and1 and blogger in one move if I change the host of this one website. It's funny I have been happy for years and recommended them to friends, but now I am very disappointed. Can someone recomend a reliable host? I am looking for one with a cheap lowend package to start off. If I end up staying I will need a lot of bandwidth as I have a podcast that had a lot of traffic. Basically, there are so many companies that I just can't tell which ones are reliable. That's my main concern. Also I use SQL a lot. Thanks!
View 8 Replies
View Related
Jun 26, 2009
I'm setting up my dns records for a backup mailserver and setting up another ns record in case of server / datacentre problems.
My question is, do I need to specify the ip address of the external hostname and the external namserver in the local dns record?
e.g mail.mydomaim.com in A **.***.**.**
then add mail.outside-domain.com in A **.***.**.**.
I dont think its necessary but want to double check.
View 2 Replies
View Related
Oct 25, 2009
I'm changing my webhost after getting screwed around with countless downtimes and now their own site is completely down.
I'm looking for a new host, and had been looking at alot of review sites. After looking at a few of them, found that they were obviously fakes with almost 100% good reviews for some hosts, completely dissing some other hosts, and the complete opposite on some other sites.
Looking for recommendations for your own host, do state your site too so I can try out the response.
Criteria
excellent uptime
responsive support + live support chat
h-sphere preferred, but not a must have (I like having subdomains in directories at the same level as domains)
does not ridiculously overload their servers (well, who can tell?)
good site response time
budget at 10usd per month
allows many domains/sites, no need for super high bandwidth as I just host many small sites
PHP with .htaccess access + imagemagick/gd
View 11 Replies
View Related