Roundcube Community Forum

Release Support => Pending Issues => Topic started by: Daica on June 18, 2013, 11:47:16 PM

Title: [SOLVED] 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: Daica on June 18, 2013, 11:47:16 PM
I'm trying to install roundcube on my server running Windows 8 and using Uniform Server as the apache server.
I extracted roundcube into a folder and went to the folder using my browser. When I got there, it gave me an error 403 and I cannot install Roundcube because it just keeps displaying that error.

If I remove the .htaccess file, Roundcube would run, but after the installation, it would throw a lot of errors at the top of the page.
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: Daica on June 26, 2013, 06:21:33 PM
Does anyone have this problem or know how to fix it?

I really wanna use Roundcube but the support is so dead :|
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: ABerglund on June 26, 2013, 09:24:09 PM
Plenty of support for normal platforms. I've not heard of anyone else running it on Windows 8, and have never even heard of Uniform. Hard to give advise when we aren't familiar with your uncommon platform.
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: Daica on June 27, 2013, 06:46:44 PM
Roundcube does support Windows though right?
Uniform is basically like WAMP, it's an all-in-one apache server with MySQl, PHP and stuff.
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: ABerglund on June 27, 2013, 08:51:12 PM
Roundcube doesn't care what operating system it is installed in. It does require a supported database (such as mySQL), PHP 5.3.x and a standards-compliant webserver.

As a guess, it sounds like Uniform does not like something in the .htaccess file. Possibly a declaration in it that Uniform doesn't support. I don't think I'd call this a Roundcube problem as much as a Uniform problem. You might look through the .htaccess file and see what is in there, and check each line for compatibility with Uniform.
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: Daica on June 28, 2013, 12:44:48 AM
Well I found which part of the .htaccess file that was giving me the 403 error.
When I took it out, I can install and login to roundcube.

However, when I click on COMPOSE and try to send an email, the SEND button does not work.
When I go into settings to change some preferences, none of the buttons work.
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: SKaero on July 01, 2013, 01:56:53 PM
Is there anything in the RoundCube error log? Whats in the JS Console?
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: Daica on July 01, 2013, 05:07:27 PM
There's nothing in the error logs.
I'm just not able to click some of the buttons like SEND. The settings button.
Buttons just doesn't click.

This is the part of the .htaccess file that gives me the 403 error :

Code: [Select]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^favicon\.ico$ skins/larry/images/favicon.ico
# security rules
RewriteRule .git - [F]
RewriteRule ^/?(README(.md)?|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ - [F]
RewriteRule ^/?(SQL|bin) - [F]
</IfModule>

With that in the .htaccess file I get the 403 error.
Without that in the .htaccess file I can install fine but cannot click most of the buttons.
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: SKaero on July 01, 2013, 05:30:34 PM
Whats in the JS Console?
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: Daica on July 01, 2013, 05:34:26 PM
I'll look through it now to see what's in there.
However, when I first installed Roundcube, this was one of the things that was missing :

(http://puu.sh/3sQU8/fa79be7242.png)

Is that required?

EDIT: I can't seem to find the JS console, could you please point me to it?
The logs folder is empty as before
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: SKaero on July 01, 2013, 06:51:09 PM
Intl is optional, what browser are you using?
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: Daica on July 01, 2013, 06:53:28 PM
Google chrome
Also tried it on firefox

Here is the link and a temp demo account so you can see :

removed
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: SKaero on July 01, 2013, 07:10:56 PM
Your web server is forbidding the the js files form loading: http://example.org/program/js/jquery.min.js Since it sounds like your web server can't handle .htaccess files try removing the the .htaccess in the program directory.
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: Daica on July 01, 2013, 07:27:55 PM
What do you mean move the .htaccess into the program directory?
Move the .htaccess in the main folder into the program folder?
There is already another .htaccess in the program folder, what should I do with that one?

EDIT : Also, I found this document here about my web server : http://wiki.uniformserver.com/index.php/Htaccess:_Introduction
It doesn't say anything about not supporting ,htaccess file
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: SKaero on July 01, 2013, 07:29:52 PM
I didn't say move I said to remove it, as in delete it.
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: Daica on July 01, 2013, 07:33:44 PM
Oh I'm sorry I misread that.
I have removed the .htaccess file in the program folder and I am able to click and send emails now.

Would this create any security problem though?

And should I keep the .htaccess file in the main directory without the :

Code: [Select]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^favicon\.ico$ skins/larry/images/favicon.ico
# security rules
RewriteRule .git - [F]
RewriteRule ^/?(README(.md)?|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ - [F]
RewriteRule ^/?(SQL|bin) - [F]
</IfModule>
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: SKaero on July 01, 2013, 08:11:15 PM
It doesn't create a major security problem, I'd just remove all the files that might be a problem (ie bin folder, sql folder, INSTALL, CHANGELOG, and UPGRADING files)
Title: Re: 403 Forbidden | Roundcube 0.9.2 | Windows 8 + Uniform Server
Post by: Daica on July 01, 2013, 08:38:04 PM
Got it!
I'll remove all those folders.

Thank you so much for your help! I was going to stick with AfterLogic Webmail Lite because I couldn't get Roundcube running, but their support is so bad and the Lite features doesn't even have as much as Roundcube does.

I'm glad I'm able to run Roundcube and use it as my main webmail now!