Community Forums

Important Notice:

Two sections of this forum are available only to registered customers. In order to receive access to the Customer Forums and ResellerCentral Forums, you must first register on these forums or login to your existing forum account. If you are an existing HostNine customer, be sure to register using the email address on file for your billing profile.

Go Back   HostNine Community Forums > H9 General Forums > Lounge / Off Topic > Web Development

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-18-2006, 08:13 AM
abarilla abarilla is offline
Newbie
 
Join Date: Oct 2006
Posts: 2
Default Wierd PHP Error

I'm having a problem that I didn't have with either my previous host or on any of my development machines. If I pass http:// as a parameter to a php script, I get a 406 Not Acceptable error.

Here's the actual link (generated from a Javascript bookmark):

http://www.tangledupinbrew.com/links...om&name=Google

now change the http to htttp:

http://www.tangledupinbrew.com/links...om&name=Google

This happens on any of my servers regardless of whether the php script in question is a valid file or not.

Additionally, I did notice that the <?= php shortcut doesn't work, at least under php5, on HostNine servers. I had to change this to <?php echo.
Reply With Quote
  #2  
Old 10-18-2006, 08:44 AM
HNine Rick HNine Rick is offline
H9 Addict
 
Join Date: Aug 2006
Posts: 103
Default

Hi,

That is a mod_security rule to avoid hackers on the server. Simply add:

SecFilterEngine Off

To your .htaccess file to bypass that.
Reply With Quote
  #3  
Old 10-18-2006, 08:51 AM
abarilla abarilla is offline
Newbie
 
Join Date: Oct 2006
Posts: 2
Default

Excellent. That did it.

Thanks,
Andy
Reply With Quote
Reply

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
406 Error . WHY ? akboselk Reseller Hosting 6 07-25-2009 10:48 PM
Billing Error motybu Feedback & Suggestions 0 04-15-2009 03:43 AM


All times are GMT -5. The time now is 02:25 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

Host Nine

Our mission began in 2006. Thousands of awesome clients later, we are now one of the most popular hosters in the world.
Most of this is because of our fantastic support. Join us, you'll be glad you did - that's a given.