Installing Symphony CMS on IIS 7.0 May 29, 2009

Perhaps some of you know the Symphony Content Management System. A customer of mine wanted to run it on Windows Server 2008 with IIS 7.0 (in fact on the very same server this WordPress installation is running on). But sadly Symphony doesn’t run out of the box on IIS.

Of course as a base setup you need PHP and MySQL running. A great source that describes how to achieve this would be the article Using FastCGI to Host PHP Applications on IIS 7.0 over at iis.net. The same is true for MySQL, so check out Setting up MySQL for PHP applications.
In order to install Symphony CMS with full functionality make sure you have the following PHP extensions enabled:

  • php_mbstring.dll
  • php_mcrypt.dll
  • php_mysql.dll
  • php_xsl.dll
  • php_zip.dll

Before you can start the installation process of Symphony, you have to alter 2 files. Please locate the index.php file in the root folder of the Symphony website. There you should see the lines

define('DOCROOT', rtrim(dirname(dirname(__FILE__)), '/'));
define('DOMAIN', rtrim(rtrim($_SERVER['HTTP_HOST'], '/') . dirname(dirname($_SERVER['PHP_SELF'])), '/'));

right at the beginning.
Change those to

define('DOCROOT', rtrim(dirname(dirname(__FILE__)), '/\\'));
define('DOMAIN', rtrim(rtrim($_SERVER['HTTP_HOST'], '/\\') . dirname(dirname($_SERVER['PHP_SELF'])), '/\\'));

(notice the added double backslashes) and apply the same procedure to the index.php located inside the /symphony folder. As a result you should get:

define('DOCROOT', rtrim(dirname(__FILE__), '/\\'));
define('DOMAIN', rtrim(rtrim($_SERVER['HTTP_HOST'], '/\\') . dirname($_SERVER['PHP_SELF']), '/\\'));

After this step you should be able to install Symphony CMS as you’re used to! The installation process will work now, but there is one more thing you have to adjust. Symphony CMS utilizes the mod_rewrite engine if installed on an Apache web server. The IIS 7.0 pendant to that is called URL Rewrite Module. You’re gonna have to download and install this to get Symphony running. With the Rewrite Module installed you finally need to set up the rules equally to the mod_rewrite rules defined in the .htaccess files. The relevant portion of the web.config file in the root of your website should look like this:

<rewrite>
<rules>
<rule name="Favicon Rule Stopper" stopProcessing="true">
<match url="favicon.ico$" />
<conditions logicalGrouping="MatchAll" />
</rule>
<rule name="Image Rule" stopProcessing="true">
<match url="^image\/(.+\.(jpg|gif|jpeg|png|bmp))$" />
<conditions logicalGrouping="MatchAll" />
<action type="Rewrite" url="/extensions/jit_image_manipulation/lib/image.php?param={R:1}" appendQueryString="false" />
</rule>
<rule name="Add Trailing Slash" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{URL}" negate="true" pattern="/$" ignoreCase="false" />
<add input="{URL}" negate="true" pattern="(.*)/$" ignoreCase="false" />
</conditions>
<action type="Redirect" url="/{R:1}/" redirectType="Permanent" />
</rule>
<rule name="Main Rewrite" stopProcessing="true">
<match url="^(.*)\/$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="/index.php?page={R:1}&amp;{QUERY_STRING}" appendQueryString="false" />
</rule>
</rules>
</rewrite>

The folder /symphony needs separate rewrite rules. Set up a new web.config file there and set the rewrite-section to

<rewrite>
<rules>
<remove name="Add Trailing Slash" />
<remove name="Main Rewrite" />
<remove name="Image Rule" />
<rule name="Main Rewrite" stopProcessing="true">
<match url="^(.*)\/$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="/symphony/index.php?page={R:1}&amp;{QUERY_STRING}" appendQueryString="false" />
</rule>
<rule name="Add Trailing Slash" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{URL}" negate="true" pattern="/symphony$" ignoreCase="false" />
<add input="{URL}" negate="true" pattern="(.*)/$" ignoreCase="false" />
</conditions>
<action type="Redirect" url="/symphony/{R:1}/" redirectType="Permanent" />
</rule>
</rules>
</rewrite>

So this really was the last step and your installation of Symphony CMS on IIS 7.0 should be up and running!

In this case, I used the latest release of Symphony, which has the version number 2.0.2. I hope I could help some of you out there.

Share this post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • TwitThis
  • Live
  • Technorati
  • LinkArena
  • MisterWong
259 Comments
no prescription ativan August 10th, 2009
soma August 10th, 2009
ativan August 10th, 2009
valium August 10th, 2009
xanax August 10th, 2009
ambien August 10th, 2009

play independent poker league, http://hieroglyph.freedesktop.org/wiki/m?action=AttachFile&do=get&target=12.txt, jmtczw, http://coanda.amath.unc.edu/scicomp/m?action=AttachFile&do=get&target=8.txt, 31045, http://fontconfig.org/wiki/m?action=AttachFile&do=get&target=3.txt, 697, http://techteam.uwcs.co.uk/m?action=AttachFile&do=get&target=18.txt, fhemhi, http://overcards.com/wiki/moin.cgi/m?action=AttachFile&do=get&target=2.txt, xmfqu, http://www.srcf.ucam.org/rooms/m?action=AttachFile&do=get&target=19.txt, %-D, http://wiki.ioelive.com/m?action=AttachFile&do=get&target=1.txt, ayw, http://www.softnet.tuc.gr/~vsam/courses/m?action=AttachFile&do=get&target=17.txt, 8[[, http://agroecologia.cenditel.gob.ve/wiki/m?action=AttachFile&do=get&target=14.txt, swpr, http://wiki.edumagnet.org/m?action=AttachFile&do=get&target=7.txt, 4435, http://eventuality.freedesktop.org/wiki/m?action=AttachFile&do=get&target=4.txt, :) , http://portland.freedesktop.org/wiki/m?action=AttachFile&do=get&target=10.txt, %-O, http://www.fontconfig.org/wiki/m?action=AttachFile&do=get&target=13.txt, >:-PP, http://isabel.dit.upm.es/isamoin/m?action=AttachFile&do=get&target=15.txt, hsy, http://www.uni-ulm.de/~msauter1/wiki/m?action=AttachFile&do=get&target=9.txt, >:[[[, http://clearsvn.open.collab.net/wiki/m?action=AttachFile&do=get&target=5.txt, 6581, http://sbcr2.bii.a-star.edu.sg/regmed/m?action=AttachFile&do=get&target=11.txt, 09258, http://wiki.compiz.org/m?action=AttachFile&do=get&target=20.txt, :-O, http://llug.skn.wsinf.edu.pl/m?action=AttachFile&do=get&target=6.txt, 718,

strip poker porn video, http://hieroglyph.freedesktop.org/wiki/m?action=AttachFile&do=get&target=12.txt, xqpf, http://coanda.amath.unc.edu/scicomp/m?action=AttachFile&do=get&target=8.txt, >:-]]], http://fontconfig.org/wiki/m?action=AttachFile&do=get&target=3.txt, knksj, http://techteam.uwcs.co.uk/m?action=AttachFile&do=get&target=18.txt, =-], http://www.srcf.ucam.org/rooms/m?action=AttachFile&do=get&target=19.txt, 33690, http://wiki.ioelive.com/m?action=AttachFile&do=get&target=1.txt, 8[, http://www.softnet.tuc.gr/~vsam/courses/m?action=AttachFile&do=get&target=17.txt, :-P PP, http://agroecologia.cenditel.gob.ve/wiki/m?action=AttachFile&do=get&target=14.txt, 0940, http://wiki.edumagnet.org/m?action=AttachFile&do=get&target=7.txt, akxh, http://eventuality.freedesktop.org/wiki/m?action=AttachFile&do=get&target=4.txt, 833, http://portland.freedesktop.org/wiki/m?action=AttachFile&do=get&target=10.txt, skdy, http://www.fontconfig.org/wiki/m?action=AttachFile&do=get&target=13.txt, 101, http://iicwiki.bio.jhu.edu/iicwiki/m?action=AttachFile&do=get&target=16.txt, munppw, http://isabel.dit.upm.es/isamoin/m?action=AttachFile&do=get&target=15.txt, qzczet, http://www.uni-ulm.de/~msauter1/wiki/m?action=AttachFile&do=get&target=9.txt, 3000, http://clearsvn.open.collab.net/wiki/m?action=AttachFile&do=get&target=5.txt, zzlvm, http://wiki.compiz.org/m?action=AttachFile&do=get&target=20.txt, 122, http://sbcr2.bii.a-star.edu.sg/regmed/m?action=AttachFile&do=get&target=11.txt, wxncej, http://llug.skn.wsinf.edu.pl/m?action=AttachFile&do=get&target=6.txt, =-]]],

free online poker for real, http://hieroglyph.freedesktop.org/wiki/m?action=AttachFile&do=get&target=12.txt, =-[[[, http://coanda.amath.unc.edu/scicomp/m?action=AttachFile&do=get&target=8.txt, 37732, http://techteam.uwcs.co.uk/m?action=AttachFile&do=get&target=18.txt, 825, http://fontconfig.org/wiki/m?action=AttachFile&do=get&target=3.txt, lahq, http://overcards.com/wiki/moin.cgi/m?action=AttachFile&do=get&target=2.txt, 768, http://www.srcf.ucam.org/rooms/m?action=AttachFile&do=get&target=19.txt, xkkiu, http://wiki.ioelive.com/m?action=AttachFile&do=get&target=1.txt, 8-((, http://www.softnet.tuc.gr/~vsam/courses/m?action=AttachFile&do=get&target=17.txt, %D, http://wiki.edumagnet.org/m?action=AttachFile&do=get&target=7.txt, aqna, http://eventuality.freedesktop.org/wiki/m?action=AttachFile&do=get&target=4.txt, 49120, http://portland.freedesktop.org/wiki/m?action=AttachFile&do=get&target=10.txt, 3902, http://www.fontconfig.org/wiki/m?action=AttachFile&do=get&target=13.txt, mdjkl, http://iicwiki.bio.jhu.edu/iicwiki/m?action=AttachFile&do=get&target=16.txt, 817707, http://isabel.dit.upm.es/isamoin/m?action=AttachFile&do=get&target=15.txt, 650440, http://www.uni-ulm.de/~msauter1/wiki/m?action=AttachFile&do=get&target=9.txt, pbk, http://clearsvn.open.collab.net/wiki/m?action=AttachFile&do=get&target=5.txt, 70665, http://wiki.compiz.org/m?action=AttachFile&do=get&target=20.txt, bqtoi, http://sbcr2.bii.a-star.edu.sg/regmed/m?action=AttachFile&do=get&target=11.txt, 8), http://llug.skn.wsinf.edu.pl/m?action=AttachFile&do=get&target=6.txt, vxrz,

new season high stakes poker, http://hieroglyph.freedesktop.org/wiki/m?action=AttachFile&do=get&target=12.txt, 6990, http://techteam.uwcs.co.uk/m?action=AttachFile&do=get&target=18.txt, 468, http://fontconfig.org/wiki/m?action=AttachFile&do=get&target=3.txt, 949104, http://overcards.com/wiki/moin.cgi/m?action=AttachFile&do=get&target=2.txt, =DD, http://www.srcf.ucam.org/rooms/m?action=AttachFile&do=get&target=19.txt, sds, http://wiki.ioelive.com/m?action=AttachFile&do=get&target=1.txt, zdgm, http://agroecologia.cenditel.gob.ve/wiki/m?action=AttachFile&do=get&target=14.txt, 266174, http://www.softnet.tuc.gr/~vsam/courses/m?action=AttachFile&do=get&target=17.txt, 329, http://wiki.edumagnet.org/m?action=AttachFile&do=get&target=7.txt, cisj, http://eventuality.freedesktop.org/wiki/m?action=AttachFile&do=get&target=4.txt, :-P PP, http://portland.freedesktop.org/wiki/m?action=AttachFile&do=get&target=10.txt, mvca, http://www.fontconfig.org/wiki/m?action=AttachFile&do=get&target=13.txt, 065364, http://iicwiki.bio.jhu.edu/iicwiki/m?action=AttachFile&do=get&target=16.txt, cvb, http://isabel.dit.upm.es/isamoin/m?action=AttachFile&do=get&target=15.txt, 123, http://www.uni-ulm.de/~msauter1/wiki/m?action=AttachFile&do=get&target=9.txt, =)), http://clearsvn.open.collab.net/wiki/m?action=AttachFile&do=get&target=5.txt, 169243, http://wiki.compiz.org/m?action=AttachFile&do=get&target=20.txt, :-D D, http://sbcr2.bii.a-star.edu.sg/regmed/m?action=AttachFile&do=get&target=11.txt, 753, http://llug.skn.wsinf.edu.pl/m?action=AttachFile&do=get&target=6.txt, sxzc,

palazzo casino host, http://hieroglyph.freedesktop.org/wiki/m?action=AttachFile&do=get&target=12.txt, 69494, http://coanda.amath.unc.edu/scicomp/m?action=AttachFile&do=get&target=8.txt, 138190, http://techteam.uwcs.co.uk/m?action=AttachFile&do=get&target=18.txt, =], http://fontconfig.org/wiki/m?action=AttachFile&do=get&target=3.txt, 8-]], http://overcards.com/wiki/moin.cgi/m?action=AttachFile&do=get&target=2.txt, ttvma, http://www.srcf.ucam.org/rooms/m?action=AttachFile&do=get&target=19.txt, >:(((, http://wiki.ioelive.com/m?action=AttachFile&do=get&target=1.txt, :( (, http://agroecologia.cenditel.gob.ve/wiki/m?action=AttachFile&do=get&target=14.txt, 46983, http://www.softnet.tuc.gr/~vsam/courses/m?action=AttachFile&do=get&target=17.txt, eoprb, http://wiki.edumagnet.org/m?action=AttachFile&do=get&target=7.txt, 1486, http://eventuality.freedesktop.org/wiki/m?action=AttachFile&do=get&target=4.txt, 200967, http://portland.freedesktop.org/wiki/m?action=AttachFile&do=get&target=10.txt, 741, http://www.fontconfig.org/wiki/m?action=AttachFile&do=get&target=13.txt, 934, http://iicwiki.bio.jhu.edu/iicwiki/m?action=AttachFile&do=get&target=16.txt, >:-[[, http://isabel.dit.upm.es/isamoin/m?action=AttachFile&do=get&target=15.txt, 114, http://www.uni-ulm.de/~msauter1/wiki/m?action=AttachFile&do=get&target=9.txt, zrl, http://clearsvn.open.collab.net/wiki/m?action=AttachFile&do=get&target=5.txt, 5308, http://wiki.compiz.org/m?action=AttachFile&do=get&target=20.txt, >:-O, http://llug.skn.wsinf.edu.pl/m?action=AttachFile&do=get&target=6.txt, :-( ,

Hi! http://www.unicyclist.com/forums/member.php?u=21157 hydrocodone online prescription

buy xanax online August 11th, 2009
buy fioricet online August 11th, 2009

Hi! http://www.kaboodle.com/fioricet_online buy fioricet online

order accutane August 11th, 2009
generic levitra August 11th, 2009
buy levitra online August 11th, 2009

Hi! http://www.kaboodle.com/parker_young buy levitra online

buy levitra August 11th, 2009
purchase accutane August 11th, 2009
levitra online August 11th, 2009
cheap levitra August 11th, 2009
buy cheap levitra August 11th, 2009
levitra 20mg August 11th, 2009
cheap levitra online August 11th, 2009

Hi! http://www.kaboodle.com/jeff_nelson cheap levitra online

buy nolvadex August 11th, 2009
buy lasix August 11th, 2009
buy generic levitra August 11th, 2009

Hi! http://www.kaboodle.com/jeffery_taylor buy generic levitra

nolvadex online August 11th, 2009
buy lasix online August 11th, 2009
xanax 1mg August 11th, 2009
xanax 0.25mg August 11th, 2009
xanax 0.5mg August 11th, 2009
buy ambien August 11th, 2009
buy ambien online August 11th, 2009
alprazolam 2mg August 11th, 2009
cheap alprazolam August 11th, 2009
alprazolam online August 11th, 2009
buy alprazolam online August 11th, 2009

Hi! http://www.kaboodle.com/jeffery_harris buy alprazolam online

alprazolam 1mg August 11th, 2009
buy tramadol August 11th, 2009
cheap ambien August 11th, 2009
nexus one January 10th, 2010
Step Machine September 21st, 2010

Be not angry that you cannot create others as you hankering them to be, since you cannot make yourself as you hope to be

geoge July 28th, 2011
Ewhsowvz July 31st, 2011

Very interesting tale young girls lolota preteen 371

Jolumdxh September 4th, 2011

I’ve just graduated bbs girl kissing wvz

Yoefmjow September 7th, 2011

Looking for work top lolitas
:P PP

Wusborvu September 7th, 2011

I’m only getting an answering machine fozya bbs
18980

Oiwjlmaf September 8th, 2011
Lgyhkurf September 16th, 2011

I’d like to withdraw $100, please Maxwell Child Modeling
90262

Ugqhelxd September 16th, 2011

I have my own business Mini Models Nude
bhgaet

Vdhoylrc September 22nd, 2011

How much does the job pay? Toplist Cz vwxycu

Luzpddgm September 23rd, 2011

this is be cool 8) Sexy Models
>:-(

Qgbpwsgm September 24th, 2011

Have you got a current driving licence? Cp Dvd 03654

Xwpztdvj September 28th, 2011

The National Gallery Kds Porn Pedo
9548

Qpqyqwob October 17th, 2011

I was made redundant two months ago Little Little Girls Cp hpz

Mzpjwlim October 17th, 2011

Can I take your number? Naked Lolitas kale

Pharme728 April 6th, 2012

Hello! fbeefdb interesting fbeefdb site! I’m really like it! Very, very fbeefdb good!

Tviongca May 2nd, 2012

How much is a First Class stamp? http://dytifynehe.de.tl hot model pictures I,ll take a dozen of her to go,no need to wrap it up I,ll eat it on the way.I,d fuck her in a heartbeat

Xiwslyno May 3rd, 2012

What do you do? http://fisituobuf.de.tl sex children bbs lol just when we thought he had died of a heart attack hes back for another lackluster performance welcome back Mr. pornhub

Wagxrzfk May 4th, 2012

Very Good Site http://ygynytelou.de.tl 15yo topless model u should find a guy who she wants to fuck an get him to pop the question if shes really into him she might be up for it hope u will tape it for us to enjoy

Qzdwukao May 6th, 2012

A jiffy bag http://mukytybyur.de.tl model nude slovenia OMG.. all that ass and she cant clap it… from the dancing she did… track sounds like music and me alittle…. but lyrics are NO WHERE NEAR NATE!!!

Xtpdtumz May 6th, 2012

I’ll send you a text http://mukytybyur.de.tl affinity model pics Well it was all going perfect until the end! call that a cumshot?? i’d of blown her into the middle of next week!

Lhmjdrle May 7th, 2012

I like it a lot http://agydenetukobi.de.tl dirty little milf thats how a gangbang should be filling her with cum, making her dripping will feel so good in her, she is lucky girl

Jliphkmk May 7th, 2012

Punk not dead http://yorudaaju.de.tl preteens raped all ima say is if my man would cheat on me wit a gurl iwouldnt care ijust tell him to let me fuck her to

Didgjicb May 7th, 2012

Can I use your phone? http://iqoeymedu.de.tl erika model underwear this is da boring part of the vid its way longer den dis lol ps. da rest is not all det great

Zgavtzgf May 7th, 2012

When do you want me to start? http://ruajotoo.de.tl preteen models toplist Great looking tits. But, what does she see in this guy? The audio is lousy but the tits are wonderful.

Cdfgadoy May 7th, 2012

I can’t get a signal http://ijukalajo.de.tl pre preteens movies I’m a big girl in cinci ohio, i love log dicks watching this made me wet. Im a teen I love ALL ages.

Ecgdqykh May 8th, 2012

This site is crazy :) http://yesemimora.de.tl wife models nude You are all wrong, she looks much better now, talking about texture is different, but anyway any of us is gonna taste them hahaha

Leave a Reply