Wednesday, April 11, 2012

Worpress Install Fail on Arvixe

Posting this as an aid memoire.

I've set up several blogs on my Arvixe hosting account without a problem, but today was different. I don't know whether it is something to do with the version of Wordpress or the Microsoft Web Gallery script (much more likely) but when I finished the install and view the blog, I was unable to view it due to a 403 error.

I tried the admin login and that worked OK so it was just the home page that was broken. I had a sniff at the file permissions but they were OK. Then a thought struck me. I tried the full address of the homepage in the address bar http://ubuntu.seonyx.com/index.php and sure enough that worked. Then the problem was clear. I opened up the web.config and found that no default document was specified. Infact it was pretty empty. I replaced it with the following and everything worked OK:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<directoryBrowse enabled="true" />
<defaultDocument>
<files>
<clear />
<add value="index.php" />
</files>
</defaultDocument>
</system.webServer>
<system.web>
<compilation debug="true"/>
<customErrors mode="Off"/>
</system.web>
</configuration>

No comments: