Sorry this site requires JavaScript to be enabled in your browser. See the following guide on How to enable JavaScript in Internet Explorer, Netscape, Firefox and Safari. Alternatively you may be blocking JavaScript with an advert-related or developer plugin. Please check your browser plugins.

Here is my idea of a smoothly migration from IIS/ASP to Apache/PHP, including lots of code snippets. Grab any Unix box from your hoster’s portfolio and start over. Win!
Comments6 Comments  

Comments

Avatar
from g1smd 1523 Days ago #
Votes: 1

Great post.   That should get people on the way.Once you have used Apache and PHP for a while you appreciate the power to configure it, and the ease with which it can be done, however the hell you want it configured.

Avatar
from JohnWeb 1523 Days ago #
Votes: 0

That reminds me...I have one remaining IIS site that needs moving.  Maybe next year.

Avatar
from g1smd 1523 Days ago #
Votes: 0

To redirect index files, I use something like this code.  It works for all requested index files, it strips any and all parameters, and it works in the root or in any level of folder:RewriteCond %{HTTP_HOST} ^(www\.)?example\.org [NC]RewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /([^/]*/)*(index|default|home)\.(html?|php(4|5)?|aspx?|cfm).* HTTP/ [NC]RewriteRule ^(([^/]*/)*)(index|default|home)\.(html?|php(4|5)?|aspx?|cfm)$ ht tp://www.example.org/$1? [NC,R=301,L]

Avatar
from eKstreme 1523 Days ago #
Votes: -1

That a really good post Sebastian :)

Avatar Moderator
from Sebastian 1523 Days ago #
Votes: 0

Thanks guys :)

Avatar
from mjwalshe 1522 Days ago #
Votes: -2

hmm as an experianced developer i am not sure I would  consider php and mysql (pause for muffled singgering)  an upgrade to asp/sql sever  asp to .net yesThough why you would want to migrate once you have gone one route or the other if you want to run some php software say wordpress set up a subdomain or a proxy that sits in front of 2 webservers and make sthem look like one site. The only advatage in going php/apache that almost every host suports mod rewrite on apache iis you have to install an isapi filter (which can be fun things to get working we had one where the developer had  a nervous breakdown writing it) 

Upcoming Conferences

Search Marketing ExpoSearch Engine Land produces SMX, the Search Marketing Expo conference series. SMX events deliver the most comprehensive educational and networking experiences - whether you're just starting in search marketing or you're a seasoned expert.



Join us at an upcoming SMX event:

Upcoming Webcasts

Search Marketing Now Learn more about search marketing with our free online webcasts and webinars from our sister site, Search Marketing Now. Upcoming online events include: