LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-03-2007, 11:29 AM   #1
got_nix
Member
 
Registered: Oct 2004
Location: Jamaica
Distribution: Ubuntu 6.0.6 (Dapper Drake)
Posts: 59

Rep: Reputation: 15
By default is url file access disabled?


I'm writing an extension for my site that'll publish a page for inclusion into other websites. However i figured the best option would be to create a static page to cut down on multiple hits on my db.. but.. now i got a problem with the delivery.

I have thought about an include.. but as i asked is this disabled by default on most server packages (comercial)?

any help at all would be greatly appreciated. Thank you.
 
Old 07-03-2007, 12:59 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,392

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
"most server packages"?? and where does commercial software come into this?
 
Old 07-03-2007, 01:09 PM   #3
got_nix
Member
 
Registered: Oct 2004
Location: Jamaica
Distribution: Ubuntu 6.0.6 (Dapper Drake)
Posts: 59

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie
"most server packages"?? and where does commercial software come into this?

not software.. as in comercial server packages. and not something you threw together on an old box at your house
 
Old 07-03-2007, 02:05 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,392

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
well you're not using "commerical server packages" are you... are you referring to web servers or what?
 
Old 07-03-2007, 08:33 PM   #5
got_nix
Member
 
Registered: Oct 2004
Location: Jamaica
Distribution: Ubuntu 6.0.6 (Dapper Drake)
Posts: 59

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie
well you're not using "commerical server packages" are you... are you referring to web servers or what?
webserver.. yeah.. one that you pay for.. monetery transaction "comercial". Thats all i meant sorry for the confusion.

all i'm asking is if when you buy a hosting package with say godaddy. or whihever popular hosting company there is out there. is url file access disabled? meaning if you should include('http://blah.com/filehtml'); would it through a warning or would it parse and include.
 
Old 07-04-2007, 02:22 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,392

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
if file access is filtered, then yo ucan't run a website at all, all web pages are files... i really don't understand what the problem is here... i'd have to say that no, it's not filtered, you can put any files you like on there.
 
Old 07-04-2007, 10:46 AM   #7
got_nix
Member
 
Registered: Oct 2004
Location: Jamaica
Distribution: Ubuntu 6.0.6 (Dapper Drake)
Posts: 59

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie
if file access is filtered, then yo ucan't run a website at all, all web pages are files... i really don't understand what the problem is here... i'd have to say that no, it's not filtered, you can put any files you like on there.
Thanks for the reply.. but.. lemme see if i can explain a bit better cuase i've tested it on a few local webservers (my machines)

server1 server2 server3

with fqdn's of say localhost1 localhost2 localhost3

all accessible by one lan network.

if i should try to include a file in a web page which is hosted on localhost1 i get a worning saying

Code:
blah blah blah
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/gotnix/public_html/upcoming.inc.php on line 5

Warning: include(http://events.in876.com/upcomming.htm) [function.include]: failed to open stream: no suitable wrapper could be found in /home/gotnix/public_html/upcoming.inc.php on line 5

Warning: include() [function.include]: Failed opening 'http://events.in876.com/upcomming.htm' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/gotnix/public_html/upcoming.inc.php on line 5

blah blah blah is what is actually on the page.. right below it the file i included should be displayed. but Just doesnt' work.

Does this make things any clearer? as to my problem?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ctrl-Alt-Backspace Disabled by default - why?!? brother.sand Debian 4 09-28-2005 02:32 PM
Fast Question: SWAP-file in Ubuntu disabled by default? Waerner Ubuntu 2 07-14-2005 09:57 AM
Smilies should be disabled by default secesh LQ Suggestions & Feedback 13 06-08-2005 01:21 PM
Default File Access Privileges..! br_sriram Linux - Software 0 09-28-2004 11:10 PM
How do I view the default Apache access log file? johann519 Linux - General 2 05-10-2004 11:46 AM


All times are GMT -5. The time now is 05:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration