<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>k-holy</author_name>
  <author_url>https://blog.hatena.ne.jp/k-holy/</author_url>
  <blog_title>k-holyのPHPとか諸々メモ</blog_title>
  <blog_url>https://k-holy.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>Silex</anon>
  </categories>
  <description>Advent Calendar 用のサンプルコードを書くに当たって、Silexアプリケーションをサブディレクトリで運用したメモです。 なお、例のごとくサンプルコードではテンプレートエンジンにSmartyを使っています。 Apache + mod_rewrite で解決 Apache + mod_rewrite 環境においてSilexアプリケーションをサブディレクトリで運用する例です。 ドキュメントルートおよびサブディレクトリで運用するSilexアプリケーションのエントリスクリプトのパスは以下とします。 ドキュメントルート /home/kholy/public_html/ エントリスクリプト /…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fk-holy.hatenablog.com%2Fentry%2F2012%2F12%2F30%2F235521&quot; title=&quot;Silexアプリケーションをサブディレクトリで運用する(mod_rewriteとUrlGenerator) - k-holyのPHPとか諸々メモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-12-30 23:55:21</published>
  <title>Silexアプリケーションをサブディレクトリで運用する(mod_rewriteとUrlGenerator)</title>
  <type>rich</type>
  <url>https://k-holy.hatenablog.com/entry/2012/12/30/235521</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
