Page 1 of 1

Apache Access Forbidden Error on Windows

PostPosted: 21. November 2014 10:36
by Raafat.Hamzeh
Hi, I'm trying to install ruby on rails and redmine on xampp following this tutorial:

http://nlb-creations.com/2013/06/26/installing-ruby-on-rails-and-redmine-with-xampp-on-windows-7/

On step 7: In your browser, navigate to localhost:3000 where you should see the RoR welcome screen. Its giving me Access Forbidden Error.

This is my setup in httpd.conf:

Listen 3000
LoadModule rewrite_module modules/mod_rewrite.so
#################################
# RUBY SETUP
#################################
<VirtualHost *:3000>
ServerName rails
DocumentRoot "c:/xampp/htdocs/dev-ruby/redmine/public/"
<Directory "c:/xampp/htdocs/dev-ruby/redmine/">
Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny
Require all granted
AddHandler cgi-script .cgi
AddHandler fastcgi-script .fcgi
</Directory>
</VirtualHost>
#################################
# RUBY SETUP
#################################
I tried many solutions but non of them worked. I also deleted .htaccess file but nothing changed. And I noticed that when I change Options ExecCGI FollowSymLinks to Options Indexes an indexes page opens, so what could be the error??
Any ideas please?? I'm desperate please help :(

Re: Apache Access Forbidden Error on Windows

PostPosted: 21. November 2014 14:01
by Nobbie
You applied "rails" as ServerName:

ServerName rails



but you enter "localhost:3000" in your browser?? That does not match.