Datawalke / Coordino

Self-hosted Knowledge Software your question & answer system written on top of the CakePHP Framework
http://coordino.com
MIT License
714 stars 173 forks source link

Install error on IIS 7.5 #13

Open azler opened 13 years ago

azler commented 13 years ago

Tried to install this on a windows 2008 IIS 7.5 server and get the same 404 page can not be displayed.

I have converted the .htaccess files in all the sub folders to web configs.. the first bit of the install page looks correct then when you click lets continue I get the 404 error.

Will this ever work on IIS?

I know the .htaccess converter works as i have used it with various wordpress sites we host.

Az

ghost commented 13 years ago

check out: https://github.com/Datawalke/Coordino/issues/12

azler commented 13 years ago

The RewriteBase is auto-calculated based on where the rule is defined. So I imported all the rules you set but it would not let you import the RewriteBase /

The rules are currently in the root of the web server, Is this correct?

Rob

ghost commented 13 years ago

No there are 3 sets of rules. https://github.com/Datawalke/Coordino/issues/12 is what worked for me.

/.htaccess /app/.htaccess /app/webroot/.htaccess

azler commented 13 years ago

That is not the way URL- Rewrite works on IIS, It has all the rules converted at the root of the folder structure and this cascades through.

I have tried having 3 separate web configs and still no joy. Was yours under IIS or Apache?

I do feel this limits the possibilities for this web application to be used.

Az

ghost commented 13 years ago

Linux Apache

Are you getting 404s on install?

azler commented 13 years ago

The front page looks good and confirms all the directory's are writable, so i click lets continue and go the the URL: http://test.com/install/database-config

Thats where I get the 404 Error. This sounds like a IIS problem and mod rewrite is not working correctly.

Az

ghost commented 13 years ago

Sounds like the same problem I was having when I installed. Problem was fixed via htaccess

Is mod rewrite even working? Have you tested mod rewrite?

azler commented 13 years ago

I have yes, We were having problems with Wordpress due to the mod rewrite when you have multiple sites and this resolved it.

IIS does not use the .htaccess it uses it own web.config, I think that is where the problems are.

Az

svandragt commented 11 years ago

same problem