UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Web Hosting and Domains > PHP Hosting

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 17-08-2007, 19:21
Member
 
Join Date: Jul 2007
Posts: 31
Default URL Hosting disabled.

Dear Friends,
i am shifted my website from linux server to windows when i try to include a php page in website another php page

example

<?
include('abc/123.php');
?>

it shows error url hosting is disabled.

Warning: include() [function.include]: URL file-access is disabled in the server configuration.

how i can enable it.

Nishant
Reply With Quote
  #2 (permalink)  
Old 17-08-2007, 19:35
flesso's Avatar
Premium Member
 
Join Date: Mar 2007
Location: 127.0.0.1
Posts: 1,194
Default

Quote:
Originally Posted by Niks007 View Post
Dear Friends,
i am shifted my website from linux server to windows when i try to include a php page in website another php page

example

<?
include('abc/123.php');
?>

it shows error url hosting is disabled.

Warning: include() [function.include]: URL file-access is disabled in the server configuration.

how i can enable it.

Nishant
This looks like a mod_security problem. Please have a look at the following thread:

mod_security Fix
__________________
Regards,
Josh Hold

eUKhost Blog: Over 1000 Computer Related Articles to Sink Your Teeth Into!

Super Moderator

I'm only a forum gremlin (moderator), and do not work for eUKhost in any way. Opinions expressed by me are mine only, and do not reflect those of either eUKhost or any company that may be listed above.
Reply With Quote
  #3 (permalink)  
Old 17-08-2007, 20:17
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,253
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com
Default

Quote:
Originally Posted by Niks007 View Post
Dear Friends,
i am shifted my website from linux server to windows when i try to include a php page in website another php page

example

<?
include('abc/123.php');
?>

it shows error url hosting is disabled.

Warning: include() [function.include]: URL file-access is disabled in the server configuration.

how i can enable it.

Nishant
This seems to be due to active hotlink protection on our windows servers. You should open a ticket for our Windows Team from http://support.eukhost.com and they will sort this for you.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Reply With Quote
  #4 (permalink)  
Old 18-08-2007, 17:37
DPS Computing's Avatar
Premium Member
 
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 4,458
Send a message via ICQ to DPS Computing Send a message via AIM to DPS Computing Send a message via MSN to DPS Computing Send a message via Yahoo to DPS Computing Send a message via Skype™ to DPS Computing
Default

Yes, I think your domain can be added to a whitelist to prevent this problem occuring.
__________________
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - New site / new polls / new stories! With many more to follow!
NEW LAUNCH! http://djdavid.dpscomputing.com (My DJ Website)
NEW LAUNCH! http://davidsmith.dpscomputing.com (My Personal Website)
Reply With Quote
  #5 (permalink)  
Old 25-08-2007, 21:49
Premium Member
 
Join Date: Jan 2007
Posts: 209
Default

Just for an analysis,
a) Tey including from the same folder
b) Try including from a URL include("http://www.blahblah.com/file.HTM") ==> use htm first then PHP, obioulsy PHP will be parsed but strangely i noticed it doesn't, if the domain is same
c) Also try include('http://localhost/and_path_to_ur file)
d) type opening using relative path, INCLUDING a dot include ('./abc/file.php')

There is always an interesting day! Let me know the results if possible.

Regds
IJ
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 02:59.

 

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

knowledgebase articles

popular blog categories