<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linuxuzmani.com &#187; webservis</title>
	<atom:link href="http://www.linuxuzmani.com/tag/webservis/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxuzmani.com</link>
	<description>Linuxa ve Hayata Dair Notlarım</description>
	<lastBuildDate>Sun, 06 Feb 2011 18:07:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Apache2 ile Mod_Proxy (Http Proxy)</title>
		<link>http://www.linuxuzmani.com/apache2-ile-mod_proxy-http-proxy.html</link>
		<comments>http://www.linuxuzmani.com/apache2-ile-mod_proxy-http-proxy.html#comments</comments>
		<pubDate>Thu, 01 Jan 2009 21:43:28 +0000</pubDate>
		<dc:creator>Salih BiLGiN</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[a2enmod]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[http proxy]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[Proxypass]]></category>
		<category><![CDATA[webservis]]></category>

		<guid isPermaLink="false">http://www.linuxuzmani.com/?p=117</guid>
		<description><![CDATA[Şirketimizde yeni bir SAP modülüne geçildi. Bundan sonra paydaşlarla webservis üzerinden çalışılacak şekilde bir süreç tasarlandı. Bu süreçte webservis adresinde çalışılan modülün bilgilerininde olduğunu ve bunu saklayıp dış dünyaya açmam istendi. Sap danışmanın MS tarafındaki bir çözüm önermesine rağmen, hem ürünü kullanmamamız hemde sıcak bakmadığım için hali hazırdaki web hizmeti veren bir linux sunucumda apache [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-118" title="apache_logo" src="http://www.linuxuzmani.com/wp-content/yukluk/2009/01/apache_logo.jpg" alt="apache_logo" width="141" height="71" />Şirketimizde yeni bir SAP modülüne geçildi. Bundan sonra paydaşlarla webservis üzerinden çalışılacak şekilde bir süreç tasarlandı. Bu süreçte webservis adresinde çalışılan modülün bilgilerininde olduğunu ve bunu saklayıp dış dünyaya açmam istendi. Sap danışmanın MS tarafındaki bir çözüm önermesine rağmen, hem ürünü kullanmamamız hemde sıcak bakmadığım için hali hazırdaki web hizmeti veren bir linux sunucumda apache üzerinden proxy ile gerekli işlemi yaptım. Sorunsuz ve maliyetsiz bir şekilde ayrıca güvenli olarak çalışıyor. İçeride istediğiniz linke ve porta yönlendirebilirsiniz.</p>
<p>Ayrıca sunucunuz yurt dışında ise youtube vb gibi erişim yasağı olan siteleride burada tanımlayabilir ve zahmetsizce sörf yapabilirsiniz <img src='http://www.linuxuzmani.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span id="more-117"></span></p>
<p><img class="alignnone size-full wp-image-119" title="proxy" src="http://www.linuxuzmani.com/wp-content/yukluk/2009/01/proxy.jpg" alt="proxy" width="363" height="317" /></p>
<p>Sunucum debian. Apache kurulu değilse kurulumunu yapalım.</p>
<blockquote><p><strong>apt-get install apache2</strong></p></blockquote>
<p>Kurulumun ardından http_proxy ve proxy modülünü aktif hale getiriyoruz.</p>
<blockquote><p><strong>a2enmod proxy<br />
a2enmod proxy_http</strong></p></blockquote>
<p>Modüllerimizi aktif ettikten sonra proxy ayarını yapıyoruz.Kırmızı ile yaptığım yerler değiştirdiğim veya eklediğim yerler.</p>
<blockquote><p><strong>nano /etc/apache2/mods-available/proxy.conf </strong></p></blockquote>
<blockquote><p><em><strong>&lt;IfModule mod_proxy.c&gt;<br />
#turning ProxyRequests on and allowing proxying from all may allow<br />
#spammers to use your proxy to send email.</strong></em></p>
<p><em><strong>ProxyRequests Off</strong></em></p>
<p><em><strong>&lt;Proxy *&gt;<br />
AddDefaultCharset off<br />
Order deny,allow<br />
Allow from all<br />
#Allow from .example.com<br />
&lt;/Proxy&gt;</strong></em></p>
<p><em><strong># Enable/disable the handling of HTTP/1.1 &#8220;Via:&#8221; headers.<br />
# (&#8220;Full&#8221; adds the server version; &#8220;Block&#8221; removes all outgoing Via: headers)<br />
# Set to one of: Off | On | Full | Block<br />
</strong><strong><span style="color: #ff0000;"> </span></strong><span style="color: #ff0000;"><strong>ProxyVia On</strong></span></em></p>
<p><em><strong><span style="color: #ff0000;">ProxyPass /ws/prod    http://prod.linuxuzmani.com:9900/sap/rfc/spprod<br />
ProxyPass /ws/test      http://test.linuxuzmani.com:9900/sap/rfc/sptest<br />
ProxyPass /portal       http://172.16.1.10:40000<br />
ProxyPass /yt               http://www.youtube.com</span></strong></em><strong><em><br />
&lt;/IfModule&gt;</em><br />
</strong></p></blockquote>
<p>Tanımlamalarımızın ardından sunucumuzu tamamlıyoruz. Artık http proxy servisimiz hizmete hazır.</p>
<blockquote><p><strong>/etc/init.d/apache2 restart<br />
</strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuzmani.com/apache2-ile-mod_proxy-http-proxy.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

