Flex :: Xampp / Wamp Based Apache Server Custom Reply?

Feb 20, 2012

How can I send a custom response upon a custom request on a xampp/wamp based Apache server upon a connection to a specific port?I'm trying to reply to the � a flash app is requesting in order to allow a crossdomain http GET request.The flash policy request, is made to port 843 by default and i'd like to keep it that way.The port should get a � (ending with a null char,� is just for the reference) and replying with something like:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>

[code]....

As far as i know, the request should be return as a plain text, although Content-type, might be needed as well.I've tried using the following:[URL] and although it listens to the port and accepts connections, it doesn't reply with the specified xml upon request.I wrote a simple C# web server which listens to port 843, and serves the aforementioned policy - it worked out just fine, however, when using a SecureSocket connection for a secure connection (i.e opening a socket to a HTTPS/SSL protocol) - the request that is sent is encrypted using the hosts certificate. As far as i know, there's no way of listening or acquiring the servers certificate and decrypting the data via an external app hence, the only way is to somehow 'teach' Apache to respond with the crossdomain policy after a proper request is sent via an appropriate port.

Another idea i have is to read the server's certificate file stored in the Apache directory regardless of what happens on the server itself, though imo it's an overkill.

View 1 Replies


Similar Posts:


Media Server :: Apache In FMS 4 Developer Vs XAMPP Environment For PHP?

Sep 15, 2011

1.Have a Flash Webpage under development designed to permit preview and streaming of FLV video.Downloaded FMS Developer as a test server on my computer.Apache 2.2 loads with it with a checkbox option to install it or not. I'm able to stream my video OK in this setup using RTMP://localhost and the FLVPlayback component in Flash Pro.I like some of the OSMF players better like the one in the FMS Start Screen, but I haven't been able to integrate/embed it into my Flash webpage using the HTML provided.They say just paste it to the webpage, but in ActionScript how do you do that?how to embed Strobe Media Player into an FLA webpage using their HTML.

2.I plan to use PayPal Express Checkout for Digital Goods (EC/DG) as my pay facility on the Flash webpage. My videos will play to a cuepoint and then jump to a PayPal button which executes (EC/DG) .I'm having trouble integrating PayPal with my Flash webpage. There's a lot of online help, but most solutions involve PHP. I bought the e-book, "Adobe Dreamweaver CS5 for PHP" which recommends downloading the XAMPP platform which contains Apache, PHP, MySQL etc.

(a) If I use the XAMPP software, as recommended in the Dreamweaver book, do I have to first uninstall the Apache that comes with FMS? I assume you can't have two Apache's running at the same time.

(b) Is FMS the Server or is Apache the server in the FMS installation?

(c) Does the Apache software installed with FMS include PHP and MySQL, which seems to be required for any server-side coding?

I want to use FMS with Amazon Web Services to implement my Streaming Video Project, but I'm not sure I can do it with all the problems I'm encountering.Two final questions:
 
3.Why would I need Flash Builder if I have Dreamweaver?Don't they do essentially the same thing?

4.I'm trying to do in 1 and 2 above just using ActionScript and JavaScript, which I understand is just Server-side ActionScript?

View 7 Replies

Actionscript :: Connection From Program To The Server Using XAMPP Server And Program In Flex?

Oct 26, 2010

i have the following code ]

[Code]...

but no connection established what is the reason behind not know help required and one more thing XAMPP is installed in D: drive.

View 1 Replies

Media Server :: Configure Wamp With FMS 4.5

Mar 10, 2012

I'm looking for a way to configure wamp with FMS 4.5. I installed fms 4.5 without the apache server that comes with it. From the way it looks, fms seems to be running; i was able to run the sample files that came with it. I really need to know to configure these two.

View 1 Replies

ActionScript 2.0 :: Make A Xmlsocket Chatroom In Computer With Wamp Server?

Sep 27, 2010

i want to make an xmlsocket chatroom in my computer with wamp server ,i use this port and ip:

HTML Code:
mySocket.connect("localhost", 1026);

and i have changed the port of wamp server to 1026 and i have puted the socket.php file in www directory of wamp.when i run the swf file in flash the connection establishing is succesfull but when i try to send data the connection will close.this is the actionscript code:

HTML Code:
mySocket = new XMLSocket();
mySocket.onConnect = function(success) {
if (success) {

[code]....

View 0 Replies

Media Server :: Cannot Connect To Admin Console FMS 3.5 Running Separate Apache Server

Jul 7, 2009

I have installed the FMS 3.5 Server on a separate IP from our main Apache Server: The server is running Redhat Linux 2.6.18-128.1.10.el5
 
FMS 3.5 running on ***.***.**.138 using ports 1935, 8080 (Admin Server using port 1111)
Apache 2 running on ***.***.**.139 using port 80, 443. (several sites setup on this IP)
 
However, when accessing the fms_adminConsole.htm in the root directory of one of the domains on ***.***.**.139, all login attempts fail. I am connecting to localhost and using the assigned user and password set up in fms.ini. Using either IP fails as well. The FMS server is set up to listen to all hosts as no specific IPs were set.
 
/var/log/messages show that FMS and the Admin Server are up an running and listening:
Jul  7 12:15:37 228215-web1 Service[28196]: Server starting...
Jul  7 12:15:37 228215-web1 Service[28196]: Server started (/opt/adobe/fms/conf/Server.xml).

[Code]....

All other settings for FMS are default. This is my first time setting up FMS as a fresh install on a new unknown server and I am at a loss as to what settings to check or which files I may need to modify to get it to connect properly. It is a managed server is hosted by rackspace.com if that makes any difference.

View 5 Replies

Media Server :: Deploy Video Using FMS / Apache / IIS Server Running On Win XP Pro?

Sep 28, 2009

Right now I do not have "server". Example: I do not have anything like windows sever 2000, 2003 etc. but I have and running IIS server on the same Windows XP Pro. On this very same machine I installed FMS server with the Apache that came with the FMS. I have read and followed the instructions time and time again in deferent ways to deploy my video on the server but no idea I used is working so my clients could view my videos. Looking forward to have site like "hulu" / "You Tube".

View 1 Replies

Media Server :: Apache Or Windows Server For HTTP Streaming?

Jun 17, 2011

Does is matter what HTTP server I use?In the process of upgrading from FMS 3.0 on Windows using IIS 5 to FMS 4.0. Will dynamic HTTP Streaming work from a Windows server?

View 1 Replies

Media Server :: HLS And External Apache HTTP Server Not Working?

Sep 19, 2011

I installed the FMS 4.5 on a debian system already running an apache web server. I configured the httpd.conf as mentioned in d6093a7e2f8312a374a1bde-8000.html but when i call a streaming url e.g. http://<IP>/hls-live/livepkgr/_definst_/liveevent/livestream.m3u8 the request is still handled by the old apache, not by the FMS

View 9 Replies

Media Server :: FMS 3.5 Server With Non Included Apache 2.2 Webserver?

Feb 25, 2009

I have installed FMS 3.5 on a Linux root server with openSUSE 10.3 without included Apache 2.2. That is why the webserver is already installed and running. Now I should know next steps to configure both FMS and Apache to make it work for streaming recorded .flv files via HTTP and the VOD application. Starting Apache manually after FMS server is running always ends up in failure and error message: 'Address already in use. Could not bind to address [::]:80. If I start Apache first and then FMS server everything is running. But I guess this is not correct because the manual mentioned first starting FMS server.

View 21 Replies

Media Server :: Install Fms On Apache Web Server On Linux

Dec 9, 2010

I have apache web server installed on linux with one ip and some virtual hosts. Can I install fms on this server?

View 1 Replies

Media Server :: Limitation On Using External Apache Server?

Nov 29, 2011

I'm going to setup a web server for streaming h.264 video for flash player and ios device.I know that I need the vod with HDS and HLS, and I don't need real live stream recording.At this stage, I have configured my apache server and use modules in FMS.I have referred to this document,[URL]It seems works fine now.Because I don't need to use FMS any more in my environment, what's the limitation I need to concern in terms of license, performance, etc. ?

View 4 Replies

Apache Server W/ XMLSocket?

Aug 17, 2011

I have a perl socket on my apache server that correctly takes input from sockets and sends it back out to every socket connected to the perl socket. I have tested the perl socket, and it works correctly.
When I launch the Flash in the IDE, as a flash program, it functions correctly with the perl socket.
However, when I try to launch the Flash in a Browser on my apache server, it tells me it is unable to connect to the server.However, I am seeing from feedback from my perl socket, the flash connects for about a half of a second, and thats it.

What could be the problem, do I have to include code in the flash to allow XMLSockets to connect in a browser as well? Is there certain things I need to do with my apache server to make it work?

Also if I 'Preview as HTML' from Adobe Flash CS4, it does not connect.

View 3 Replies

Server Side :: PHP Won't Run On APACHE ?

Jun 27, 2006

I've been through all the instructions and after running all the diagnostics through telnet it seems PHP is installed correctly as well as APACHE.When I edit the httpd.conf file however and add:

LoadModule php4_module "C:/PHP/php4apache.dll"

Apache fails to start once the httpd.conf is saved with that LoadModule request.It is in the specified directory.It is PHP4 on Apache 2.2. on Win XP.

View 6 Replies

Media Server :: Getting IIS7 Instead Of Apache?

Feb 27, 2010

I have fms 3.5 installed, i did not install Apache because i already have iis7 running. how do i configure fms with iis7 to allow for http tunneling/streaming when rtmp is blocked?

View 3 Replies

Flex :: Event-based Interaction Between Two Custom Classes?

May 25, 2010

I have 2 custom components, which have their own nesting hierarchy ... One is container for another. I have to "familiarize them" with each other. The way I'm trying to achieve that is using global events (one side is firing and the other one is catching):

Application.application.addEventListener("Hello", function (data:Event):void{
// .. some actions
});

[Code]...

Then should be created the connection between container and it's child.

BUT, the only thing I could acheive is passing a reference to the Container in the DynamicEvent. Is there any chance that I could access the child at the event-handler function.

View 3 Replies

Flex :: Cannot Move Custom Component Based On HGroup

Oct 30, 2011

I have created a custom component based on spark.components.HGroup and it works mostly as needed, but I have this minor problem: I can not move it.

Maybe someone will look at my simplified test case below and spot my error?

Here is the screenshot of my 3 custom components, representing chat bubbles:

Here my custom component Bubble.mxml drawing black text on green background:

<?xml version="1.0" encoding="utf-8"?>
<s:HGroup
xmlns:fx="http://ns.adobe.com/mxml/2009"

[Code]....

View 1 Replies

Flex :: Custom Component Based On A Group Disappears

Nov 28, 2011

I have a problem with a custom component based on a Group. Actually, I want to create a section component (a container with a border and a title). I created a path so that the border doesn't hide the label (title):

[Code]...

View 1 Replies

Media Server :: Add Php And Mysql To Fmis With Apache?

Aug 7, 2009

add php and mysql to fmis with apache?

View 1 Replies

Media Server :: IIS7 And FMS + Apache On The Same Machine

Jun 8, 2010

Has anybody experience to install FMS 3.+ Apache on the same machine with IIS7. Our business department decided to save some money on hardware and we have to install FMS on production, where we have  already hostted ASP.NET WebSite. We have to do steaming video on our ASP.NET pages. I think to configure FMS on ports 1925,6000 instead of 1925,80. Will it be ok for Apache? Actually, I tested the installation with this configuration on our testing enviroment and it works, but the funny thing is that I can put rtmp://111.111.111.111/vod/sample.flv works (without port 6000). Is it correct behavior?

View 3 Replies

Media Server :: Apache Segfault Using Mod_hlshttp.so?

Sep 20, 2011

Trying to use hls on an exising Apache server on Ubuntu following the instructions listed here:section: Use an external Apache HTTP Server for HTTP Dynamic Streaming and HTTP Live StreamingCopied the .so files to apache's module library, updated conf file, restarted apache.  Now, it seems to work when requesting a m3u8 URL, but looking at the apache error log file, getting seg faults across all virtual hosts.

View 6 Replies

Actionscript 3 :: Flex Custom TreeItemRenderer That Changes Based On Type Of Object?

Oct 7, 2011

I have a Flex tree control that holds a tree full of various types of objects. I'd like to change the label of the item based on this type (and other properties). I'd prefer to do this in a custom TreeItemRenderer rather than via label or labelfunction.It seems that whatever I do, I cannot typecheck nor cast the objects and thus I get [Object object] in the nodes of my tree. Here is my renderer:

public class MyCustomTreeItemRenderer extends TreeItemRenderer {
// Overriding to set the text for each tree node.
override protected function updateDisplayList(unscaledWidth:Number,

[code]....

View 2 Replies

Media Server :: PHP Shown In Browser As Text On FMS Apache

Oct 22, 2009

We have several small websites, some with limited php and some with small mysql databases and we are planning on running Flash Media Server as well all on one RedHat server. I have installed the FMS and apache as per default installation and all is working ok I see the sample videos and have added some of my own videos. I have added some content under /opt/adobe/fms/webroot and this appears ok.

I have 2 flat sites called mysite1 and mysite2
Apache is installed as the default install on linux under /opt/adobe/fms/Apache2.2.
I have installed php php -vPHP 5.1.6 (cli) (built: Feb 26 2009 07:01:12) Copyright (c) 1997-2006 The PHP GroupZend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

I have the following in my httpd.conf file and this seems to work ok for the virtual hosts in apache as I can see these sites
NameVirtualHost *:8134
<VirtualHost *:8134> DocumentRoot "/opt/adobe/fms/webroot" ServerName myservername
ErrorLog /var/log/httpd/error.myservername.log .....

But when I go to look at a php page all I saw was the php text. So for example I go to [URL] page appears fine, when I go to [URL] all I see is the php text. I looked at the php.conf file from another server and I noticed that it used modules/libphp5.which is not available on this copy of Apache so I am not sure what I need to do to get php running on the server.

View 1 Replies

Media Server :: Apache Service Stop Automatically?

Jul 26, 2011

I have Flash media server 3.5 and  it is working fine but now a days Apache service is automatically stoped  so all streaming services is stopd then i restart the Flash Media  Server after restart FMS goes smothly and all streaming services goes  smothly.ut this issue, below are the event viewer detail wehere the appache service stop  detail is mentioned.

here is the event viewer details for FMS
Event Type:  InformationEvent Source:  FMS (Master)Event Category:  (258)Event ID:  1413Description:C:Program  FilesAdobeFlash Media Server

[code].....

View 2 Replies

Media Server :: Using Port 81 Fallback For Apache Configuration

Dec 14, 2011

I need to upgrade FMS 4.5 for HDS/HLS streaming. I am using Server 2008 and I need to use IIS7 port 80 for legacy web sites. I would like to configure in fms.ini using ports 1935 and 81 and Apache requests to port 8134. Can I use this configuration? Do I need to open ports 81 and ports 8134 in the network? What is recommended in this case?

View 5 Replies

Media Server :: Apache Not Working with FMS 4.5 On Windows 2008?

Mar 30, 2012

FMS 4.5.1 Windows 2008 SP2 (64bit).We are deploying Adobe Flash Media Server 4.5.1 on a new server but Apache does not work (does not serve html files or stream Quicktime H.264 files).Assorted Problems & Error messages:

1.  The webroot/index.html page loads locally, but the HLS/HDS streams result in a 2032 error.

2. The webroot/index.html page does not load from  external locations:[URL] (does not load externally).[URL] (our old server, FMS 4.0 and Windows 2003). Everything on this server works, the 2 major differences being that it is running FMS 4.x on Windows 2003.

Some RTMP streaming works externally and internally (f4v files):[URL]FMS does not stream Quicktime H.264 files even though f4v files work.New server (does not work): [URL]Old server (Quicktime/H.264 file works):[URL]Apache does not serve Quicktime/H.264 files: I made sure that Apache had all of the correct mime types specified.

Error messages and attempted solutions:Apache's erro_log file: a. httpd.exe: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

2. FMS master.log file

a. FMSHttpd -k start returned 1: [URL]1a:  Edited httpd.conf file to include ServerName 63.116.232.5

1b: The presence of this error message also indicates that Apache httpd was unable to obtain a fully-qualified hostname by doing a reverse lookup on your server's IP address.
In order for the server to accept external connections a reverse DNS lookup needs to be created. I created a reverse DNS lookup and  edited the /etc/hosts file to include the IPaddress, Fully Qualified Domain Name (FQDN), shortname.

[code]....

View 5 Replies

Media Server :: Bundled Apache Stops Receiving Requests?

Jun 10, 2009

I think I'm getting closer to the source of my problem.Let me outline my setup first (I'm using private IPs for example only). I have set two IP addresses to one network adaptor as follows:
 
CentOS 5.3 server running Apache 2.2.3 on eth0 with IP 192.168.0.78 <- working fine absolutely no problems at all
 
FMS 3.5.2 running Apache bundled with FMS on eth0:2 with IP 192.168.0.79
 
In fms.ini I have the following config:
 
ADAPTOR.HOSTPORT = 192.168.0.79:1935,80
HTTPPROXY.HOST = 192.168.0.79:8134
 
At (apparently) random times, the FMS Apache stops serving requests, but does not crash, and for some reason blocks requests to RTMP at the same time. Nothing appears in the log files which makes this even more tricky.I've run a test by shutting down apache as follows:
 
./httpd -f ./conf/httpd.conf -d "/opt/adobe/fms/Apache2.2" -k stop
 
and I expected RTMP to stop working aswell, however it continued serving up RTMP, which has led me to believe that something is then stalling the serving up of RTMP requests. This results in total downtime of all applications.

View 36 Replies

Media Server :: Connection Between Fmsedge And Apache With Http Tunneling

Dec 4, 2009

I configured my FMS for listening on port 80 and redirect non-FMS requests to apache on port 8080 in the same server machine. It works well, but I've noticed several tcp connections from fmsedge to apache in Established status (it is simple to see through "netstat -nap | grep 8080" command) that stay forever (until FMS stop or restart). With a sniffer capture I seen that sometime the fmsedge requests to apache a tcp connection but it (fmsedge) doesn't use this connection. Then the apache server send a syn,ack tcp request and always fmsedge send a dup ack tcp response. So, the connection is active but not used, then apache doesn't close it.The kind of requests for apache are http get to js or php files. I don't understand why fmsedge create these connections.

View 2 Replies

Media Server :: The Apache Service Named Reported The Error?

Feb 16, 2012

The Apache service named reported the following error: >>>[Thu Feb 16 17:07:10 2012] [info] mod_jithttp - FMS installation path: "C:/Program Files/Adobe/Flash Media Server 4.5/"I installing FMS 4.5 in windows 2008 r2 X64 ,but apache error ,pls help me? why?

View 2 Replies

Media Server :: Change Integrated Apache Root Folder To Something Else?

Mar 28, 2012

We are trying to install our Adobe Flash Media Interactive Server. The problem we are facing is that Apache which comes with FMS is set to be run from /home/Apache2.2.21_x64 for some odd reason. Even though we install whole FMS to /opt/adobe/fms folder Apache still has /home/Apache2.2.21_x64 everywhere compilled in. Is there a way to change Apache root folder?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved