CccamInfoPHP proxy settings?

Dreambox information exchange on the best dreambox software images and help with all other operational problems with your Dreambox. The ultimate Dreambox satellite TV support forum.


Reply
 
LinkBack Thread Tools Display Modes
Old 21-11-2008   #1
Regular Member
 
Join Date: 04-03-2006
Location: UK
Posts: 61
Thanks: 6
Thanked 0 Times in 0 Posts

My System: Astra/Hotbird
CccamInfoPHP proxy settings?

Hi, I'm trying to use CccamInfoPHP from work and get no connection to my qbox.

Connecting to the box through the browser without CccamInfoPHP does work and I get the basic "Cccam info pages".

So I guess that CccamInfoPHP can't get past the proxy that I am behind at work.

My question: How do you change the CccamInfoPHP proxy settings?

Cheers, Martin
marty80 is offline   Reply With Quote
Old 21-11-2008   #2
Specialist Contributor
 
compufunk's Avatar
 
Join Date: 07-05-2008
Location: NW, Ireland
Posts: 1392
Thanks: 121
Thanked 229 Times in 196 Posts

My System: DM 600-S, AB IPBox 9000HD, Moteck SG2100, Fracarro Penta 85 dish, + some puters

It take it your Qbox is at home and you are trying to connect from work?

Its probably nothing to do with proxy settings.

You'll need to set up port forwarding on your home DSL modem/router and Dynamic DNS if you dont have a static IP address.
_https://www.dyndns.com/

The ports you need to forward are the ports that CccamInfoPHP uses.
_http://portforward.com/routers.htm
compufunk is offline   Reply With Quote
Old 21-11-2008   #3
Regular Member
 
Join Date: 04-03-2006
Location: UK
Posts: 61
Thanks: 6
Thanked 0 Times in 0 Posts

My System: Astra/Hotbird

everything's set up already (dyndns and ports 16000-16001). have been able to use cccaminfophp from other remote computers just not from work.

when i connect to the basic cccam info pages through a web browser without cccaminfophp its working.

so there must be something that blocks cccaminfophp in particular
marty80 is offline   Reply With Quote
Old 21-11-2008   #4
Specialist Contributor
 
compufunk's Avatar
 
Join Date: 07-05-2008
Location: NW, Ireland
Posts: 1392
Thanks: 121
Thanked 229 Times in 196 Posts

My System: DM 600-S, AB IPBox 9000HD, Moteck SG2100, Fracarro Penta 85 dish, + some puters
Lightbulb

Originally Posted by marty80 View Post
every thing's set up already (dyndns and ports 16000-16001). have been able to use cccaminfophp from other remote computers just not from work.
Thats a different story.

Its going to be very hard to say how to go about this depending on how the proxy settings at work are configured.

There are numerous ways in which proxy servers can be configured.
Does another device on the network handle the proxy settings or are the proxy settings applied on the machine you are working on?

If its on the machine you are working on, is the OS configured to use the proxy server to get connected to the outside world, or is this just configured in your browser? There are a lot of variables here.

If its your browser that has the proxy settings applied, then essentially you are opening a browser to view the CccamInfoPHP interface, the browser knows to use the proxy server, but the actual software which is connecting to the remote Qbox is the PHP code within CccamInfoPHP, which doesn't know that it should be using a proxy.

I had a look at the PHP scripts that this software uses and could find no way of allowing for a proxy server.

In these circumstances, you would need to add the relevant code to the PHP files yourself, (Not a simple task if you dont know what you are doing), I have a little experience with PHP but have never had to worry about proxy servers.

EDIT:
I had a quick read through a few books and there is no simple workaround that I can find for this. They only one I found involved adding PHP script to the proxy server itself (probably not an option)

Here is an excerpt from one of the books, This is probably what is causing your problem........
Note that fopen() will only be able to open files if your server has direct access to the Internet. If it needs to access other HTTP servers via a proxy server, fopen() will not work.
cccaminfophp uses the Fopen function to read files on the dreambox / Qbox.
You could re-write the software

You could also install Apache, PHP on the Qbox itself (Probably) it can be done on a dreambox. Then run the cccaminfophp scripts directly from the dreambox. This would make it available anywhere.

My Dreambox has been fried, so I cant test this.

Last edited by compufunk; 22-11-2008 at 12:28 AM.
compufunk is offline   Reply With Quote
Old 22-11-2008   #5
Regular Member
 
Join Date: 04-03-2006
Location: UK
Posts: 61
Thanks: 6
Thanked 0 Times in 0 Posts

My System: Astra/Hotbird

hi compufunk, thanks for the elaborate answer. the proxy settings are made in the browser at work and i guess you would have to change some settings in the apache/php stuff. strange that there is no simple way of doing this. i'll just leave it then beacause it would be getting far too technical for me. you said you can run apache on the box itself. would that be possible in parallel with a regular dreambox image. cheers, marty
marty80 is offline   Reply With Quote
Old 22-11-2008   #6
Specialist Contributor
 
compufunk's Avatar
 
Join Date: 07-05-2008
Location: NW, Ireland
Posts: 1392
Thanks: 121
Thanked 229 Times in 196 Posts

My System: DM 600-S, AB IPBox 9000HD, Moteck SG2100, Fracarro Penta 85 dish, + some puters

Went on a bit didnt I I shouldn't post after having been to the pub

Yes, I believe its possible on a Dreambox, Although I haven't tried. There is a guide here,
_http://www.digital-kaos.co.uk/forums/f39/apache-php-perl-mysql-dreambox-9335/
compufunk is offline   Reply With Quote
Old 24-11-2008   #7
Regular Member
 
Join Date: 04-03-2006
Location: UK
Posts: 61
Thanks: 6
Thanked 0 Times in 0 Posts

My System: Astra/Hotbird

thanks for the link. that would get too complicated for me. cheers, marty
marty80 is offline   Reply With Quote
Reply

Bookmarks

Tags
cccaminfophp, proxy, settings


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

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







All times are GMT +1. The time now is 04:42 AM.


All views and information expressed in users' communications and profiles represent the opinions of the users concerned and do not represent the views of Satellites.co.uk. All images and news content are believed to be in the public domain, except where otherwise stated. Forum software by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Content Relevant URLs by vBSEO 3.3.1