Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: 403 in IE9 and Chrome but not in other browsers |
|
Author |
|
zorori
Joined: 01 Jun 2011 Posts: 2
|
Posted: Wed 01 Jun '11 10:08 Post subject: 403 in IE9 and Chrome but not in other browsers |
|
|
Hello,
I have a script in my docroot I want to deny access from outside the local network, so i added a location for it to apache config like this:
Code: | <VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
DirectoryIndex index.php
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
<Location /mysecretscript.php>
Order deny,allow
deny from all
allow from 192.168.1 127.0.0.1
</Location>
</VirtualHost> |
And it works as expected for almost all browsers i tested (Opera, Firefox, IE6...) but in IE9 and Chrome it gives a 403 error even if browsed from inside local network.
I am at a loss here, so any help or suggestions appreciated. The only thing I could think of is IE9 can somehow obfuscate it's IP address, but this theory doesn't seem too feasible for me
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch |
|
Back to top |
|
bentogoa
Joined: 09 Feb 2007 Posts: 66 Location: GOA
|
Posted: Wed 01 Jun '11 14:47 Post subject: |
|
|
Make sure you are not using a proxy, in internet connection settings, Both IE & Chrome use IE connection manager, while firefox and others have their own. |
|
Back to top |
|
zorori
Joined: 01 Jun 2011 Posts: 2
|
Posted: Thu 02 Jun '11 14:29 Post subject: |
|
|
Your a genius! That's exactly what happened. Thanks |
|
Back to top |
|
|
|
|
|
|