symfony
Ok here's a quick tutorial on how to enable application switching in Symfony with minimal fuss ... yes we love the sound of that!
Modify your .htaccess file
Edit your web/.htacces file and locate the lines that look like this:
# no, so we redirect to our front web controller RewriteRule ^(.*)$ index.php [QSA,L]
Duplicate the above and modify to your linking:
The following directive need to be added to your sites VirtualHost entry in order for Symfony to function correctly.
Edit your DocumentRoot:
DocumentRoot /home/yoursite.com.au/symfony/web
This goes right at the end:
Alias /sf "/usr/share/pear/data/symfony/web/sf/"
Here's the whole kit for WAMP on Windows:
Example using symfony form helpers:
Unix:
<?php // symfony directories $sf_symfony_lib_dir = '/usr/share/pear/symfony'; $sf_symfony_data_dir = '/usr/share/pear/data/symfony';
Windows:
Archive
- May 2016 (1)
- June 2015 (7)
- May 2015 (3)
- April 2015 (2)
- March 2015 (6)
- February 2015 (3)
- January 2015 (2)
- December 2014 (3)
- November 2014 (1)
- October 2014 (8)
- September 2014 (8)
- August 2014 (8)
- July 2014 (14)
- June 2014 (12)
- May 2014 (9)
- September 2013 (2)
- April 2013 (2)
- March 2013 (5)
- November 2012 (2)
- June 2011 (1)
- February 2011 (1)
- August 2010 (1)
- July 2010 (1)
- June 2010 (7)
- May 2010 (1)
- March 2010 (5)
- February 2010 (1)
- November 2009 (4)
- July 2009 (1)
- July 2008 (11)
- October 2007 (2)