Tag Archives: adobe

Using a reverse Proxy with a subdomain

Apache
Having an Apache server is really a great thing, every day you can discover something new:D Today I discovered that I can use a reverse proxy to point to a server behind my firewall. Even better I can use a subdomain to access it, which is exactly what I need.

So let’s see, what I need is that every request to a certain subdomain to be mapped to another server, with a private IP-Address. This is great because I only expose parts of my server to the Network that I want.

First things first: in the apache configuration, which is usually located at /etc/sysconfig/apache2 edit the APACHE_OPTS to contain -D REVERSE, -D PROXY and -D PROXY_HTML (actually the last one’s not needed as we wont be adjusting any URLs, but let’s keep it anyway).

APACHE2_OPTS="-D DEFAULT_VHOST -D PHP5 -D PERL -D PROXY_HTML -D REVERSE -D PROXY"

Now that we have enabled the proxy stuff, we can start configuring it. In the vhost directory (something like /etc/apache2/vhosts.d/) create a new file that will hold the configurationfor the subdomain:

<virtualhost your-ip-here>
        DocumentRoot /srv/www/subdomain/htdocs
        ServerName subdomain.domain.tld
        ServerAdmin webmaster@subdomain.domain.tld
        AccessFileName .htaccess
        ScriptAlias /cgi-bin/ /srv/www/subdomain/cgi-bin/
        ServerAlias subdomain.domain.tld sudomain
 
        <directory /srv/www/subdomain/htdocs>
                Order allow,deny
                Allow from all
        </directory>
 
        <directory /srv/www/subdomain/cgi-bin>
                AllowOverride None
                Order allow,deny
                Options ExecCGI
                Allow from all
        </directory>
</virtualhost>

Ok so by bow we have created the new subdomain, just to let apache shut up about missing folders we’ll create the required folder:

mkdir -p /srv/www/subdomain/{htdocs,cgi-bin}

What’s missing now? Right, the reverse Proxy :) so we have to add two new lines to the definition above:

       ProxyPass / http://internal-ip-address/
        ProxyPassReverse / http://internal-ip-address/

That’s it! Just put the above before the Closing VirtualHost tag and it should work just fine.

SSCP, Systems Security Certified Practitioner provides an ideal training for IT specialists and trainers for the maintenance of security system. JN0-310, juniper certification exams are considered one of the best certification exams for IT personnel. HP0-W02 stands for Implementing HP StorageWorks EVA Solutions certification exams training which a valuable exam is for IT candidates. HP0-752 provides full training for IT professionals in authentic way. HP0-096 certification exams are designed to develop professional perfection in IT specialists and technicians. 9A0-044, ADOBE ACE Photoshop CS2 certification exam is very valuable for web developers and designers to enhance the professional skills. 920-136 certification exams are one of the leading exams to enhance the knowledge and professional skills of IT professionals.
  • Share/Bookmark

Flash 9 for Linux

Adobe has just released Flash 9 for Linux.

Adobe has made available Adobe Flash Player 9 for Linux. Adobe Flash Player 9 delivers a consistent cross-platform experience and extends performance and features to the broadest set of developers and users to date. Additionally, Linux developers can create, test and deploy Rich Internet applications (RIAs) on the Linux platform using the free Adobe Flex 2 Software Developers Kit (SDK), Adobe Flash Player 9 and the free Flex Data Services 2 Express, as per a statement issued by the company.

According to Adobe, the release is officially tested on Red Hat Enterprise Linux (RHEL) 3 update 8, RHEL 4 update 4 (AS/ES/WS) and Novell SUSE 9.x or 10.1. It should work with Firefox 1.5.0.7 and higher; Mozilla 1.7.x and higher; SeaMonkey 1.0.5 and higher, but with the right packages and some tinkering, you can get it to run on any 32 bit Linux platform.

Finally we can start wasting our time with those stupid Videos and Games on Linux too :D

  • Share/Bookmark

Gang warfare, Web 2.0 style

I’ve been pushing this post around in my aggregator for some days now, never being able to read it, yet wanting to throw it away because it’s a nice article (and I love the picture they have included:) ) Gang Warfare Chris Messina takes an in depth look at Adobes recent donation of Source Code to the Open Source Community (this is to be read as Mozilla).
On the other, more cynical, hand, I know enough to read between the lines and see this for what it really is: business as usual, with the good grace of open source being used as a context for making this appear “nicer” than it really is.
Adobe wants to be front and center in every browser; it’s smart enough to recognize however, that, like Google, the core threat to their position in the market is Microsoft’s Live platform technologies. An Adobe browser couldn’t dent Microsoft’s platform share, but two open source browsers can by creating the de facto web publishing environment and tools for the future of the web-centric desktop.
He definitely got a point in this theory, and maybe he got it all right (it certainly looks so), but the effect we have right now is that it is a bold move from Adobe, and it will help Standard compliant browsers to become more popular, thus making live easier for us developers. Making Business is not a bad thing as such, it’s bad if you are the only one who gets something, which is not the case here: we get a better user experience :D And god I love that picture ;)
  • Share/Bookmark

Adobe joins forces with Mozilla

Adobe has just announced a huge donation to the Mozilla foundation: a high performance ECMAScript Edition 4 Virtual Machine. Don’t know what ECMAScript is? It’s the standard behind JavaScript. Off course this is great news for all Ajax developers because it allows us to rely on the most powerfull Virtual Machine ever for our applications.
Advertisement BadgeWhen you convert PDF to Word you may find that any free PDF conversion sites online don’t give you the power that true PDF to Word software can give you; if you end up converting PDF to Word often then dedicated software might be a good solution.
Mozilla will host a new open source project, called Tamarin, to accelerate the development of this standards-based approach for creating rich and engaging Web applications. The Tamarin project will implement the final version of the ECMAScript Edition 4 standard language, which Mozilla will use within the next generation of SpiderMonkey, the core JavaScript engine embedded in Firefox®, Mozilla’s free Web browser. As of today, developers working on SpiderMonkey will have access to the Tamarin code in the Mozilla CVS repository via the project page located at www.mozilla.org/projects/tamarin/ . Contributions to the code will be managed by a governing body of developers from both Adobe and Mozilla. “Adobe’s work on the new virtual machine is the largest contribution to the Mozilla Foundation since its inception,” said Brendan Eich, chief technology officer, Mozilla Corporation, and creator of JavaScript. “Now web developers have a high-performance, open source virtual machine for building and deploying interactive applications across both Adobe Flash Player and the Firefox web browser. We’re excited about joining the Adobe and Mozilla communities to advance ECMAScript.” “This is a major milestone in bringing together the broader HTML and Flash development communities around a common language, and empowering the creation of even more innovative applications in the Web 2.0 world,” said Kevin Lynch, senior vice president and chief software architect at Adobe. “By working with the open source community we are accelerating the adoption of a standard language for creating and delivering richer, more interactive experiences that work consistently across PCs and mobile devices.”
Hopefully this will have an influence on the other browsers too and push them towards powerfull and standard compliant JavaScript implementation. I just can’t wait to see it in action :)
  • Share/Bookmark