Error403 after switching from 1.7.0 to 1.7.2 ,solved

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

Error403 after switching from 1.7.0 to 1.7.2 ,solved

Postby aadpouw » 23. August 2009 20:14

Hi all,

Today I deïnstalled 1.7.0 and installed 1.7.2 since then I get this:
Toegang veboden(Access denied) Error 403.
For sure I've done all to find the needle in the heystapple that is causing it.

I work with vhosts and on a vista machine, this is what I have:

in my hosts file
127.0.0.1 localhost
::1 localhost
127.0.0.2 example1.local


in my httpd-vhosts.conf file
#=== general host ====
<VirtualHost 127.0.0.1:80>
ServerName localhost
DocumentRoot "D:/xamp/htdocs"
</VirtualHost>
#=== example1.local ====
<VirtualHost 127.0.0.2:80>
ServerName example1.local
DocumentRoot "D:/xamp/htdocs/var/www/example1/public"
ErrorLog mylogs/example1.local-error_log
CustomLog mylogs/example1.local-access_log common
<Directory "D:/xamp/htdocs/var/www/example1/public">
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

I took just one of my hosts and have edited it a bit for this post
Anyhow this was all working great in 1.7.0.
So my question is, what's the issue?

Thanks for any help,
Aad

I just had a look up in my log files and what I see is that it is going to 127.0.0.1 instead of 'in this example, 127.0.0.2
Maybe this will help?

Thanks again,
Aad

I just found that needle and I'm :oops: about it, just a typo!

in my hosts file
127.0.0.1 localhost
::1 localhost
127.0.0.2 example1.local

<VirtualHost 127.0.0.2:80>
ServerName example1.local
DocumentRoot "D:/xampp/htdocs/var/www/example1/public"
ErrorLog mylogs/example1.local-error_log
CustomLog mylogs/example1.local-access_log common
<Directory "D:/xamp/htdocs/var/www/example1/public">
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

With other words, without typo's this is a working example, for that reason I will leave this post on to help others.

Cheers :D
Aad
aadpouw
 
Posts: 8
Joined: 14. September 2008 08:29

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 63 guests