Apache Access Forbidden Error on Windows

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Apache Access Forbidden Error on Windows

Postby Raafat.Hamzeh » 21. November 2014 10:36

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 :(
Raafat.Hamzeh
 
Posts: 1
Joined: 21. November 2014 10:33
Operating System: Windows 7

Re: Apache Access Forbidden Error on Windows

Postby Nobbie » 21. November 2014 14:01

You applied "rails" as ServerName:

ServerName rails



but you enter "localhost:3000" in your browser?? That does not match.
Nobbie
 
Posts: 8770
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 71 guests