I have a test server and a live server. Both running the same web application. On the test server’s .htaccess file, I have:

order deny,allow
deny from all
allow from (myIPaddress)
<IfModule mod_rewrite.c>
RewriteEngine off

Using this config, I am able to access the application just fine on my test server. But when I apply the exact same setting to my live server, I get error 403 Access Forbidden.

Any ideas?

I’m running opensuse 11.1 and apache2

Have you checked you have entered the correct ip address? If you are running the test server on your local private network, the address will not be the same as your external public one.

(myIPaddress) is my station’s IP address. I am trying to make it so that only my station can access that particular directory.

My station’s address is static. All im doing is copying one .htaccess file from my test server to live server.